Interface IotClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the Amazon Web Services cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.
The service endpoints that expose this API are listed in Amazon Web Services IoT Core Endpoints and Quotas. You must use the endpoint for the region that has the resources you want to access.
The service name used by Amazon Web Services Signature Version 4 to sign the request is: execute-api.
For more information about how IoT works, see the Developer Guide.
For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to Amazon Web Services Services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptCertificateTransfer(Consumer<AcceptCertificateTransferRequest.Builder> acceptCertificateTransferRequest) Accepts a pending certificate transfer.acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest) Accepts a pending certificate transfer.default AddThingToBillingGroupResponseaddThingToBillingGroup(Consumer<AddThingToBillingGroupRequest.Builder> addThingToBillingGroupRequest) Adds a thing to a billing group.default AddThingToBillingGroupResponseaddThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest) Adds a thing to a billing group.default AddThingToThingGroupResponseaddThingToThingGroup(Consumer<AddThingToThingGroupRequest.Builder> addThingToThingGroupRequest) Adds a thing to a thing group.default AddThingToThingGroupResponseaddThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest) Adds a thing to a thing group.associateSbomWithPackageVersion(Consumer<AssociateSbomWithPackageVersionRequest.Builder> associateSbomWithPackageVersionRequest) Associates the selected software bill of materials (SBOM) with a specific software package version.associateSbomWithPackageVersion(AssociateSbomWithPackageVersionRequest associateSbomWithPackageVersionRequest) Associates the selected software bill of materials (SBOM) with a specific software package version.default AssociateTargetsWithJobResponseassociateTargetsWithJob(Consumer<AssociateTargetsWithJobRequest.Builder> associateTargetsWithJobRequest) Associates a group with a continuous job.default AssociateTargetsWithJobResponseassociateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest) Associates a group with a continuous job.default AttachPolicyResponseattachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest) Attaches the specified policy to the specified principal (certificate or other credential).default AttachPolicyResponseattachPolicy(AttachPolicyRequest attachPolicyRequest) Attaches the specified policy to the specified principal (certificate or other credential).default AttachSecurityProfileResponseattachSecurityProfile(Consumer<AttachSecurityProfileRequest.Builder> attachSecurityProfileRequest) Associates a Device Defender security profile with a thing group or this account.default AttachSecurityProfileResponseattachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest) Associates a Device Defender security profile with a thing group or this account.default AttachThingPrincipalResponseattachThingPrincipal(Consumer<AttachThingPrincipalRequest.Builder> attachThingPrincipalRequest) Attaches the specified principal to the specified thing.default AttachThingPrincipalResponseattachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest) Attaches the specified principal to the specified thing.static IotClientBuilderbuilder()Create a builder that can be used to configure and create aIotClient.cancelAuditMitigationActionsTask(Consumer<CancelAuditMitigationActionsTaskRequest.Builder> cancelAuditMitigationActionsTaskRequest) Cancels a mitigation action task that is in progress.cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest) Cancels a mitigation action task that is in progress.default CancelAuditTaskResponsecancelAuditTask(Consumer<CancelAuditTaskRequest.Builder> cancelAuditTaskRequest) Cancels an audit that is in progress.default CancelAuditTaskResponsecancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest) Cancels an audit that is in progress.cancelCertificateTransfer(Consumer<CancelCertificateTransferRequest.Builder> cancelCertificateTransferRequest) Cancels a pending transfer for the specified certificate.cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest) Cancels a pending transfer for the specified certificate.cancelDetectMitigationActionsTask(Consumer<CancelDetectMitigationActionsTaskRequest.Builder> cancelDetectMitigationActionsTaskRequest) Cancels a Device Defender ML Detect mitigation action.cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest) Cancels a Device Defender ML Detect mitigation action.default CancelJobResponsecancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) Cancels a job.default CancelJobResponsecancelJob(CancelJobRequest cancelJobRequest) Cancels a job.default CancelJobExecutionResponsecancelJobExecution(Consumer<CancelJobExecutionRequest.Builder> cancelJobExecutionRequest) Cancels the execution of a job for a given thing.default CancelJobExecutionResponsecancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest) Cancels the execution of a job for a given thing.default ClearDefaultAuthorizerResponseClears the default authorizer.default ClearDefaultAuthorizerResponseclearDefaultAuthorizer(Consumer<ClearDefaultAuthorizerRequest.Builder> clearDefaultAuthorizerRequest) Clears the default authorizer.default ClearDefaultAuthorizerResponseclearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest) Clears the default authorizer.confirmTopicRuleDestination(Consumer<ConfirmTopicRuleDestinationRequest.Builder> confirmTopicRuleDestinationRequest) Confirms a topic rule destination.confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest) Confirms a topic rule destination.static IotClientcreate()Create aIotClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAuditSuppressionResponsecreateAuditSuppression(Consumer<CreateAuditSuppressionRequest.Builder> createAuditSuppressionRequest) Creates a Device Defender audit suppression.default CreateAuditSuppressionResponsecreateAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest) Creates a Device Defender audit suppression.default CreateAuthorizerResponsecreateAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) Creates an authorizer.default CreateAuthorizerResponsecreateAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) Creates an authorizer.default CreateBillingGroupResponsecreateBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) Creates a billing group.default CreateBillingGroupResponsecreateBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) Creates a billing group.default CreateCertificateFromCsrResponsecreateCertificateFromCsr(Consumer<CreateCertificateFromCsrRequest.Builder> createCertificateFromCsrRequest) Creates an X.509 certificate using the specified certificate signing request.default CreateCertificateFromCsrResponsecreateCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest) Creates an X.509 certificate using the specified certificate signing request.createCertificateProvider(Consumer<CreateCertificateProviderRequest.Builder> createCertificateProviderRequest) Creates an Amazon Web Services IoT Core certificate provider.createCertificateProvider(CreateCertificateProviderRequest createCertificateProviderRequest) Creates an Amazon Web Services IoT Core certificate provider.default CreateCustomMetricResponsecreateCustomMetric(Consumer<CreateCustomMetricRequest.Builder> createCustomMetricRequest) Use this API to define a Custom Metric published by your devices to Device Defender.default CreateCustomMetricResponsecreateCustomMetric(CreateCustomMetricRequest createCustomMetricRequest) Use this API to define a Custom Metric published by your devices to Device Defender.default CreateDimensionResponsecreateDimension(Consumer<CreateDimensionRequest.Builder> createDimensionRequest) Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender.default CreateDimensionResponsecreateDimension(CreateDimensionRequest createDimensionRequest) Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender.createDomainConfiguration(Consumer<CreateDomainConfigurationRequest.Builder> createDomainConfigurationRequest) Creates a domain configuration.createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest) Creates a domain configuration.default CreateDynamicThingGroupResponsecreateDynamicThingGroup(Consumer<CreateDynamicThingGroupRequest.Builder> createDynamicThingGroupRequest) Creates a dynamic thing group.default CreateDynamicThingGroupResponsecreateDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest) Creates a dynamic thing group.default CreateFleetMetricResponsecreateFleetMetric(Consumer<CreateFleetMetricRequest.Builder> createFleetMetricRequest) Creates a fleet metric.default CreateFleetMetricResponsecreateFleetMetric(CreateFleetMetricRequest createFleetMetricRequest) Creates a fleet metric.default CreateJobResponsecreateJob(Consumer<CreateJobRequest.Builder> createJobRequest) Creates a job.default CreateJobResponsecreateJob(CreateJobRequest createJobRequest) Creates a job.default CreateJobTemplateResponsecreateJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest) Creates a job template.default CreateJobTemplateResponsecreateJobTemplate(CreateJobTemplateRequest createJobTemplateRequest) Creates a job template.default CreateKeysAndCertificateResponseCreates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.default CreateKeysAndCertificateResponsecreateKeysAndCertificate(Consumer<CreateKeysAndCertificateRequest.Builder> createKeysAndCertificateRequest) Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.default CreateKeysAndCertificateResponsecreateKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest) Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key.default CreateMitigationActionResponsecreateMitigationAction(Consumer<CreateMitigationActionRequest.Builder> createMitigationActionRequest) Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.default CreateMitigationActionResponsecreateMitigationAction(CreateMitigationActionRequest createMitigationActionRequest) Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask.default CreateOtaUpdateResponsecreateOTAUpdate(Consumer<CreateOtaUpdateRequest.Builder> createOtaUpdateRequest) Creates an IoT OTA update on a target group of things or groups.default CreateOtaUpdateResponsecreateOTAUpdate(CreateOtaUpdateRequest createOtaUpdateRequest) Creates an IoT OTA update on a target group of things or groups.default CreatePackageResponsecreatePackage(Consumer<CreatePackageRequest.Builder> createPackageRequest) Creates an IoT software package that can be deployed to your fleet.default CreatePackageResponsecreatePackage(CreatePackageRequest createPackageRequest) Creates an IoT software package that can be deployed to your fleet.default CreatePackageVersionResponsecreatePackageVersion(Consumer<CreatePackageVersionRequest.Builder> createPackageVersionRequest) Creates a new version for an existing IoT software package.default CreatePackageVersionResponsecreatePackageVersion(CreatePackageVersionRequest createPackageVersionRequest) Creates a new version for an existing IoT software package.default CreatePolicyResponsecreatePolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) Creates an IoT policy.default CreatePolicyResponsecreatePolicy(CreatePolicyRequest createPolicyRequest) Creates an IoT policy.default CreatePolicyVersionResponsecreatePolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest) Creates a new version of the specified IoT policy.default CreatePolicyVersionResponsecreatePolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest) Creates a new version of the specified IoT policy.default CreateProvisioningClaimResponsecreateProvisioningClaim(Consumer<CreateProvisioningClaimRequest.Builder> createProvisioningClaimRequest) Creates a provisioning claim.default CreateProvisioningClaimResponsecreateProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest) Creates a provisioning claim.createProvisioningTemplate(Consumer<CreateProvisioningTemplateRequest.Builder> createProvisioningTemplateRequest) Creates a provisioning template.createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest) Creates a provisioning template.createProvisioningTemplateVersion(Consumer<CreateProvisioningTemplateVersionRequest.Builder> createProvisioningTemplateVersionRequest) Creates a new version of a provisioning template.createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest) Creates a new version of a provisioning template.default CreateRoleAliasResponsecreateRoleAlias(Consumer<CreateRoleAliasRequest.Builder> createRoleAliasRequest) Creates a role alias.default CreateRoleAliasResponsecreateRoleAlias(CreateRoleAliasRequest createRoleAliasRequest) Creates a role alias.default CreateScheduledAuditResponsecreateScheduledAudit(Consumer<CreateScheduledAuditRequest.Builder> createScheduledAuditRequest) Creates a scheduled audit that is run at a specified time interval.default CreateScheduledAuditResponsecreateScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest) Creates a scheduled audit that is run at a specified time interval.default CreateSecurityProfileResponsecreateSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest) Creates a Device Defender security profile.default CreateSecurityProfileResponsecreateSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) Creates a Device Defender security profile.default CreateStreamResponsecreateStream(Consumer<CreateStreamRequest.Builder> createStreamRequest) Creates a stream for delivering one or more large files in chunks over MQTT.default CreateStreamResponsecreateStream(CreateStreamRequest createStreamRequest) Creates a stream for delivering one or more large files in chunks over MQTT.default CreateThingResponsecreateThing(Consumer<CreateThingRequest.Builder> createThingRequest) Creates a thing record in the registry.default CreateThingResponsecreateThing(CreateThingRequest createThingRequest) Creates a thing record in the registry.default CreateThingGroupResponsecreateThingGroup(Consumer<CreateThingGroupRequest.Builder> createThingGroupRequest) Create a thing group.default CreateThingGroupResponsecreateThingGroup(CreateThingGroupRequest createThingGroupRequest) Create a thing group.default CreateThingTypeResponsecreateThingType(Consumer<CreateThingTypeRequest.Builder> createThingTypeRequest) Creates a new thing type.default CreateThingTypeResponsecreateThingType(CreateThingTypeRequest createThingTypeRequest) Creates a new thing type.default CreateTopicRuleResponsecreateTopicRule(Consumer<CreateTopicRuleRequest.Builder> createTopicRuleRequest) Creates a rule.default CreateTopicRuleResponsecreateTopicRule(CreateTopicRuleRequest createTopicRuleRequest) Creates a rule.createTopicRuleDestination(Consumer<CreateTopicRuleDestinationRequest.Builder> createTopicRuleDestinationRequest) Creates a topic rule destination.createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest) Creates a topic rule destination.Restores the default settings for Device Defender audits for this account.deleteAccountAuditConfiguration(Consumer<DeleteAccountAuditConfigurationRequest.Builder> deleteAccountAuditConfigurationRequest) Restores the default settings for Device Defender audits for this account.deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest) Restores the default settings for Device Defender audits for this account.default DeleteAuditSuppressionResponsedeleteAuditSuppression(Consumer<DeleteAuditSuppressionRequest.Builder> deleteAuditSuppressionRequest) Deletes a Device Defender audit suppression.default DeleteAuditSuppressionResponsedeleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest) Deletes a Device Defender audit suppression.default DeleteAuthorizerResponsedeleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) Deletes an authorizer.default DeleteAuthorizerResponsedeleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) Deletes an authorizer.default DeleteBillingGroupResponsedeleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) Deletes the billing group.default DeleteBillingGroupResponsedeleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) Deletes the billing group.default DeleteCaCertificateResponsedeleteCACertificate(Consumer<DeleteCaCertificateRequest.Builder> deleteCaCertificateRequest) Deletes a registered CA certificate.default DeleteCaCertificateResponsedeleteCACertificate(DeleteCaCertificateRequest deleteCaCertificateRequest) Deletes a registered CA certificate.default DeleteCertificateResponsedeleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) Deletes the specified certificate.default DeleteCertificateResponsedeleteCertificate(DeleteCertificateRequest deleteCertificateRequest) Deletes the specified certificate.deleteCertificateProvider(Consumer<DeleteCertificateProviderRequest.Builder> deleteCertificateProviderRequest) Deletes a certificate provider.deleteCertificateProvider(DeleteCertificateProviderRequest deleteCertificateProviderRequest) Deletes a certificate provider.default DeleteCustomMetricResponsedeleteCustomMetric(Consumer<DeleteCustomMetricRequest.Builder> deleteCustomMetricRequest) Deletes a Device Defender detect custom metric.default DeleteCustomMetricResponsedeleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest) Deletes a Device Defender detect custom metric.default DeleteDimensionResponsedeleteDimension(Consumer<DeleteDimensionRequest.Builder> deleteDimensionRequest) Removes the specified dimension from your Amazon Web Services accounts.default DeleteDimensionResponsedeleteDimension(DeleteDimensionRequest deleteDimensionRequest) Removes the specified dimension from your Amazon Web Services accounts.deleteDomainConfiguration(Consumer<DeleteDomainConfigurationRequest.Builder> deleteDomainConfigurationRequest) Deletes the specified domain configuration.deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest) Deletes the specified domain configuration.default DeleteDynamicThingGroupResponsedeleteDynamicThingGroup(Consumer<DeleteDynamicThingGroupRequest.Builder> deleteDynamicThingGroupRequest) Deletes a dynamic thing group.default DeleteDynamicThingGroupResponsedeleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest) Deletes a dynamic thing group.default DeleteFleetMetricResponsedeleteFleetMetric(Consumer<DeleteFleetMetricRequest.Builder> deleteFleetMetricRequest) Deletes the specified fleet metric.default DeleteFleetMetricResponsedeleteFleetMetric(DeleteFleetMetricRequest deleteFleetMetricRequest) Deletes the specified fleet metric.default DeleteJobResponsedeleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) Deletes a job and its related job executions.default DeleteJobResponsedeleteJob(DeleteJobRequest deleteJobRequest) Deletes a job and its related job executions.default DeleteJobExecutionResponsedeleteJobExecution(Consumer<DeleteJobExecutionRequest.Builder> deleteJobExecutionRequest) Deletes a job execution.default DeleteJobExecutionResponsedeleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest) Deletes a job execution.default DeleteJobTemplateResponsedeleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest) Deletes the specified job template.default DeleteJobTemplateResponsedeleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest) Deletes the specified job template.default DeleteMitigationActionResponsedeleteMitigationAction(Consumer<DeleteMitigationActionRequest.Builder> deleteMitigationActionRequest) Deletes a defined mitigation action from your Amazon Web Services accounts.default DeleteMitigationActionResponsedeleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest) Deletes a defined mitigation action from your Amazon Web Services accounts.default DeleteOtaUpdateResponsedeleteOTAUpdate(Consumer<DeleteOtaUpdateRequest.Builder> deleteOtaUpdateRequest) Delete an OTA update.default DeleteOtaUpdateResponsedeleteOTAUpdate(DeleteOtaUpdateRequest deleteOtaUpdateRequest) Delete an OTA update.default DeletePackageResponsedeletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest) Deletes a specific version from a software package.default DeletePackageResponsedeletePackage(DeletePackageRequest deletePackageRequest) Deletes a specific version from a software package.default DeletePackageVersionResponsedeletePackageVersion(Consumer<DeletePackageVersionRequest.Builder> deletePackageVersionRequest) Deletes a specific version from a software package.default DeletePackageVersionResponsedeletePackageVersion(DeletePackageVersionRequest deletePackageVersionRequest) Deletes a specific version from a software package.default DeletePolicyResponsedeletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) Deletes the specified policy.default DeletePolicyResponsedeletePolicy(DeletePolicyRequest deletePolicyRequest) Deletes the specified policy.default DeletePolicyVersionResponsedeletePolicyVersion(Consumer<DeletePolicyVersionRequest.Builder> deletePolicyVersionRequest) Deletes the specified version of the specified policy.default DeletePolicyVersionResponsedeletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest) Deletes the specified version of the specified policy.deleteProvisioningTemplate(Consumer<DeleteProvisioningTemplateRequest.Builder> deleteProvisioningTemplateRequest) Deletes a provisioning template.deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest) Deletes a provisioning template.deleteProvisioningTemplateVersion(Consumer<DeleteProvisioningTemplateVersionRequest.Builder> deleteProvisioningTemplateVersionRequest) Deletes a provisioning template version.deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest) Deletes a provisioning template version.default DeleteRegistrationCodeResponseDeletes a CA certificate registration code.default DeleteRegistrationCodeResponsedeleteRegistrationCode(Consumer<DeleteRegistrationCodeRequest.Builder> deleteRegistrationCodeRequest) Deletes a CA certificate registration code.default DeleteRegistrationCodeResponsedeleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest) Deletes a CA certificate registration code.default DeleteRoleAliasResponsedeleteRoleAlias(Consumer<DeleteRoleAliasRequest.Builder> deleteRoleAliasRequest) Deletes a role aliasdefault DeleteRoleAliasResponsedeleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest) Deletes a role aliasdefault DeleteScheduledAuditResponsedeleteScheduledAudit(Consumer<DeleteScheduledAuditRequest.Builder> deleteScheduledAuditRequest) Deletes a scheduled audit.default DeleteScheduledAuditResponsedeleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest) Deletes a scheduled audit.default DeleteSecurityProfileResponsedeleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest) Deletes a Device Defender security profile.default DeleteSecurityProfileResponsedeleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) Deletes a Device Defender security profile.default DeleteStreamResponsedeleteStream(Consumer<DeleteStreamRequest.Builder> deleteStreamRequest) Deletes a stream.default DeleteStreamResponsedeleteStream(DeleteStreamRequest deleteStreamRequest) Deletes a stream.default DeleteThingResponsedeleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest) Deletes the specified thing.default DeleteThingResponsedeleteThing(DeleteThingRequest deleteThingRequest) Deletes the specified thing.default DeleteThingGroupResponsedeleteThingGroup(Consumer<DeleteThingGroupRequest.Builder> deleteThingGroupRequest) Deletes a thing group.default DeleteThingGroupResponsedeleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest) Deletes a thing group.default DeleteThingTypeResponsedeleteThingType(Consumer<DeleteThingTypeRequest.Builder> deleteThingTypeRequest) Deletes the specified thing type.default DeleteThingTypeResponsedeleteThingType(DeleteThingTypeRequest deleteThingTypeRequest) Deletes the specified thing type.default DeleteTopicRuleResponsedeleteTopicRule(Consumer<DeleteTopicRuleRequest.Builder> deleteTopicRuleRequest) Deletes the rule.default DeleteTopicRuleResponsedeleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest) Deletes the rule.deleteTopicRuleDestination(Consumer<DeleteTopicRuleDestinationRequest.Builder> deleteTopicRuleDestinationRequest) Deletes a topic rule destination.deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest) Deletes a topic rule destination.default DeleteV2LoggingLevelResponsedeleteV2LoggingLevel(Consumer<DeleteV2LoggingLevelRequest.Builder> deleteV2LoggingLevelRequest) Deletes a logging level.default DeleteV2LoggingLevelResponsedeleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest) Deletes a logging level.default DeprecateThingTypeResponsedeprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest) Deprecates a thing type.default DeprecateThingTypeResponsedeprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest) Deprecates a thing type.Gets information about the Device Defender audit settings for this account.describeAccountAuditConfiguration(Consumer<DescribeAccountAuditConfigurationRequest.Builder> describeAccountAuditConfigurationRequest) Gets information about the Device Defender audit settings for this account.describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest) Gets information about the Device Defender audit settings for this account.default DescribeAuditFindingResponsedescribeAuditFinding(Consumer<DescribeAuditFindingRequest.Builder> describeAuditFindingRequest) Gets information about a single audit finding.default DescribeAuditFindingResponsedescribeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest) Gets information about a single audit finding.describeAuditMitigationActionsTask(Consumer<DescribeAuditMitigationActionsTaskRequest.Builder> describeAuditMitigationActionsTaskRequest) Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings.describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest) Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings.default DescribeAuditSuppressionResponsedescribeAuditSuppression(Consumer<DescribeAuditSuppressionRequest.Builder> describeAuditSuppressionRequest) Gets information about a Device Defender audit suppression.default DescribeAuditSuppressionResponsedescribeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest) Gets information about a Device Defender audit suppression.default DescribeAuditTaskResponsedescribeAuditTask(Consumer<DescribeAuditTaskRequest.Builder> describeAuditTaskRequest) Gets information about a Device Defender audit.default DescribeAuditTaskResponsedescribeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest) Gets information about a Device Defender audit.default DescribeAuthorizerResponsedescribeAuthorizer(Consumer<DescribeAuthorizerRequest.Builder> describeAuthorizerRequest) Describes an authorizer.default DescribeAuthorizerResponsedescribeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest) Describes an authorizer.default DescribeBillingGroupResponsedescribeBillingGroup(Consumer<DescribeBillingGroupRequest.Builder> describeBillingGroupRequest) Returns information about a billing group.default DescribeBillingGroupResponsedescribeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest) Returns information about a billing group.default DescribeCaCertificateResponsedescribeCACertificate(Consumer<DescribeCaCertificateRequest.Builder> describeCaCertificateRequest) Describes a registered CA certificate.default DescribeCaCertificateResponsedescribeCACertificate(DescribeCaCertificateRequest describeCaCertificateRequest) Describes a registered CA certificate.default DescribeCertificateResponsedescribeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest) Gets information about the specified certificate.default DescribeCertificateResponsedescribeCertificate(DescribeCertificateRequest describeCertificateRequest) Gets information about the specified certificate.describeCertificateProvider(Consumer<DescribeCertificateProviderRequest.Builder> describeCertificateProviderRequest) Describes a certificate provider.describeCertificateProvider(DescribeCertificateProviderRequest describeCertificateProviderRequest) Describes a certificate provider.default DescribeCustomMetricResponsedescribeCustomMetric(Consumer<DescribeCustomMetricRequest.Builder> describeCustomMetricRequest) Gets information about a Device Defender detect custom metric.default DescribeCustomMetricResponsedescribeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest) Gets information about a Device Defender detect custom metric.describeDefaultAuthorizer(Consumer<DescribeDefaultAuthorizerRequest.Builder> describeDefaultAuthorizerRequest) Describes the default authorizer.describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest) Describes the default authorizer.describeDetectMitigationActionsTask(Consumer<DescribeDetectMitigationActionsTaskRequest.Builder> describeDetectMitigationActionsTaskRequest) Gets information about a Device Defender ML Detect mitigation action.describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest) Gets information about a Device Defender ML Detect mitigation action.default DescribeDimensionResponsedescribeDimension(Consumer<DescribeDimensionRequest.Builder> describeDimensionRequest) Provides details about a dimension that is defined in your Amazon Web Services accounts.default DescribeDimensionResponsedescribeDimension(DescribeDimensionRequest describeDimensionRequest) Provides details about a dimension that is defined in your Amazon Web Services accounts.describeDomainConfiguration(Consumer<DescribeDomainConfigurationRequest.Builder> describeDomainConfigurationRequest) Gets summary information about a domain configuration.describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest) Gets summary information about a domain configuration.default DescribeEndpointResponseReturns or creates a unique endpoint specific to the Amazon Web Services account making the call.default DescribeEndpointResponsedescribeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest) Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.default DescribeEndpointResponsedescribeEndpoint(DescribeEndpointRequest describeEndpointRequest) Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.Describes event configurations.describeEventConfigurations(Consumer<DescribeEventConfigurationsRequest.Builder> describeEventConfigurationsRequest) Describes event configurations.describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest) Describes event configurations.default DescribeFleetMetricResponsedescribeFleetMetric(Consumer<DescribeFleetMetricRequest.Builder> describeFleetMetricRequest) Gets information about the specified fleet metric.default DescribeFleetMetricResponsedescribeFleetMetric(DescribeFleetMetricRequest describeFleetMetricRequest) Gets information about the specified fleet metric.default DescribeIndexResponsedescribeIndex(Consumer<DescribeIndexRequest.Builder> describeIndexRequest) Describes a search index.default DescribeIndexResponsedescribeIndex(DescribeIndexRequest describeIndexRequest) Describes a search index.default DescribeJobResponsedescribeJob(Consumer<DescribeJobRequest.Builder> describeJobRequest) Describes a job.default DescribeJobResponsedescribeJob(DescribeJobRequest describeJobRequest) Describes a job.default DescribeJobExecutionResponsedescribeJobExecution(Consumer<DescribeJobExecutionRequest.Builder> describeJobExecutionRequest) Describes a job execution.default DescribeJobExecutionResponsedescribeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest) Describes a job execution.default DescribeJobTemplateResponsedescribeJobTemplate(Consumer<DescribeJobTemplateRequest.Builder> describeJobTemplateRequest) Returns information about a job template.default DescribeJobTemplateResponsedescribeJobTemplate(DescribeJobTemplateRequest describeJobTemplateRequest) Returns information about a job template.describeManagedJobTemplate(Consumer<DescribeManagedJobTemplateRequest.Builder> describeManagedJobTemplateRequest) View details of a managed job template.describeManagedJobTemplate(DescribeManagedJobTemplateRequest describeManagedJobTemplateRequest) View details of a managed job template.default DescribeMitigationActionResponsedescribeMitigationAction(Consumer<DescribeMitigationActionRequest.Builder> describeMitigationActionRequest) Gets information about a mitigation action.default DescribeMitigationActionResponsedescribeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest) Gets information about a mitigation action.describeProvisioningTemplate(Consumer<DescribeProvisioningTemplateRequest.Builder> describeProvisioningTemplateRequest) Returns information about a provisioning template.describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest) Returns information about a provisioning template.describeProvisioningTemplateVersion(Consumer<DescribeProvisioningTemplateVersionRequest.Builder> describeProvisioningTemplateVersionRequest) Returns information about a provisioning template version.describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest) Returns information about a provisioning template version.default DescribeRoleAliasResponsedescribeRoleAlias(Consumer<DescribeRoleAliasRequest.Builder> describeRoleAliasRequest) Describes a role alias.default DescribeRoleAliasResponsedescribeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest) Describes a role alias.default DescribeScheduledAuditResponsedescribeScheduledAudit(Consumer<DescribeScheduledAuditRequest.Builder> describeScheduledAuditRequest) Gets information about a scheduled audit.default DescribeScheduledAuditResponsedescribeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest) Gets information about a scheduled audit.default DescribeSecurityProfileResponsedescribeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest) Gets information about a Device Defender security profile.default DescribeSecurityProfileResponsedescribeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) Gets information about a Device Defender security profile.default DescribeStreamResponsedescribeStream(Consumer<DescribeStreamRequest.Builder> describeStreamRequest) Gets information about a stream.default DescribeStreamResponsedescribeStream(DescribeStreamRequest describeStreamRequest) Gets information about a stream.default DescribeThingResponsedescribeThing(Consumer<DescribeThingRequest.Builder> describeThingRequest) Gets information about the specified thing.default DescribeThingResponsedescribeThing(DescribeThingRequest describeThingRequest) Gets information about the specified thing.default DescribeThingGroupResponsedescribeThingGroup(Consumer<DescribeThingGroupRequest.Builder> describeThingGroupRequest) Describe a thing group.default DescribeThingGroupResponsedescribeThingGroup(DescribeThingGroupRequest describeThingGroupRequest) Describe a thing group.describeThingRegistrationTask(Consumer<DescribeThingRegistrationTaskRequest.Builder> describeThingRegistrationTaskRequest) Describes a bulk thing provisioning task.describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest) Describes a bulk thing provisioning task.default DescribeThingTypeResponsedescribeThingType(Consumer<DescribeThingTypeRequest.Builder> describeThingTypeRequest) Gets information about the specified thing type.default DescribeThingTypeResponsedescribeThingType(DescribeThingTypeRequest describeThingTypeRequest) Gets information about the specified thing type.default DetachPolicyResponsedetachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest) Detaches a policy from the specified target.default DetachPolicyResponsedetachPolicy(DetachPolicyRequest detachPolicyRequest) Detaches a policy from the specified target.default DetachSecurityProfileResponsedetachSecurityProfile(Consumer<DetachSecurityProfileRequest.Builder> detachSecurityProfileRequest) Disassociates a Device Defender security profile from a thing group or from this account.default DetachSecurityProfileResponsedetachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest) Disassociates a Device Defender security profile from a thing group or from this account.default DetachThingPrincipalResponsedetachThingPrincipal(Consumer<DetachThingPrincipalRequest.Builder> detachThingPrincipalRequest) Detaches the specified principal from the specified thing.default DetachThingPrincipalResponsedetachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest) Detaches the specified principal from the specified thing.default DisableTopicRuleResponsedisableTopicRule(Consumer<DisableTopicRuleRequest.Builder> disableTopicRuleRequest) Disables the rule.default DisableTopicRuleResponsedisableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest) Disables the rule.disassociateSbomFromPackageVersion(Consumer<DisassociateSbomFromPackageVersionRequest.Builder> disassociateSbomFromPackageVersionRequest) Disassociates the selected software bill of materials (SBOM) from a specific software package version.disassociateSbomFromPackageVersion(DisassociateSbomFromPackageVersionRequest disassociateSbomFromPackageVersionRequest) Disassociates the selected software bill of materials (SBOM) from a specific software package version.default EnableTopicRuleResponseenableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest) Enables the rule.default EnableTopicRuleResponseenableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest) Enables the rule.getBehaviorModelTrainingSummaries(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest) Returns a Device Defender's ML Detect Security Profile training model's status.getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) Returns a Device Defender's ML Detect Security Profile training model's status.getBehaviorModelTrainingSummariesPaginator(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest) This is a variant ofgetBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)operation.getBehaviorModelTrainingSummariesPaginator(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) This is a variant ofgetBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)operation.default GetBucketsAggregationResponsegetBucketsAggregation(Consumer<GetBucketsAggregationRequest.Builder> getBucketsAggregationRequest) Aggregates on indexed data with search queries pertaining to particular fields.default GetBucketsAggregationResponsegetBucketsAggregation(GetBucketsAggregationRequest getBucketsAggregationRequest) Aggregates on indexed data with search queries pertaining to particular fields.default GetCardinalityResponsegetCardinality(Consumer<GetCardinalityRequest.Builder> getCardinalityRequest) Returns the approximate count of unique values that match the query.default GetCardinalityResponsegetCardinality(GetCardinalityRequest getCardinalityRequest) Returns the approximate count of unique values that match the query.default GetEffectivePoliciesResponsegetEffectivePolicies(Consumer<GetEffectivePoliciesRequest.Builder> getEffectivePoliciesRequest) Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.default GetEffectivePoliciesResponsegetEffectivePolicies(GetEffectivePoliciesRequest getEffectivePoliciesRequest) Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.default GetIndexingConfigurationResponseGets the indexing configuration.default GetIndexingConfigurationResponsegetIndexingConfiguration(Consumer<GetIndexingConfigurationRequest.Builder> getIndexingConfigurationRequest) Gets the indexing configuration.default GetIndexingConfigurationResponsegetIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest) Gets the indexing configuration.default GetJobDocumentResponsegetJobDocument(Consumer<GetJobDocumentRequest.Builder> getJobDocumentRequest) Gets a job document.default GetJobDocumentResponsegetJobDocument(GetJobDocumentRequest getJobDocumentRequest) Gets a job document.default GetLoggingOptionsResponseGets the logging options.default GetLoggingOptionsResponsegetLoggingOptions(Consumer<GetLoggingOptionsRequest.Builder> getLoggingOptionsRequest) Gets the logging options.default GetLoggingOptionsResponsegetLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest) Gets the logging options.default GetOtaUpdateResponsegetOTAUpdate(Consumer<GetOtaUpdateRequest.Builder> getOtaUpdateRequest) Gets an OTA update.default GetOtaUpdateResponsegetOTAUpdate(GetOtaUpdateRequest getOtaUpdateRequest) Gets an OTA update.default GetPackageResponsegetPackage(Consumer<GetPackageRequest.Builder> getPackageRequest) Gets information about the specified software package.default GetPackageResponsegetPackage(GetPackageRequest getPackageRequest) Gets information about the specified software package.default GetPackageConfigurationResponsegetPackageConfiguration(Consumer<GetPackageConfigurationRequest.Builder> getPackageConfigurationRequest) Gets information about the specified software package's configuration.default GetPackageConfigurationResponsegetPackageConfiguration(GetPackageConfigurationRequest getPackageConfigurationRequest) Gets information about the specified software package's configuration.default GetPackageVersionResponsegetPackageVersion(Consumer<GetPackageVersionRequest.Builder> getPackageVersionRequest) Gets information about the specified package version.default GetPackageVersionResponsegetPackageVersion(GetPackageVersionRequest getPackageVersionRequest) Gets information about the specified package version.default GetPercentilesResponsegetPercentiles(Consumer<GetPercentilesRequest.Builder> getPercentilesRequest) Groups the aggregated values that match the query into percentile groupings.default GetPercentilesResponsegetPercentiles(GetPercentilesRequest getPercentilesRequest) Groups the aggregated values that match the query into percentile groupings.default GetPolicyResponsegetPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) Gets information about the specified policy with the policy document of the default version.default GetPolicyResponsegetPolicy(GetPolicyRequest getPolicyRequest) Gets information about the specified policy with the policy document of the default version.default GetPolicyVersionResponsegetPolicyVersion(Consumer<GetPolicyVersionRequest.Builder> getPolicyVersionRequest) Gets information about the specified policy version.default GetPolicyVersionResponsegetPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest) Gets information about the specified policy version.default GetRegistrationCodeResponseGets a registration code used to register a CA certificate with IoT.default GetRegistrationCodeResponsegetRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest) Gets a registration code used to register a CA certificate with IoT.default GetRegistrationCodeResponsegetRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest) Gets a registration code used to register a CA certificate with IoT.default GetStatisticsResponsegetStatistics(Consumer<GetStatisticsRequest.Builder> getStatisticsRequest) Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field.default GetStatisticsResponsegetStatistics(GetStatisticsRequest getStatisticsRequest) Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field.default GetTopicRuleResponsegetTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest) Gets information about the rule.default GetTopicRuleResponsegetTopicRule(GetTopicRuleRequest getTopicRuleRequest) Gets information about the rule.default GetTopicRuleDestinationResponsegetTopicRuleDestination(Consumer<GetTopicRuleDestinationRequest.Builder> getTopicRuleDestinationRequest) Gets information about a topic rule destination.default GetTopicRuleDestinationResponsegetTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest) Gets information about a topic rule destination.default GetV2LoggingOptionsResponsegetV2LoggingOptions(Consumer<GetV2LoggingOptionsRequest.Builder> getV2LoggingOptionsRequest) Gets the fine grained logging options.default GetV2LoggingOptionsResponsegetV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest) Gets the fine grained logging options.default ListActiveViolationsResponseLists the active violations for a given Device Defender security profile.default ListActiveViolationsResponselistActiveViolations(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest) Lists the active violations for a given Device Defender security profile.default ListActiveViolationsResponselistActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest) Lists the active violations for a given Device Defender security profile.default ListActiveViolationsIterableThis is a variant oflistActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation.default ListActiveViolationsIterablelistActiveViolationsPaginator(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest) This is a variant oflistActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation.default ListActiveViolationsIterablelistActiveViolationsPaginator(ListActiveViolationsRequest listActiveViolationsRequest) This is a variant oflistActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation.default ListAttachedPoliciesResponselistAttachedPolicies(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest) Lists the policies attached to the specified thing group.default ListAttachedPoliciesResponselistAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest) Lists the policies attached to the specified thing group.default ListAttachedPoliciesIterablelistAttachedPoliciesPaginator(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest) This is a variant oflistAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)operation.default ListAttachedPoliciesIterablelistAttachedPoliciesPaginator(ListAttachedPoliciesRequest listAttachedPoliciesRequest) This is a variant oflistAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)operation.default ListAuditFindingsResponselistAuditFindings(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest) Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period.default ListAuditFindingsResponselistAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest) Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period.default ListAuditFindingsIterablelistAuditFindingsPaginator(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest) This is a variant oflistAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)operation.default ListAuditFindingsIterablelistAuditFindingsPaginator(ListAuditFindingsRequest listAuditFindingsRequest) This is a variant oflistAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)operation.listAuditMitigationActionsExecutions(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest) Gets the status of audit mitigation action tasks that were executed.listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) Gets the status of audit mitigation action tasks that were executed.listAuditMitigationActionsExecutionsPaginator(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest) This is a variant oflistAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)operation.listAuditMitigationActionsExecutionsPaginator(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) This is a variant oflistAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)operation.listAuditMitigationActionsTasks(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest) Gets a list of audit mitigation action tasks that match the specified filters.listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) Gets a list of audit mitigation action tasks that match the specified filters.listAuditMitigationActionsTasksPaginator(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest) This is a variant oflistAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)operation.listAuditMitigationActionsTasksPaginator(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) This is a variant oflistAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)operation.default ListAuditSuppressionsResponselistAuditSuppressions(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest) Lists your Device Defender audit listings.default ListAuditSuppressionsResponselistAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest) Lists your Device Defender audit listings.default ListAuditSuppressionsIterablelistAuditSuppressionsPaginator(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest) This is a variant oflistAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)operation.default ListAuditSuppressionsIterablelistAuditSuppressionsPaginator(ListAuditSuppressionsRequest listAuditSuppressionsRequest) This is a variant oflistAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)operation.default ListAuditTasksResponselistAuditTasks(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest) Lists the Device Defender audits that have been performed during a given time period.default ListAuditTasksResponselistAuditTasks(ListAuditTasksRequest listAuditTasksRequest) Lists the Device Defender audits that have been performed during a given time period.default ListAuditTasksIterablelistAuditTasksPaginator(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest) This is a variant oflistAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)operation.default ListAuditTasksIterablelistAuditTasksPaginator(ListAuditTasksRequest listAuditTasksRequest) This is a variant oflistAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)operation.default ListAuthorizersResponseLists the authorizers registered in your account.default ListAuthorizersResponselistAuthorizers(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest) Lists the authorizers registered in your account.default ListAuthorizersResponselistAuthorizers(ListAuthorizersRequest listAuthorizersRequest) Lists the authorizers registered in your account.default ListAuthorizersIterableThis is a variant oflistAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation.default ListAuthorizersIterablelistAuthorizersPaginator(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest) This is a variant oflistAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation.default ListAuthorizersIterablelistAuthorizersPaginator(ListAuthorizersRequest listAuthorizersRequest) This is a variant oflistAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation.default ListBillingGroupsResponseLists the billing groups you have created.default ListBillingGroupsResponselistBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) Lists the billing groups you have created.default ListBillingGroupsResponselistBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) Lists the billing groups you have created.default ListBillingGroupsIterableThis is a variant oflistBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation.default ListBillingGroupsIterablelistBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation.default ListBillingGroupsIterablelistBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) This is a variant oflistBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation.default ListCaCertificatesResponseLists the CA certificates registered for your Amazon Web Services account.default ListCaCertificatesResponselistCACertificates(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest) Lists the CA certificates registered for your Amazon Web Services account.default ListCaCertificatesResponselistCACertificates(ListCaCertificatesRequest listCaCertificatesRequest) Lists the CA certificates registered for your Amazon Web Services account.default ListCACertificatesIterableThis is a variant oflistCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation.default ListCACertificatesIterablelistCACertificatesPaginator(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest) This is a variant oflistCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation.default ListCACertificatesIterablelistCACertificatesPaginator(ListCaCertificatesRequest listCaCertificatesRequest) This is a variant oflistCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation.default ListCertificateProvidersResponselistCertificateProviders(Consumer<ListCertificateProvidersRequest.Builder> listCertificateProvidersRequest) Lists all your certificate providers in your Amazon Web Services account.default ListCertificateProvidersResponselistCertificateProviders(ListCertificateProvidersRequest listCertificateProvidersRequest) Lists all your certificate providers in your Amazon Web Services account.default ListCertificatesResponseLists the certificates registered in your Amazon Web Services account.default ListCertificatesResponselistCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) Lists the certificates registered in your Amazon Web Services account.default ListCertificatesResponselistCertificates(ListCertificatesRequest listCertificatesRequest) Lists the certificates registered in your Amazon Web Services account.default ListCertificatesByCaResponselistCertificatesByCA(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest) List the device certificates signed by the specified CA certificate.default ListCertificatesByCaResponselistCertificatesByCA(ListCertificatesByCaRequest listCertificatesByCaRequest) List the device certificates signed by the specified CA certificate.default ListCertificatesByCAIterablelistCertificatesByCAPaginator(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest) This is a variant oflistCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)operation.default ListCertificatesByCAIterablelistCertificatesByCAPaginator(ListCertificatesByCaRequest listCertificatesByCaRequest) This is a variant oflistCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)operation.default ListCertificatesIterableThis is a variant oflistCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation.default ListCertificatesIterablelistCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) This is a variant oflistCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation.default ListCertificatesIterablelistCertificatesPaginator(ListCertificatesRequest listCertificatesRequest) This is a variant oflistCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation.default ListCustomMetricsResponselistCustomMetrics(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest) Lists your Device Defender detect custom metrics.default ListCustomMetricsResponselistCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest) Lists your Device Defender detect custom metrics.default ListCustomMetricsIterablelistCustomMetricsPaginator(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest) This is a variant oflistCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)operation.default ListCustomMetricsIterablelistCustomMetricsPaginator(ListCustomMetricsRequest listCustomMetricsRequest) This is a variant oflistCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)operation.listDetectMitigationActionsExecutions(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest) Lists mitigation actions executions for a Device Defender ML Detect Security Profile.listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) Lists mitigation actions executions for a Device Defender ML Detect Security Profile.listDetectMitigationActionsExecutionsPaginator(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest) This is a variant oflistDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)operation.listDetectMitigationActionsExecutionsPaginator(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) This is a variant oflistDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)operation.listDetectMitigationActionsTasks(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest) List of Device Defender ML Detect mitigation actions tasks.listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) List of Device Defender ML Detect mitigation actions tasks.listDetectMitigationActionsTasksPaginator(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest) This is a variant oflistDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)operation.listDetectMitigationActionsTasksPaginator(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) This is a variant oflistDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)operation.default ListDimensionsResponselistDimensions(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest) List the set of dimensions that are defined for your Amazon Web Services accounts.default ListDimensionsResponselistDimensions(ListDimensionsRequest listDimensionsRequest) List the set of dimensions that are defined for your Amazon Web Services accounts.default ListDimensionsIterablelistDimensionsPaginator(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest) This is a variant oflistDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)operation.default ListDimensionsIterablelistDimensionsPaginator(ListDimensionsRequest listDimensionsRequest) This is a variant oflistDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)operation.default ListDomainConfigurationsResponselistDomainConfigurations(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest) Gets a list of domain configurations for the user.default ListDomainConfigurationsResponselistDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest) Gets a list of domain configurations for the user.default ListDomainConfigurationsIterablelistDomainConfigurationsPaginator(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest) This is a variant oflistDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)operation.default ListDomainConfigurationsIterablelistDomainConfigurationsPaginator(ListDomainConfigurationsRequest listDomainConfigurationsRequest) This is a variant oflistDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)operation.default ListFleetMetricsResponselistFleetMetrics(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest) Lists all your fleet metrics.default ListFleetMetricsResponselistFleetMetrics(ListFleetMetricsRequest listFleetMetricsRequest) Lists all your fleet metrics.default ListFleetMetricsIterablelistFleetMetricsPaginator(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest) This is a variant oflistFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)operation.default ListFleetMetricsIterablelistFleetMetricsPaginator(ListFleetMetricsRequest listFleetMetricsRequest) This is a variant oflistFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)operation.default ListIndicesResponseLists the search indices.default ListIndicesResponselistIndices(Consumer<ListIndicesRequest.Builder> listIndicesRequest) Lists the search indices.default ListIndicesResponselistIndices(ListIndicesRequest listIndicesRequest) Lists the search indices.default ListIndicesIterableThis is a variant oflistIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation.default ListIndicesIterablelistIndicesPaginator(Consumer<ListIndicesRequest.Builder> listIndicesRequest) This is a variant oflistIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation.default ListIndicesIterablelistIndicesPaginator(ListIndicesRequest listIndicesRequest) This is a variant oflistIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation.default ListJobExecutionsForJobResponselistJobExecutionsForJob(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest) Lists the job executions for a job.default ListJobExecutionsForJobResponselistJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) Lists the job executions for a job.default ListJobExecutionsForJobIterablelistJobExecutionsForJobPaginator(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest) This is a variant oflistJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)operation.default ListJobExecutionsForJobIterablelistJobExecutionsForJobPaginator(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) This is a variant oflistJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)operation.listJobExecutionsForThing(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest) Lists the job executions for the specified thing.listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) Lists the job executions for the specified thing.listJobExecutionsForThingPaginator(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest) This is a variant oflistJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)operation.listJobExecutionsForThingPaginator(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) This is a variant oflistJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)operation.default ListJobsResponselistJobs()Lists jobs.default ListJobsResponselistJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) Lists jobs.default ListJobsResponselistJobs(ListJobsRequest listJobsRequest) Lists jobs.default ListJobsIterableThis is a variant oflistJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation.default ListJobsIterablelistJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation.default ListJobsIterablelistJobsPaginator(ListJobsRequest listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation.default ListJobTemplatesResponselistJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) Returns a list of job templates.default ListJobTemplatesResponselistJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest) Returns a list of job templates.default ListJobTemplatesIterablelistJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) This is a variant oflistJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)operation.default ListJobTemplatesIterablelistJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) This is a variant oflistJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)operation.default ListManagedJobTemplatesResponselistManagedJobTemplates(Consumer<ListManagedJobTemplatesRequest.Builder> listManagedJobTemplatesRequest) Returns a list of managed job templates.default ListManagedJobTemplatesResponselistManagedJobTemplates(ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) Returns a list of managed job templates.default ListManagedJobTemplatesIterablelistManagedJobTemplatesPaginator(Consumer<ListManagedJobTemplatesRequest.Builder> listManagedJobTemplatesRequest) This is a variant oflistManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)operation.default ListManagedJobTemplatesIterablelistManagedJobTemplatesPaginator(ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) This is a variant oflistManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)operation.default ListMetricValuesResponselistMetricValues(Consumer<ListMetricValuesRequest.Builder> listMetricValuesRequest) Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.default ListMetricValuesResponselistMetricValues(ListMetricValuesRequest listMetricValuesRequest) Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.default ListMetricValuesIterablelistMetricValuesPaginator(Consumer<ListMetricValuesRequest.Builder> listMetricValuesRequest) This is a variant oflistMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)operation.default ListMetricValuesIterablelistMetricValuesPaginator(ListMetricValuesRequest listMetricValuesRequest) This is a variant oflistMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)operation.default ListMitigationActionsResponselistMitigationActions(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest) Gets a list of all mitigation actions that match the specified filter criteria.default ListMitigationActionsResponselistMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest) Gets a list of all mitigation actions that match the specified filter criteria.default ListMitigationActionsIterablelistMitigationActionsPaginator(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest) This is a variant oflistMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)operation.default ListMitigationActionsIterablelistMitigationActionsPaginator(ListMitigationActionsRequest listMitigationActionsRequest) This is a variant oflistMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)operation.default ListOtaUpdatesResponseLists OTA updates.default ListOtaUpdatesResponselistOTAUpdates(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest) Lists OTA updates.default ListOtaUpdatesResponselistOTAUpdates(ListOtaUpdatesRequest listOtaUpdatesRequest) Lists OTA updates.default ListOTAUpdatesIterableThis is a variant oflistOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation.default ListOTAUpdatesIterablelistOTAUpdatesPaginator(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest) This is a variant oflistOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation.default ListOTAUpdatesIterablelistOTAUpdatesPaginator(ListOtaUpdatesRequest listOtaUpdatesRequest) This is a variant oflistOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation.default ListOutgoingCertificatesResponseLists certificates that are being transferred but not yet accepted.default ListOutgoingCertificatesResponselistOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest) Lists certificates that are being transferred but not yet accepted.default ListOutgoingCertificatesResponselistOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) Lists certificates that are being transferred but not yet accepted.default ListOutgoingCertificatesIterableThis is a variant oflistOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation.default ListOutgoingCertificatesIterablelistOutgoingCertificatesPaginator(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest) This is a variant oflistOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation.default ListOutgoingCertificatesIterablelistOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) This is a variant oflistOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation.default ListPackagesResponselistPackages(Consumer<ListPackagesRequest.Builder> listPackagesRequest) Lists the software packages associated to the account.default ListPackagesResponselistPackages(ListPackagesRequest listPackagesRequest) Lists the software packages associated to the account.default ListPackagesIterablelistPackagesPaginator(Consumer<ListPackagesRequest.Builder> listPackagesRequest) This is a variant oflistPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)operation.default ListPackagesIterablelistPackagesPaginator(ListPackagesRequest listPackagesRequest) This is a variant oflistPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)operation.default ListPackageVersionsResponselistPackageVersions(Consumer<ListPackageVersionsRequest.Builder> listPackageVersionsRequest) Lists the software package versions associated to the account.default ListPackageVersionsResponselistPackageVersions(ListPackageVersionsRequest listPackageVersionsRequest) Lists the software package versions associated to the account.default ListPackageVersionsIterablelistPackageVersionsPaginator(Consumer<ListPackageVersionsRequest.Builder> listPackageVersionsRequest) This is a variant oflistPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)operation.default ListPackageVersionsIterablelistPackageVersionsPaginator(ListPackageVersionsRequest listPackageVersionsRequest) This is a variant oflistPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)operation.default ListPoliciesResponseLists your policies.default ListPoliciesResponselistPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) Lists your policies.default ListPoliciesResponselistPolicies(ListPoliciesRequest listPoliciesRequest) Lists your policies.default ListPoliciesIterableThis is a variant oflistPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation.default ListPoliciesIterablelistPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation.default ListPoliciesIterablelistPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) This is a variant oflistPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation.default ListPolicyVersionsResponselistPolicyVersions(Consumer<ListPolicyVersionsRequest.Builder> listPolicyVersionsRequest) Lists the versions of the specified policy and identifies the default version.default ListPolicyVersionsResponselistPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest) Lists the versions of the specified policy and identifies the default version.default ListPrincipalThingsResponselistPrincipalThings(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest) Lists the things associated with the specified principal.default ListPrincipalThingsResponselistPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest) Lists the things associated with the specified principal.default ListPrincipalThingsIterablelistPrincipalThingsPaginator(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest) This is a variant oflistPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)operation.default ListPrincipalThingsIterablelistPrincipalThingsPaginator(ListPrincipalThingsRequest listPrincipalThingsRequest) This is a variant oflistPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)operation.listProvisioningTemplates(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest) Lists the provisioning templates in your Amazon Web Services account.listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) Lists the provisioning templates in your Amazon Web Services account.listProvisioningTemplatesPaginator(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest) This is a variant oflistProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)operation.listProvisioningTemplatesPaginator(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) This is a variant oflistProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)operation.listProvisioningTemplateVersions(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest) A list of provisioning template versions.listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) A list of provisioning template versions.listProvisioningTemplateVersionsPaginator(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest) This is a variant oflistProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)operation.listProvisioningTemplateVersionsPaginator(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) This is a variant oflistProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)operation.listRelatedResourcesForAuditFinding(Consumer<ListRelatedResourcesForAuditFindingRequest.Builder> listRelatedResourcesForAuditFindingRequest) The related resources of an Audit finding.listRelatedResourcesForAuditFinding(ListRelatedResourcesForAuditFindingRequest listRelatedResourcesForAuditFindingRequest) The related resources of an Audit finding.listRelatedResourcesForAuditFindingPaginator(Consumer<ListRelatedResourcesForAuditFindingRequest.Builder> listRelatedResourcesForAuditFindingRequest) This is a variant oflistRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)operation.listRelatedResourcesForAuditFindingPaginator(ListRelatedResourcesForAuditFindingRequest listRelatedResourcesForAuditFindingRequest) This is a variant oflistRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)operation.default ListRoleAliasesResponseLists the role aliases registered in your account.default ListRoleAliasesResponselistRoleAliases(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest) Lists the role aliases registered in your account.default ListRoleAliasesResponselistRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest) Lists the role aliases registered in your account.default ListRoleAliasesIterableThis is a variant oflistRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation.default ListRoleAliasesIterablelistRoleAliasesPaginator(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest) This is a variant oflistRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation.default ListRoleAliasesIterablelistRoleAliasesPaginator(ListRoleAliasesRequest listRoleAliasesRequest) This is a variant oflistRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation.listSbomValidationResults(Consumer<ListSbomValidationResultsRequest.Builder> listSbomValidationResultsRequest) The validation results for all software bill of materials (SBOM) attached to a specific software package version.listSbomValidationResults(ListSbomValidationResultsRequest listSbomValidationResultsRequest) The validation results for all software bill of materials (SBOM) attached to a specific software package version.listSbomValidationResultsPaginator(Consumer<ListSbomValidationResultsRequest.Builder> listSbomValidationResultsRequest) This is a variant oflistSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)operation.listSbomValidationResultsPaginator(ListSbomValidationResultsRequest listSbomValidationResultsRequest) This is a variant oflistSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)operation.default ListScheduledAuditsResponseLists all of your scheduled audits.default ListScheduledAuditsResponselistScheduledAudits(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest) Lists all of your scheduled audits.default ListScheduledAuditsResponselistScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest) Lists all of your scheduled audits.default ListScheduledAuditsIterableThis is a variant oflistScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation.default ListScheduledAuditsIterablelistScheduledAuditsPaginator(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest) This is a variant oflistScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation.default ListScheduledAuditsIterablelistScheduledAuditsPaginator(ListScheduledAuditsRequest listScheduledAuditsRequest) This is a variant oflistScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation.default ListSecurityProfilesResponseLists the Device Defender security profiles you've created.default ListSecurityProfilesResponselistSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) Lists the Device Defender security profiles you've created.default ListSecurityProfilesResponselistSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) Lists the Device Defender security profiles you've created.listSecurityProfilesForTarget(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest) Lists the Device Defender security profiles attached to a target (thing group).listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) Lists the Device Defender security profiles attached to a target (thing group).listSecurityProfilesForTargetPaginator(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest) This is a variant oflistSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)operation.listSecurityProfilesForTargetPaginator(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) This is a variant oflistSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)operation.default ListSecurityProfilesIterableThis is a variant oflistSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation.default ListSecurityProfilesIterablelistSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) This is a variant oflistSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation.default ListSecurityProfilesIterablelistSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) This is a variant oflistSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation.default ListStreamsResponseLists all of the streams in your Amazon Web Services account.default ListStreamsResponselistStreams(Consumer<ListStreamsRequest.Builder> listStreamsRequest) Lists all of the streams in your Amazon Web Services account.default ListStreamsResponselistStreams(ListStreamsRequest listStreamsRequest) Lists all of the streams in your Amazon Web Services account.default ListStreamsIterableThis is a variant oflistStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation.default ListStreamsIterablelistStreamsPaginator(Consumer<ListStreamsRequest.Builder> listStreamsRequest) This is a variant oflistStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation.default ListStreamsIterablelistStreamsPaginator(ListStreamsRequest listStreamsRequest) This is a variant oflistStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags (metadata) you have assigned to the resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags (metadata) you have assigned to the resource.default ListTagsForResourceIterablelistTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)operation.default ListTagsForResourceIterablelistTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) This is a variant oflistTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)operation.default ListTargetsForPolicyResponselistTargetsForPolicy(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest) List targets for the specified policy.default ListTargetsForPolicyResponselistTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest) List targets for the specified policy.default ListTargetsForPolicyIterablelistTargetsForPolicyPaginator(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest) This is a variant oflistTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)operation.default ListTargetsForPolicyIterablelistTargetsForPolicyPaginator(ListTargetsForPolicyRequest listTargetsForPolicyRequest) This is a variant oflistTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)operation.listTargetsForSecurityProfile(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest) Lists the targets (thing groups) associated with a given Device Defender security profile.listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) Lists the targets (thing groups) associated with a given Device Defender security profile.listTargetsForSecurityProfilePaginator(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest) This is a variant oflistTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)operation.listTargetsForSecurityProfilePaginator(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) This is a variant oflistTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)operation.default ListThingGroupsResponseList the thing groups in your account.default ListThingGroupsResponselistThingGroups(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest) List the thing groups in your account.default ListThingGroupsResponselistThingGroups(ListThingGroupsRequest listThingGroupsRequest) List the thing groups in your account.default ListThingGroupsForThingResponselistThingGroupsForThing(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest) List the thing groups to which the specified thing belongs.default ListThingGroupsForThingResponselistThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest) List the thing groups to which the specified thing belongs.default ListThingGroupsForThingIterablelistThingGroupsForThingPaginator(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest) This is a variant oflistThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)operation.default ListThingGroupsForThingIterablelistThingGroupsForThingPaginator(ListThingGroupsForThingRequest listThingGroupsForThingRequest) This is a variant oflistThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)operation.default ListThingGroupsIterableThis is a variant oflistThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation.default ListThingGroupsIterablelistThingGroupsPaginator(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest) This is a variant oflistThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation.default ListThingGroupsIterablelistThingGroupsPaginator(ListThingGroupsRequest listThingGroupsRequest) This is a variant oflistThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation.default ListThingPrincipalsResponselistThingPrincipals(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest) Lists the principals associated with the specified thing.default ListThingPrincipalsResponselistThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest) Lists the principals associated with the specified thing.default ListThingPrincipalsIterablelistThingPrincipalsPaginator(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest) This is a variant oflistThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)operation.default ListThingPrincipalsIterablelistThingPrincipalsPaginator(ListThingPrincipalsRequest listThingPrincipalsRequest) This is a variant oflistThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)operation.listThingRegistrationTaskReports(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest) Information about the thing registration tasks.listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) Information about the thing registration tasks.listThingRegistrationTaskReportsPaginator(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest) This is a variant oflistThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)operation.listThingRegistrationTaskReportsPaginator(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) This is a variant oflistThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)operation.List bulk thing provisioning tasks.listThingRegistrationTasks(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest) List bulk thing provisioning tasks.listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) List bulk thing provisioning tasks.This is a variant oflistThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation.listThingRegistrationTasksPaginator(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest) This is a variant oflistThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation.listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) This is a variant oflistThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation.default ListThingsResponseLists your things.default ListThingsResponselistThings(Consumer<ListThingsRequest.Builder> listThingsRequest) Lists your things.default ListThingsResponselistThings(ListThingsRequest listThingsRequest) Lists your things.default ListThingsInBillingGroupResponselistThingsInBillingGroup(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest) Lists the things you have added to the given billing group.default ListThingsInBillingGroupResponselistThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) Lists the things you have added to the given billing group.default ListThingsInBillingGroupIterablelistThingsInBillingGroupPaginator(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest) This is a variant oflistThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)operation.default ListThingsInBillingGroupIterablelistThingsInBillingGroupPaginator(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) This is a variant oflistThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)operation.default ListThingsInThingGroupResponselistThingsInThingGroup(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest) Lists the things in the specified group.default ListThingsInThingGroupResponselistThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest) Lists the things in the specified group.default ListThingsInThingGroupIterablelistThingsInThingGroupPaginator(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest) This is a variant oflistThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)operation.default ListThingsInThingGroupIterablelistThingsInThingGroupPaginator(ListThingsInThingGroupRequest listThingsInThingGroupRequest) This is a variant oflistThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)operation.default ListThingsIterableThis is a variant oflistThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation.default ListThingsIterablelistThingsPaginator(Consumer<ListThingsRequest.Builder> listThingsRequest) This is a variant oflistThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation.default ListThingsIterablelistThingsPaginator(ListThingsRequest listThingsRequest) This is a variant oflistThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation.default ListThingTypesResponseLists the existing thing types.default ListThingTypesResponselistThingTypes(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest) Lists the existing thing types.default ListThingTypesResponselistThingTypes(ListThingTypesRequest listThingTypesRequest) Lists the existing thing types.default ListThingTypesIterableThis is a variant oflistThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation.default ListThingTypesIterablelistThingTypesPaginator(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest) This is a variant oflistThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation.default ListThingTypesIterablelistThingTypesPaginator(ListThingTypesRequest listThingTypesRequest) This is a variant oflistThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation.listTopicRuleDestinations(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest) Lists all the topic rule destinations in your Amazon Web Services account.listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) Lists all the topic rule destinations in your Amazon Web Services account.listTopicRuleDestinationsPaginator(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest) This is a variant oflistTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)operation.listTopicRuleDestinationsPaginator(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) This is a variant oflistTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)operation.default ListTopicRulesResponseLists the rules for the specific topic.default ListTopicRulesResponselistTopicRules(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest) Lists the rules for the specific topic.default ListTopicRulesResponselistTopicRules(ListTopicRulesRequest listTopicRulesRequest) Lists the rules for the specific topic.default ListTopicRulesIterableThis is a variant oflistTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation.default ListTopicRulesIterablelistTopicRulesPaginator(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest) This is a variant oflistTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation.default ListTopicRulesIterablelistTopicRulesPaginator(ListTopicRulesRequest listTopicRulesRequest) This is a variant oflistTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation.default ListV2LoggingLevelsResponselistV2LoggingLevels(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest) Lists logging levels.default ListV2LoggingLevelsResponselistV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) Lists logging levels.default ListV2LoggingLevelsIterablelistV2LoggingLevelsPaginator(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest) This is a variant oflistV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)operation.default ListV2LoggingLevelsIterablelistV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) This is a variant oflistV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)operation.default ListViolationEventsResponselistViolationEvents(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest) Lists the Device Defender security profile violations discovered during the given time period.default ListViolationEventsResponselistViolationEvents(ListViolationEventsRequest listViolationEventsRequest) Lists the Device Defender security profile violations discovered during the given time period.default ListViolationEventsIterablelistViolationEventsPaginator(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest) This is a variant oflistViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)operation.default ListViolationEventsIterablelistViolationEventsPaginator(ListViolationEventsRequest listViolationEventsRequest) This is a variant oflistViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)operation.putVerificationStateOnViolation(Consumer<PutVerificationStateOnViolationRequest.Builder> putVerificationStateOnViolationRequest) Set a verification state and provide a description of that verification state on a violation (detect alarm).putVerificationStateOnViolation(PutVerificationStateOnViolationRequest putVerificationStateOnViolationRequest) Set a verification state and provide a description of that verification state on a violation (detect alarm).default RegisterCaCertificateResponseregisterCACertificate(Consumer<RegisterCaCertificateRequest.Builder> registerCaCertificateRequest) Registers a CA certificate with Amazon Web Services IoT Core.default RegisterCaCertificateResponseregisterCACertificate(RegisterCaCertificateRequest registerCaCertificateRequest) Registers a CA certificate with Amazon Web Services IoT Core.default RegisterCertificateResponseregisterCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest) Registers a device certificate with IoT in the same certificate mode as the signing CA.default RegisterCertificateResponseregisterCertificate(RegisterCertificateRequest registerCertificateRequest) Registers a device certificate with IoT in the same certificate mode as the signing CA.registerCertificateWithoutCA(Consumer<RegisterCertificateWithoutCaRequest.Builder> registerCertificateWithoutCaRequest) Register a certificate that does not have a certificate authority (CA).registerCertificateWithoutCA(RegisterCertificateWithoutCaRequest registerCertificateWithoutCaRequest) Register a certificate that does not have a certificate authority (CA).default RegisterThingResponseregisterThing(Consumer<RegisterThingRequest.Builder> registerThingRequest) Provisions a thing in the device registry.default RegisterThingResponseregisterThing(RegisterThingRequest registerThingRequest) Provisions a thing in the device registry.rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest) Rejects a pending certificate transfer.rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest) Rejects a pending certificate transfer.removeThingFromBillingGroup(Consumer<RemoveThingFromBillingGroupRequest.Builder> removeThingFromBillingGroupRequest) Removes the given thing from the billing group.removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest) Removes the given thing from the billing group.removeThingFromThingGroup(Consumer<RemoveThingFromThingGroupRequest.Builder> removeThingFromThingGroupRequest) Remove the specified thing from the specified group.removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest) Remove the specified thing from the specified group.default ReplaceTopicRuleResponsereplaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest) Replaces the rule.default ReplaceTopicRuleResponsereplaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest) Replaces the rule.default SearchIndexResponsesearchIndex(Consumer<SearchIndexRequest.Builder> searchIndexRequest) The query search index.default SearchIndexResponsesearchIndex(SearchIndexRequest searchIndexRequest) The query search index.default IotServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault SetDefaultAuthorizerResponsesetDefaultAuthorizer(Consumer<SetDefaultAuthorizerRequest.Builder> setDefaultAuthorizerRequest) Sets the default authorizer.default SetDefaultAuthorizerResponsesetDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest) Sets the default authorizer.default SetDefaultPolicyVersionResponsesetDefaultPolicyVersion(Consumer<SetDefaultPolicyVersionRequest.Builder> setDefaultPolicyVersionRequest) Sets the specified version of the specified policy as the policy's default (operative) version.default SetDefaultPolicyVersionResponsesetDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest) Sets the specified version of the specified policy as the policy's default (operative) version.default SetLoggingOptionsResponsesetLoggingOptions(Consumer<SetLoggingOptionsRequest.Builder> setLoggingOptionsRequest) Sets the logging options.default SetLoggingOptionsResponsesetLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest) Sets the logging options.default SetV2LoggingLevelResponsesetV2LoggingLevel(Consumer<SetV2LoggingLevelRequest.Builder> setV2LoggingLevelRequest) Sets the logging level.default SetV2LoggingLevelResponsesetV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest) Sets the logging level.default SetV2LoggingOptionsResponsesetV2LoggingOptions(Consumer<SetV2LoggingOptionsRequest.Builder> setV2LoggingOptionsRequest) Sets the logging options for the V2 logging service.default SetV2LoggingOptionsResponsesetV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest) Sets the logging options for the V2 logging service.startAuditMitigationActionsTask(Consumer<StartAuditMitigationActionsTaskRequest.Builder> startAuditMitigationActionsTaskRequest) Starts a task that applies a set of mitigation actions to the specified target.startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest) Starts a task that applies a set of mitigation actions to the specified target.startDetectMitigationActionsTask(Consumer<StartDetectMitigationActionsTaskRequest.Builder> startDetectMitigationActionsTaskRequest) Starts a Device Defender ML Detect mitigation actions task.startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest) Starts a Device Defender ML Detect mitigation actions task.default StartOnDemandAuditTaskResponsestartOnDemandAuditTask(Consumer<StartOnDemandAuditTaskRequest.Builder> startOnDemandAuditTaskRequest) Starts an on-demand Device Defender audit.default StartOnDemandAuditTaskResponsestartOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest) Starts an on-demand Device Defender audit.startThingRegistrationTask(Consumer<StartThingRegistrationTaskRequest.Builder> startThingRegistrationTaskRequest) Creates a bulk thing provisioning task.startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest) Creates a bulk thing provisioning task.stopThingRegistrationTask(Consumer<StopThingRegistrationTaskRequest.Builder> stopThingRegistrationTaskRequest) Cancels a bulk thing provisioning task.stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest) Cancels a bulk thing provisioning task.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds to or modifies the tags of the given resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds to or modifies the tags of the given resource.default TestAuthorizationResponsetestAuthorization(Consumer<TestAuthorizationRequest.Builder> testAuthorizationRequest) Tests if a specified principal is authorized to perform an IoT action on a specified resource.default TestAuthorizationResponsetestAuthorization(TestAuthorizationRequest testAuthorizationRequest) Tests if a specified principal is authorized to perform an IoT action on a specified resource.default TestInvokeAuthorizerResponsetestInvokeAuthorizer(Consumer<TestInvokeAuthorizerRequest.Builder> testInvokeAuthorizerRequest) Tests a custom authorization behavior by invoking a specified custom authorizer.default TestInvokeAuthorizerResponsetestInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest) Tests a custom authorization behavior by invoking a specified custom authorizer.default TransferCertificateResponsetransferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest) Transfers the specified certificate to the specified Amazon Web Services account.default TransferCertificateResponsetransferCertificate(TransferCertificateRequest transferCertificateRequest) Transfers the specified certificate to the specified Amazon Web Services account.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the given tags (metadata) from the resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the given tags (metadata) from the resource.updateAccountAuditConfiguration(Consumer<UpdateAccountAuditConfigurationRequest.Builder> updateAccountAuditConfigurationRequest) Configures or reconfigures the Device Defender audit settings for this account.updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest) Configures or reconfigures the Device Defender audit settings for this account.default UpdateAuditSuppressionResponseupdateAuditSuppression(Consumer<UpdateAuditSuppressionRequest.Builder> updateAuditSuppressionRequest) Updates a Device Defender audit suppression.default UpdateAuditSuppressionResponseupdateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest) Updates a Device Defender audit suppression.default UpdateAuthorizerResponseupdateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) Updates an authorizer.default UpdateAuthorizerResponseupdateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) Updates an authorizer.default UpdateBillingGroupResponseupdateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) Updates information about the billing group.default UpdateBillingGroupResponseupdateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) Updates information about the billing group.default UpdateCaCertificateResponseupdateCACertificate(Consumer<UpdateCaCertificateRequest.Builder> updateCaCertificateRequest) Updates a registered CA certificate.default UpdateCaCertificateResponseupdateCACertificate(UpdateCaCertificateRequest updateCaCertificateRequest) Updates a registered CA certificate.default UpdateCertificateResponseupdateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest) Updates the status of the specified certificate.default UpdateCertificateResponseupdateCertificate(UpdateCertificateRequest updateCertificateRequest) Updates the status of the specified certificate.updateCertificateProvider(Consumer<UpdateCertificateProviderRequest.Builder> updateCertificateProviderRequest) Updates a certificate provider.updateCertificateProvider(UpdateCertificateProviderRequest updateCertificateProviderRequest) Updates a certificate provider.default UpdateCustomMetricResponseupdateCustomMetric(Consumer<UpdateCustomMetricRequest.Builder> updateCustomMetricRequest) Updates a Device Defender detect custom metric.default UpdateCustomMetricResponseupdateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest) Updates a Device Defender detect custom metric.default UpdateDimensionResponseupdateDimension(Consumer<UpdateDimensionRequest.Builder> updateDimensionRequest) Updates the definition for a dimension.default UpdateDimensionResponseupdateDimension(UpdateDimensionRequest updateDimensionRequest) Updates the definition for a dimension.updateDomainConfiguration(Consumer<UpdateDomainConfigurationRequest.Builder> updateDomainConfigurationRequest) Updates values stored in the domain configuration.updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest) Updates values stored in the domain configuration.default UpdateDynamicThingGroupResponseupdateDynamicThingGroup(Consumer<UpdateDynamicThingGroupRequest.Builder> updateDynamicThingGroupRequest) Updates a dynamic thing group.default UpdateDynamicThingGroupResponseupdateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest) Updates a dynamic thing group.updateEventConfigurations(Consumer<UpdateEventConfigurationsRequest.Builder> updateEventConfigurationsRequest) Updates the event configurations.updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest) Updates the event configurations.default UpdateFleetMetricResponseupdateFleetMetric(Consumer<UpdateFleetMetricRequest.Builder> updateFleetMetricRequest) Updates the data for a fleet metric.default UpdateFleetMetricResponseupdateFleetMetric(UpdateFleetMetricRequest updateFleetMetricRequest) Updates the data for a fleet metric.updateIndexingConfiguration(Consumer<UpdateIndexingConfigurationRequest.Builder> updateIndexingConfigurationRequest) Updates the search configuration.updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest) Updates the search configuration.default UpdateJobResponseupdateJob(Consumer<UpdateJobRequest.Builder> updateJobRequest) Updates supported fields of the specified job.default UpdateJobResponseupdateJob(UpdateJobRequest updateJobRequest) Updates supported fields of the specified job.default UpdateMitigationActionResponseupdateMitigationAction(Consumer<UpdateMitigationActionRequest.Builder> updateMitigationActionRequest) Updates the definition for the specified mitigation action.default UpdateMitigationActionResponseupdateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest) Updates the definition for the specified mitigation action.default UpdatePackageResponseupdatePackage(Consumer<UpdatePackageRequest.Builder> updatePackageRequest) Updates the supported fields for a specific software package.default UpdatePackageResponseupdatePackage(UpdatePackageRequest updatePackageRequest) Updates the supported fields for a specific software package.updatePackageConfiguration(Consumer<UpdatePackageConfigurationRequest.Builder> updatePackageConfigurationRequest) Updates the software package configuration.updatePackageConfiguration(UpdatePackageConfigurationRequest updatePackageConfigurationRequest) Updates the software package configuration.default UpdatePackageVersionResponseupdatePackageVersion(Consumer<UpdatePackageVersionRequest.Builder> updatePackageVersionRequest) Updates the supported fields for a specific package version.default UpdatePackageVersionResponseupdatePackageVersion(UpdatePackageVersionRequest updatePackageVersionRequest) Updates the supported fields for a specific package version.updateProvisioningTemplate(Consumer<UpdateProvisioningTemplateRequest.Builder> updateProvisioningTemplateRequest) Updates a provisioning template.updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest) Updates a provisioning template.default UpdateRoleAliasResponseupdateRoleAlias(Consumer<UpdateRoleAliasRequest.Builder> updateRoleAliasRequest) Updates a role alias.default UpdateRoleAliasResponseupdateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest) Updates a role alias.default UpdateScheduledAuditResponseupdateScheduledAudit(Consumer<UpdateScheduledAuditRequest.Builder> updateScheduledAuditRequest) Updates a scheduled audit, including which checks are performed and how often the audit takes place.default UpdateScheduledAuditResponseupdateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest) Updates a scheduled audit, including which checks are performed and how often the audit takes place.default UpdateSecurityProfileResponseupdateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest) Updates a Device Defender security profile.default UpdateSecurityProfileResponseupdateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) Updates a Device Defender security profile.default UpdateStreamResponseupdateStream(Consumer<UpdateStreamRequest.Builder> updateStreamRequest) Updates an existing stream.default UpdateStreamResponseupdateStream(UpdateStreamRequest updateStreamRequest) Updates an existing stream.default UpdateThingResponseupdateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest) Updates the data for a thing.default UpdateThingResponseupdateThing(UpdateThingRequest updateThingRequest) Updates the data for a thing.default UpdateThingGroupResponseupdateThingGroup(Consumer<UpdateThingGroupRequest.Builder> updateThingGroupRequest) Update a thing group.default UpdateThingGroupResponseupdateThingGroup(UpdateThingGroupRequest updateThingGroupRequest) Update a thing group.updateThingGroupsForThing(Consumer<UpdateThingGroupsForThingRequest.Builder> updateThingGroupsForThingRequest) Updates the groups to which the thing belongs.updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest) Updates the groups to which the thing belongs.updateTopicRuleDestination(Consumer<UpdateTopicRuleDestinationRequest.Builder> updateTopicRuleDestinationRequest) Updates a topic rule destination.updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest) Updates a topic rule destination.validateSecurityProfileBehaviors(Consumer<ValidateSecurityProfileBehaviorsRequest.Builder> validateSecurityProfileBehaviorsRequest) Validates a Device Defender security profile behaviors specification.validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest) Validates a Device Defender security profile behaviors specification.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptCertificateTransfer
default AcceptCertificateTransferResponse acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
Requires permission to access the AcceptCertificateTransfer action.
- Parameters:
acceptCertificateTransferRequest- The input for the AcceptCertificateTransfer operation.- Returns:
- Result of the AcceptCertificateTransfer operation returned by the service.
-
acceptCertificateTransfer
default AcceptCertificateTransferResponse acceptCertificateTransfer(Consumer<AcceptCertificateTransferRequest.Builder> acceptCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
Requires permission to access the AcceptCertificateTransfer action.
This is a convenience which creates an instance of the
AcceptCertificateTransferRequest.Builderavoiding the need to create one manually viaAcceptCertificateTransferRequest.builder()- Parameters:
acceptCertificateTransferRequest- AConsumerthat will call methods onAcceptCertificateTransferRequest.Builderto create a request. The input for the AcceptCertificateTransfer operation.- Returns:
- Result of the AcceptCertificateTransfer operation returned by the service.
-
addThingToBillingGroup
default AddThingToBillingGroupResponse addThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
- Parameters:
addThingToBillingGroupRequest-- Returns:
- Result of the AddThingToBillingGroup operation returned by the service.
-
addThingToBillingGroup
default AddThingToBillingGroupResponse addThingToBillingGroup(Consumer<AddThingToBillingGroupRequest.Builder> addThingToBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
This is a convenience which creates an instance of the
AddThingToBillingGroupRequest.Builderavoiding the need to create one manually viaAddThingToBillingGroupRequest.builder()- Parameters:
addThingToBillingGroupRequest- AConsumerthat will call methods onAddThingToBillingGroupRequest.Builderto create a request.- Returns:
- Result of the AddThingToBillingGroup operation returned by the service.
-
addThingToThingGroup
default AddThingToThingGroupResponse addThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
- Parameters:
addThingToThingGroupRequest-- Returns:
- Result of the AddThingToThingGroup operation returned by the service.
-
addThingToThingGroup
default AddThingToThingGroupResponse addThingToThingGroup(Consumer<AddThingToThingGroupRequest.Builder> addThingToThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
This is a convenience which creates an instance of the
AddThingToThingGroupRequest.Builderavoiding the need to create one manually viaAddThingToThingGroupRequest.builder()- Parameters:
addThingToThingGroupRequest- AConsumerthat will call methods onAddThingToThingGroupRequest.Builderto create a request.- Returns:
- Result of the AddThingToThingGroup operation returned by the service.
-
associateSbomWithPackageVersion
default AssociateSbomWithPackageVersionResponse associateSbomWithPackageVersion(AssociateSbomWithPackageVersionRequest associateSbomWithPackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Associates the selected software bill of materials (SBOM) with a specific software package version.
Requires permission to access the AssociateSbomWithPackageVersion action.
- Parameters:
associateSbomWithPackageVersionRequest-- Returns:
- Result of the AssociateSbomWithPackageVersion operation returned by the service.
-
associateSbomWithPackageVersion
default AssociateSbomWithPackageVersionResponse associateSbomWithPackageVersion(Consumer<AssociateSbomWithPackageVersionRequest.Builder> associateSbomWithPackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ServiceQuotaExceededException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Associates the selected software bill of materials (SBOM) with a specific software package version.
Requires permission to access the AssociateSbomWithPackageVersion action.
This is a convenience which creates an instance of the
AssociateSbomWithPackageVersionRequest.Builderavoiding the need to create one manually viaAssociateSbomWithPackageVersionRequest.builder()- Parameters:
associateSbomWithPackageVersionRequest- AConsumerthat will call methods onAssociateSbomWithPackageVersionRequest.Builderto create a request.- Returns:
- Result of the AssociateSbomWithPackageVersion operation returned by the service.
-
associateTargetsWithJob
default AssociateTargetsWithJobResponse associateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Associates a group with a continuous job. The following criteria must be met:
-
The job must have been created with the
targetSelectionfield set to "CONTINUOUS". -
The job status must currently be "IN_PROGRESS".
-
The total number of targets associated with a job must not exceed 100.
Requires permission to access the AssociateTargetsWithJob action.
- Parameters:
associateTargetsWithJobRequest-- Returns:
- Result of the AssociateTargetsWithJob operation returned by the service.
-
-
associateTargetsWithJob
default AssociateTargetsWithJobResponse associateTargetsWithJob(Consumer<AssociateTargetsWithJobRequest.Builder> associateTargetsWithJobRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Associates a group with a continuous job. The following criteria must be met:
-
The job must have been created with the
targetSelectionfield set to "CONTINUOUS". -
The job status must currently be "IN_PROGRESS".
-
The total number of targets associated with a job must not exceed 100.
Requires permission to access the AssociateTargetsWithJob action.
This is a convenience which creates an instance of the
AssociateTargetsWithJobRequest.Builderavoiding the need to create one manually viaAssociateTargetsWithJobRequest.builder()- Parameters:
associateTargetsWithJobRequest- AConsumerthat will call methods onAssociateTargetsWithJobRequest.Builderto create a request.- Returns:
- Result of the AssociateTargetsWithJob operation returned by the service.
-
-
attachPolicy
default AttachPolicyResponse attachPolicy(AttachPolicyRequest attachPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
- Parameters:
attachPolicyRequest-- Returns:
- Result of the AttachPolicy operation returned by the service.
-
attachPolicy
default AttachPolicyResponse attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
This is a convenience which creates an instance of the
AttachPolicyRequest.Builderavoiding the need to create one manually viaAttachPolicyRequest.builder()- Parameters:
attachPolicyRequest- AConsumerthat will call methods onAttachPolicyRequest.Builderto create a request.- Returns:
- Result of the AttachPolicy operation returned by the service.
-
attachSecurityProfile
default AttachSecurityProfileResponse attachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.
Requires permission to access the AttachSecurityProfile action.
- Parameters:
attachSecurityProfileRequest-- Returns:
- Result of the AttachSecurityProfile operation returned by the service.
-
attachSecurityProfile
default AttachSecurityProfileResponse attachSecurityProfile(Consumer<AttachSecurityProfileRequest.Builder> attachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, LimitExceededException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.
Requires permission to access the AttachSecurityProfile action.
This is a convenience which creates an instance of the
AttachSecurityProfileRequest.Builderavoiding the need to create one manually viaAttachSecurityProfileRequest.builder()- Parameters:
attachSecurityProfileRequest- AConsumerthat will call methods onAttachSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the AttachSecurityProfile operation returned by the service.
-
attachThingPrincipal
default AttachThingPrincipalResponse attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito identities or federated identities.
Requires permission to access the AttachThingPrincipal action.
- Parameters:
attachThingPrincipalRequest- The input for the AttachThingPrincipal operation.- Returns:
- Result of the AttachThingPrincipal operation returned by the service.
-
attachThingPrincipal
default AttachThingPrincipalResponse attachThingPrincipal(Consumer<AttachThingPrincipalRequest.Builder> attachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito identities or federated identities.
Requires permission to access the AttachThingPrincipal action.
This is a convenience which creates an instance of the
AttachThingPrincipalRequest.Builderavoiding the need to create one manually viaAttachThingPrincipalRequest.builder()- Parameters:
attachThingPrincipalRequest- AConsumerthat will call methods onAttachThingPrincipalRequest.Builderto create a request. The input for the AttachThingPrincipal operation.- Returns:
- Result of the AttachThingPrincipal operation returned by the service.
-
cancelAuditMitigationActionsTask
default CancelAuditMitigationActionsTaskResponse cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
Requires permission to access the CancelAuditMitigationActionsTask action.
- Parameters:
cancelAuditMitigationActionsTaskRequest-- Returns:
- Result of the CancelAuditMitigationActionsTask operation returned by the service.
-
cancelAuditMitigationActionsTask
default CancelAuditMitigationActionsTaskResponse cancelAuditMitigationActionsTask(Consumer<CancelAuditMitigationActionsTaskRequest.Builder> cancelAuditMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
Requires permission to access the CancelAuditMitigationActionsTask action.
This is a convenience which creates an instance of the
CancelAuditMitigationActionsTaskRequest.Builderavoiding the need to create one manually viaCancelAuditMitigationActionsTaskRequest.builder()- Parameters:
cancelAuditMitigationActionsTaskRequest- AConsumerthat will call methods onCancelAuditMitigationActionsTaskRequest.Builderto create a request.- Returns:
- Result of the CancelAuditMitigationActionsTask operation returned by the service.
-
cancelAuditTask
default CancelAuditTaskResponse cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.
Requires permission to access the CancelAuditTask action.
- Parameters:
cancelAuditTaskRequest-- Returns:
- Result of the CancelAuditTask operation returned by the service.
-
cancelAuditTask
default CancelAuditTaskResponse cancelAuditTask(Consumer<CancelAuditTaskRequest.Builder> cancelAuditTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an "InvalidRequestException" occurs.
Requires permission to access the CancelAuditTask action.
This is a convenience which creates an instance of the
CancelAuditTaskRequest.Builderavoiding the need to create one manually viaCancelAuditTaskRequest.builder()- Parameters:
cancelAuditTaskRequest- AConsumerthat will call methods onCancelAuditTaskRequest.Builderto create a request.- Returns:
- Result of the CancelAuditTask operation returned by the service.
-
cancelCertificateTransfer
default CancelCertificateTransferResponse cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
Requires permission to access the CancelCertificateTransfer action.
- Parameters:
cancelCertificateTransferRequest- The input for the CancelCertificateTransfer operation.- Returns:
- Result of the CancelCertificateTransfer operation returned by the service.
-
cancelCertificateTransfer
default CancelCertificateTransferResponse cancelCertificateTransfer(Consumer<CancelCertificateTransferRequest.Builder> cancelCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
Requires permission to access the CancelCertificateTransfer action.
This is a convenience which creates an instance of the
CancelCertificateTransferRequest.Builderavoiding the need to create one manually viaCancelCertificateTransferRequest.builder()- Parameters:
cancelCertificateTransferRequest- AConsumerthat will call methods onCancelCertificateTransferRequest.Builderto create a request. The input for the CancelCertificateTransfer operation.- Returns:
- Result of the CancelCertificateTransfer operation returned by the service.
-
cancelDetectMitigationActionsTask
default CancelDetectMitigationActionsTaskResponse cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
- Parameters:
cancelDetectMitigationActionsTaskRequest-- Returns:
- Result of the CancelDetectMitigationActionsTask operation returned by the service.
-
cancelDetectMitigationActionsTask
default CancelDetectMitigationActionsTaskResponse cancelDetectMitigationActionsTask(Consumer<CancelDetectMitigationActionsTaskRequest.Builder> cancelDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
This is a convenience which creates an instance of the
CancelDetectMitigationActionsTaskRequest.Builderavoiding the need to create one manually viaCancelDetectMitigationActionsTaskRequest.builder()- Parameters:
cancelDetectMitigationActionsTaskRequest- AConsumerthat will call methods onCancelDetectMitigationActionsTaskRequest.Builderto create a request.- Returns:
- Result of the CancelDetectMitigationActionsTask operation returned by the service.
-
cancelJob
default CancelJobResponse cancelJob(CancelJobRequest cancelJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, LimitExceededException, AwsServiceException, SdkClientException, IotException Cancels a job.
Requires permission to access the CancelJob action.
- Parameters:
cancelJobRequest-- Returns:
- Result of the CancelJob operation returned by the service.
-
cancelJob
default CancelJobResponse cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, LimitExceededException, AwsServiceException, SdkClientException, IotException Cancels a job.
Requires permission to access the CancelJob action.
This is a convenience which creates an instance of the
CancelJobRequest.Builderavoiding the need to create one manually viaCancelJobRequest.builder()- Parameters:
cancelJobRequest- AConsumerthat will call methods onCancelJobRequest.Builderto create a request.- Returns:
- Result of the CancelJob operation returned by the service.
-
cancelJobExecution
default CancelJobExecutionResponse cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
- Parameters:
cancelJobExecutionRequest-- Returns:
- Result of the CancelJobExecution operation returned by the service.
-
cancelJobExecution
default CancelJobExecutionResponse cancelJobExecution(Consumer<CancelJobExecutionRequest.Builder> cancelJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException Cancels the execution of a job for a given thing.
Requires permission to access the CancelJobExecution action.
This is a convenience which creates an instance of the
CancelJobExecutionRequest.Builderavoiding the need to create one manually viaCancelJobExecutionRequest.builder()- Parameters:
cancelJobExecutionRequest- AConsumerthat will call methods onCancelJobExecutionRequest.Builderto create a request.- Returns:
- Result of the CancelJobExecution operation returned by the service.
-
clearDefaultAuthorizer
default ClearDefaultAuthorizerResponse clearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
- Parameters:
clearDefaultAuthorizerRequest-- Returns:
- Result of the ClearDefaultAuthorizer operation returned by the service.
-
clearDefaultAuthorizer
default ClearDefaultAuthorizerResponse clearDefaultAuthorizer(Consumer<ClearDefaultAuthorizerRequest.Builder> clearDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Clears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
This is a convenience which creates an instance of the
ClearDefaultAuthorizerRequest.Builderavoiding the need to create one manually viaClearDefaultAuthorizerRequest.builder()- Parameters:
clearDefaultAuthorizerRequest- AConsumerthat will call methods onClearDefaultAuthorizerRequest.Builderto create a request.- Returns:
- Result of the ClearDefaultAuthorizer operation returned by the service.
-
clearDefaultAuthorizer
default ClearDefaultAuthorizerResponse clearDefaultAuthorizer() throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionClears the default authorizer.
Requires permission to access the ClearDefaultAuthorizer action.
- Returns:
- Result of the ClearDefaultAuthorizer operation returned by the service.
- See Also:
-
confirmTopicRuleDestination
default ConfirmTopicRuleDestinationResponse confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling
ConfirmTopicRuleDestinationto confirm that you own or have access to the endpoint.Requires permission to access the ConfirmTopicRuleDestination action.
- Parameters:
confirmTopicRuleDestinationRequest-- Returns:
- Result of the ConfirmTopicRuleDestination operation returned by the service.
-
confirmTopicRuleDestination
default ConfirmTopicRuleDestinationResponse confirmTopicRuleDestination(Consumer<ConfirmTopicRuleDestinationRequest.Builder> confirmTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling
ConfirmTopicRuleDestinationto confirm that you own or have access to the endpoint.Requires permission to access the ConfirmTopicRuleDestination action.
This is a convenience which creates an instance of the
ConfirmTopicRuleDestinationRequest.Builderavoiding the need to create one manually viaConfirmTopicRuleDestinationRequest.builder()- Parameters:
confirmTopicRuleDestinationRequest- AConsumerthat will call methods onConfirmTopicRuleDestinationRequest.Builderto create a request.- Returns:
- Result of the ConfirmTopicRuleDestination operation returned by the service.
-
createAuditSuppression
default CreateAuditSuppressionResponse createAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
- Parameters:
createAuditSuppressionRequest-- Returns:
- Result of the CreateAuditSuppression operation returned by the service.
-
createAuditSuppression
default CreateAuditSuppressionResponse createAuditSuppression(Consumer<CreateAuditSuppressionRequest.Builder> createAuditSuppressionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Creates a Device Defender audit suppression.
Requires permission to access the CreateAuditSuppression action.
This is a convenience which creates an instance of the
CreateAuditSuppressionRequest.Builderavoiding the need to create one manually viaCreateAuditSuppressionRequest.builder()- Parameters:
createAuditSuppressionRequest- AConsumerthat will call methods onCreateAuditSuppressionRequest.Builderto create a request.- Returns:
- Result of the CreateAuditSuppression operation returned by the service.
-
createAuthorizer
default CreateAuthorizerResponse createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
- Parameters:
createAuthorizerRequest-- Returns:
- Result of the CreateAuthorizer operation returned by the service.
-
createAuthorizer
default CreateAuthorizerResponse createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an authorizer.
Requires permission to access the CreateAuthorizer action.
This is a convenience which creates an instance of the
CreateAuthorizerRequest.Builderavoiding the need to create one manually viaCreateAuthorizerRequest.builder()- Parameters:
createAuthorizerRequest- AConsumerthat will call methods onCreateAuthorizerRequest.Builderto create a request.- Returns:
- Result of the CreateAuthorizer operation returned by the service.
-
createBillingGroup
default CreateBillingGroupResponse createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a billing group. If this call is made multiple times using the same billing group name and configuration, the call will succeed. If this call is made with the same billing group name but different configuration a
ResourceAlreadyExistsExceptionis thrown.Requires permission to access the CreateBillingGroup action.
- Parameters:
createBillingGroupRequest-- Returns:
- Result of the CreateBillingGroup operation returned by the service.
-
createBillingGroup
default CreateBillingGroupResponse createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a billing group. If this call is made multiple times using the same billing group name and configuration, the call will succeed. If this call is made with the same billing group name but different configuration a
ResourceAlreadyExistsExceptionis thrown.Requires permission to access the CreateBillingGroup action.
This is a convenience which creates an instance of the
CreateBillingGroupRequest.Builderavoiding the need to create one manually viaCreateBillingGroupRequest.builder()- Parameters:
createBillingGroupRequest- AConsumerthat will call methods onCreateBillingGroupRequest.Builderto create a request.- Returns:
- Result of the CreateBillingGroup operation returned by the service.
-
createCertificateFromCsr
default CreateCertificateFromCsrResponse createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
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
.csrfiles 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. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:On Linux and OS X, the command is:
invalid input: '$' 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-csrAmazon Web Services CLI command to create a certificate for the corresponding CSR.You can also run the
aws iot create-certificate-from-csrpart of the command in parallel to speed up the certificate creation process:invalid input: '$' 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/invalid input: '$'_}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"- Parameters:
createCertificateFromCsrRequest- The input for the CreateCertificateFromCsr operation.- Returns:
- Result of the CreateCertificateFromCsr operation returned by the service.
-
createCertificateFromCsr
default CreateCertificateFromCsrResponse createCertificateFromCsr(Consumer<CreateCertificateFromCsrRequest.Builder> createCertificateFromCsrRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an X.509 certificate using the specified certificate signing request.
Requires permission to access the CreateCertificateFromCsr action.
The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult Certificate signing algorithms supported by IoT.
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
.csrfiles 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. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:On Linux and OS X, the command is:
invalid input: '$' 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-csrAmazon Web Services CLI command to create a certificate for the corresponding CSR.You can also run the
aws iot create-certificate-from-csrpart of the command in parallel to speed up the certificate creation process:invalid input: '$' 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/invalid input: '$'_}On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
This is a convenience which creates an instance of the
CreateCertificateFromCsrRequest.Builderavoiding the need to create one manually viaCreateCertificateFromCsrRequest.builder()- Parameters:
createCertificateFromCsrRequest- AConsumerthat will call methods onCreateCertificateFromCsrRequest.Builderto create a request. The input for the CreateCertificateFromCsr operation.- Returns:
- Result of the CreateCertificateFromCsr operation returned by the service.
-
createCertificateProvider
default CreateCertificateProviderResponse createCertificateProvider(CreateCertificateProviderRequest createCertificateProviderRequest) throws LimitExceededException, ResourceAlreadyExistsException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For more information, see Customizing certificate signing using Amazon Web Services IoT Core certificate provider from Amazon Web Services IoT Core Developer Guide.
Requires permission to access the CreateCertificateProvider action.
After you create a certificate provider, the behavior of
CreateCertificateFromCsrAPI for fleet provisioning will change and all API calls toCreateCertificateFromCsrwill invoke the certificate provider to create the certificates. It can take up to a few minutes for this behavior to change after a certificate provider is created.- Parameters:
createCertificateProviderRequest-- Returns:
- Result of the CreateCertificateProvider operation returned by the service.
-
createCertificateProvider
default CreateCertificateProviderResponse createCertificateProvider(Consumer<CreateCertificateProviderRequest.Builder> createCertificateProviderRequest) throws LimitExceededException, ResourceAlreadyExistsException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For more information, see Customizing certificate signing using Amazon Web Services IoT Core certificate provider from Amazon Web Services IoT Core Developer Guide.
Requires permission to access the CreateCertificateProvider action.
After you create a certificate provider, the behavior of
CreateCertificateFromCsrAPI for fleet provisioning will change and all API calls toCreateCertificateFromCsrwill invoke the certificate provider to create the certificates. It can take up to a few minutes for this behavior to change after a certificate provider is created.
This is a convenience which creates an instance of the
CreateCertificateProviderRequest.Builderavoiding the need to create one manually viaCreateCertificateProviderRequest.builder()- Parameters:
createCertificateProviderRequest- AConsumerthat will call methods onCreateCertificateProviderRequest.Builderto create a request.- Returns:
- Result of the CreateCertificateProvider operation returned by the service.
-
createCustomMetric
default CreateCustomMetricResponse createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest) throws InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
- Parameters:
createCustomMetricRequest-- Returns:
- Result of the CreateCustomMetric operation returned by the service.
-
createCustomMetric
default CreateCustomMetricResponse createCustomMetric(Consumer<CreateCustomMetricRequest.Builder> createCustomMetricRequest) throws InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Use this API to define a Custom Metric published by your devices to Device Defender.
Requires permission to access the CreateCustomMetric action.
This is a convenience which creates an instance of the
CreateCustomMetricRequest.Builderavoiding the need to create one manually viaCreateCustomMetricRequest.builder()- Parameters:
createCustomMetricRequest- AConsumerthat will call methods onCreateCustomMetricRequest.Builderto create a request.- Returns:
- Result of the CreateCustomMetric operation returned by the service.
-
createDimension
default CreateDimensionResponse createDimension(CreateDimensionRequest createDimensionRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, IotException Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender. For example, using a
TOPIC_FILTERdimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.Requires permission to access the CreateDimension action.
- Parameters:
createDimensionRequest-- Returns:
- Result of the CreateDimension operation returned by the service.
-
createDimension
default CreateDimensionResponse createDimension(Consumer<CreateDimensionRequest.Builder> createDimensionRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ThrottlingException, AwsServiceException, SdkClientException, IotException Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender. For example, using a
TOPIC_FILTERdimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.Requires permission to access the CreateDimension action.
This is a convenience which creates an instance of the
CreateDimensionRequest.Builderavoiding the need to create one manually viaCreateDimensionRequest.builder()- Parameters:
createDimensionRequest- AConsumerthat will call methods onCreateDimensionRequest.Builderto create a request.- Returns:
- Result of the CreateDimension operation returned by the service.
-
createDomainConfiguration
default CreateDomainConfigurationResponse createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest) throws LimitExceededException, CertificateValidationException, ResourceAlreadyExistsException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
- Parameters:
createDomainConfigurationRequest-- Returns:
- Result of the CreateDomainConfiguration operation returned by the service.
-
createDomainConfiguration
default CreateDomainConfigurationResponse createDomainConfiguration(Consumer<CreateDomainConfigurationRequest.Builder> createDomainConfigurationRequest) throws LimitExceededException, CertificateValidationException, ResourceAlreadyExistsException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException Creates a domain configuration.
Requires permission to access the CreateDomainConfiguration action.
This is a convenience which creates an instance of the
CreateDomainConfigurationRequest.Builderavoiding the need to create one manually viaCreateDomainConfigurationRequest.builder()- Parameters:
createDomainConfigurationRequest- AConsumerthat will call methods onCreateDomainConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateDomainConfiguration operation returned by the service.
-
createDynamicThingGroup
default CreateDynamicThingGroupResponse createDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ResourceNotFoundException, ThrottlingException, InternalFailureException, InvalidQueryException, LimitExceededException, AwsServiceException, SdkClientException, IotException Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
- Parameters:
createDynamicThingGroupRequest-- Returns:
- Result of the CreateDynamicThingGroup operation returned by the service.
-
createDynamicThingGroup
default CreateDynamicThingGroupResponse createDynamicThingGroup(Consumer<CreateDynamicThingGroupRequest.Builder> createDynamicThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ResourceNotFoundException, ThrottlingException, InternalFailureException, InvalidQueryException, LimitExceededException, AwsServiceException, SdkClientException, IotException Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
This is a convenience which creates an instance of the
CreateDynamicThingGroupRequest.Builderavoiding the need to create one manually viaCreateDynamicThingGroupRequest.builder()- Parameters:
createDynamicThingGroupRequest- AConsumerthat will call methods onCreateDynamicThingGroupRequest.Builderto create a request.- Returns:
- Result of the CreateDynamicThingGroup operation returned by the service.
-
createFleetMetric
default CreateFleetMetricResponse createFleetMetric(CreateFleetMetricRequest createFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
- Parameters:
createFleetMetricRequest-- Returns:
- Result of the CreateFleetMetric operation returned by the service.
-
createFleetMetric
default CreateFleetMetricResponse createFleetMetric(Consumer<CreateFleetMetricRequest.Builder> createFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Creates a fleet metric.
Requires permission to access the CreateFleetMetric action.
This is a convenience which creates an instance of the
CreateFleetMetricRequest.Builderavoiding the need to create one manually viaCreateFleetMetricRequest.builder()- Parameters:
createFleetMetricRequest- AConsumerthat will call methods onCreateFleetMetricRequest.Builderto create a request.- Returns:
- Result of the CreateFleetMetric operation returned by the service.
-
createJob
default CreateJobResponse createJob(CreateJobRequest createJobRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Creates a job.
Requires permission to access the CreateJob action.
- Parameters:
createJobRequest-- Returns:
- Result of the CreateJob operation returned by the service.
-
createJob
default CreateJobResponse createJob(Consumer<CreateJobRequest.Builder> createJobRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Creates a job.
Requires permission to access the CreateJob action.
This is a convenience which creates an instance of the
CreateJobRequest.Builderavoiding the need to create one manually viaCreateJobRequest.builder()- Parameters:
createJobRequest- AConsumerthat will call methods onCreateJobRequest.Builderto create a request.- Returns:
- Result of the CreateJob operation returned by the service.
-
createJobTemplate
default CreateJobTemplateResponse createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ConflictException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a job template.
Requires permission to access the CreateJobTemplate action.
- Parameters:
createJobTemplateRequest-- Returns:
- Result of the CreateJobTemplate operation returned by the service.
-
createJobTemplate
default CreateJobTemplateResponse createJobTemplate(Consumer<CreateJobTemplateRequest.Builder> createJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ConflictException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a job template.
Requires permission to access the CreateJobTemplate action.
This is a convenience which creates an instance of the
CreateJobTemplateRequest.Builderavoiding the need to create one manually viaCreateJobTemplateRequest.builder()- Parameters:
createJobTemplateRequest- AConsumerthat will call methods onCreateJobTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateJobTemplate operation returned by the service.
-
createKeysAndCertificate
default CreateKeysAndCertificateResponse createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call
CreateKeysAndCertificateover MQTT from a device, for more information, see Provisioning MQTT API.Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Requires permission to access the CreateKeysAndCertificate action.
- Parameters:
createKeysAndCertificateRequest- The input for the CreateKeysAndCertificate operation.Requires permission to access the CreateKeysAndCertificateRequest action.
- Returns:
- Result of the CreateKeysAndCertificate operation returned by the service.
-
createKeysAndCertificate
default CreateKeysAndCertificateResponse createKeysAndCertificate(Consumer<CreateKeysAndCertificateRequest.Builder> createKeysAndCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call
CreateKeysAndCertificateover MQTT from a device, for more information, see Provisioning MQTT API.Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Requires permission to access the CreateKeysAndCertificate action.
This is a convenience which creates an instance of the
CreateKeysAndCertificateRequest.Builderavoiding the need to create one manually viaCreateKeysAndCertificateRequest.builder()- Parameters:
createKeysAndCertificateRequest- AConsumerthat will call methods onCreateKeysAndCertificateRequest.Builderto create a request. The input for the CreateKeysAndCertificate operation.Requires permission to access the CreateKeysAndCertificateRequest action.
- Returns:
- Result of the CreateKeysAndCertificate operation returned by the service.
-
createKeysAndCertificate
default CreateKeysAndCertificateResponse createKeysAndCertificate() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionCreates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call
CreateKeysAndCertificateover MQTT from a device, for more information, see Provisioning MQTT API.Note This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Requires permission to access the CreateKeysAndCertificate action.
- Returns:
- Result of the CreateKeysAndCertificate operation returned by the service.
- See Also:
-
createMitigationAction
default CreateMitigationActionResponse createMitigationAction(CreateMitigationActionRequest createMitigationActionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change.
Requires permission to access the CreateMitigationAction action.
- Parameters:
createMitigationActionRequest-- Returns:
- Result of the CreateMitigationAction operation returned by the service.
-
createMitigationAction
default CreateMitigationActionResponse createMitigationAction(Consumer<CreateMitigationActionRequest.Builder> createMitigationActionRequest) throws InvalidRequestException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see Mitigation actions. Each mitigation action can apply only one type of change.
Requires permission to access the CreateMitigationAction action.
This is a convenience which creates an instance of the
CreateMitigationActionRequest.Builderavoiding the need to create one manually viaCreateMitigationActionRequest.builder()- Parameters:
createMitigationActionRequest- AConsumerthat will call methods onCreateMitigationActionRequest.Builderto create a request.- Returns:
- Result of the CreateMitigationAction operation returned by the service.
-
createOTAUpdate
default CreateOtaUpdateResponse createOTAUpdate(CreateOtaUpdateRequest createOtaUpdateRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
- Parameters:
createOtaUpdateRequest-- Returns:
- Result of the CreateOTAUpdate operation returned by the service.
-
createOTAUpdate
default CreateOtaUpdateResponse createOTAUpdate(Consumer<CreateOtaUpdateRequest.Builder> createOtaUpdateRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Creates an IoT OTA update on a target group of things or groups.
Requires permission to access the CreateOTAUpdate action.
This is a convenience which creates an instance of the
CreateOtaUpdateRequest.Builderavoiding the need to create one manually viaCreateOtaUpdateRequest.builder()- Parameters:
createOtaUpdateRequest- AConsumerthat will call methods onCreateOtaUpdateRequest.Builderto create a request.- Returns:
- Result of the CreateOTAUpdate operation returned by the service.
-
createPackage
default CreatePackageResponse createPackage(CreatePackageRequest createPackageRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IotException Creates an IoT software package that can be deployed to your fleet.
Requires permission to access the CreatePackage and GetIndexingConfiguration actions.
- Parameters:
createPackageRequest-- Returns:
- Result of the CreatePackage operation returned by the service.
-
createPackage
default CreatePackageResponse createPackage(Consumer<CreatePackageRequest.Builder> createPackageRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IotException Creates an IoT software package that can be deployed to your fleet.
Requires permission to access the CreatePackage and GetIndexingConfiguration actions.
This is a convenience which creates an instance of the
CreatePackageRequest.Builderavoiding the need to create one manually viaCreatePackageRequest.builder()- Parameters:
createPackageRequest- AConsumerthat will call methods onCreatePackageRequest.Builderto create a request.- Returns:
- Result of the CreatePackage operation returned by the service.
-
createPackageVersion
default CreatePackageVersionResponse createPackageVersion(CreatePackageVersionRequest createPackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IotException Creates a new version for an existing IoT software package.
Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.
- Parameters:
createPackageVersionRequest-- Returns:
- Result of the CreatePackageVersion operation returned by the service.
-
createPackageVersion
default CreatePackageVersionResponse createPackageVersion(Consumer<CreatePackageVersionRequest.Builder> createPackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IotException Creates a new version for an existing IoT software package.
Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions.
This is a convenience which creates an instance of the
CreatePackageVersionRequest.Builderavoiding the need to create one manually viaCreatePackageVersionRequest.builder()- Parameters:
createPackageVersionRequest- AConsumerthat will call methods onCreatePackageVersionRequest.Builderto create a request.- Returns:
- Result of the CreatePackageVersion operation returned by the service.
-
createPolicy
default CreatePolicyResponse createPolicy(CreatePolicyRequest createPolicyRequest) throws ResourceAlreadyExistsException, MalformedPolicyException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
Requires permission to access the CreatePolicy action.
- Parameters:
createPolicyRequest- The input for the CreatePolicy operation.- Returns:
- Result of the CreatePolicy operation returned by the service.
-
createPolicy
default CreatePolicyResponse createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest) throws ResourceAlreadyExistsException, MalformedPolicyException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates an IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
Requires permission to access the CreatePolicy action.
This is a convenience which creates an instance of the
CreatePolicyRequest.Builderavoiding the need to create one manually viaCreatePolicyRequest.builder()- Parameters:
createPolicyRequest- AConsumerthat will call methods onCreatePolicyRequest.Builderto create a request. The input for the CreatePolicy operation.- Returns:
- Result of the CreatePolicy operation returned by the service.
-
createPolicyVersion
default CreatePolicyVersionResponse createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest) throws ResourceNotFoundException, MalformedPolicyException, VersionsLimitExceededException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
Requires permission to access the CreatePolicyVersion action.
- Parameters:
createPolicyVersionRequest- The input for the CreatePolicyVersion operation.- Returns:
- Result of the CreatePolicyVersion operation returned by the service.
-
createPolicyVersion
default CreatePolicyVersionResponse createPolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest) throws ResourceNotFoundException, MalformedPolicyException, VersionsLimitExceededException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
Requires permission to access the CreatePolicyVersion action.
This is a convenience which creates an instance of the
CreatePolicyVersionRequest.Builderavoiding the need to create one manually viaCreatePolicyVersionRequest.builder()- Parameters:
createPolicyVersionRequest- AConsumerthat will call methods onCreatePolicyVersionRequest.Builderto create a request. The input for the CreatePolicyVersion operation.- Returns:
- Result of the CreatePolicyVersion operation returned by the service.
-
createProvisioningClaim
default CreateProvisioningClaimResponse createProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
- Parameters:
createProvisioningClaimRequest-- Returns:
- Result of the CreateProvisioningClaim operation returned by the service.
-
createProvisioningClaim
default CreateProvisioningClaimResponse createProvisioningClaim(Consumer<CreateProvisioningClaimRequest.Builder> createProvisioningClaimRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a provisioning claim.
Requires permission to access the CreateProvisioningClaim action.
This is a convenience which creates an instance of the
CreateProvisioningClaimRequest.Builderavoiding the need to create one manually viaCreateProvisioningClaimRequest.builder()- Parameters:
createProvisioningClaimRequest- AConsumerthat will call methods onCreateProvisioningClaimRequest.Builderto create a request.- Returns:
- Result of the CreateProvisioningClaim operation returned by the service.
-
createProvisioningTemplate
default CreateProvisioningTemplateResponse createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException Creates a provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
- Parameters:
createProvisioningTemplateRequest-- Returns:
- Result of the CreateProvisioningTemplate operation returned by the service.
-
createProvisioningTemplate
default CreateProvisioningTemplateResponse createProvisioningTemplate(Consumer<CreateProvisioningTemplateRequest.Builder> createProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException Creates a provisioning template.
Requires permission to access the CreateProvisioningTemplate action.
This is a convenience which creates an instance of the
CreateProvisioningTemplateRequest.Builderavoiding the need to create one manually viaCreateProvisioningTemplateRequest.builder()- Parameters:
createProvisioningTemplateRequest- AConsumerthat will call methods onCreateProvisioningTemplateRequest.Builderto create a request.- Returns:
- Result of the CreateProvisioningTemplate operation returned by the service.
-
createProvisioningTemplateVersion
default CreateProvisioningTemplateVersionResponse createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest) throws VersionsLimitExceededException, InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
- Parameters:
createProvisioningTemplateVersionRequest-- Returns:
- Result of the CreateProvisioningTemplateVersion operation returned by the service.
-
createProvisioningTemplateVersion
default CreateProvisioningTemplateVersionResponse createProvisioningTemplateVersion(Consumer<CreateProvisioningTemplateVersionRequest.Builder> createProvisioningTemplateVersionRequest) throws VersionsLimitExceededException, InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Creates a new version of a provisioning template.
Requires permission to access the CreateProvisioningTemplateVersion action.
This is a convenience which creates an instance of the
CreateProvisioningTemplateVersionRequest.Builderavoiding the need to create one manually viaCreateProvisioningTemplateVersionRequest.builder()- Parameters:
createProvisioningTemplateVersionRequest- AConsumerthat will call methods onCreateProvisioningTemplateVersionRequest.Builderto create a request.- Returns:
- Result of the CreateProvisioningTemplateVersion operation returned by the service.
-
createRoleAlias
default CreateRoleAliasResponse createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a role alias.
Requires permission to access the CreateRoleAlias action.
The value of
credentialDurationSecondsmust be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.- Parameters:
createRoleAliasRequest-- Returns:
- Result of the CreateRoleAlias operation returned by the service.
-
createRoleAlias
default CreateRoleAliasResponse createRoleAlias(Consumer<CreateRoleAliasRequest.Builder> createRoleAliasRequest) throws ResourceAlreadyExistsException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a role alias.
Requires permission to access the CreateRoleAlias action.
The value of
credentialDurationSecondsmust be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.
This is a convenience which creates an instance of the
CreateRoleAliasRequest.Builderavoiding the need to create one manually viaCreateRoleAliasRequest.builder()- Parameters:
createRoleAliasRequest- AConsumerthat will call methods onCreateRoleAliasRequest.Builderto create a request.- Returns:
- Result of the CreateRoleAlias operation returned by the service.
-
createScheduledAudit
default CreateScheduledAuditResponse createScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
- Parameters:
createScheduledAuditRequest-- Returns:
- Result of the CreateScheduledAudit operation returned by the service.
-
createScheduledAudit
default CreateScheduledAuditResponse createScheduledAudit(Consumer<CreateScheduledAuditRequest.Builder> createScheduledAuditRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Creates a scheduled audit that is run at a specified time interval.
Requires permission to access the CreateScheduledAudit action.
This is a convenience which creates an instance of the
CreateScheduledAuditRequest.Builderavoiding the need to create one manually viaCreateScheduledAuditRequest.builder()- Parameters:
createScheduledAuditRequest- AConsumerthat will call methods onCreateScheduledAuditRequest.Builderto create a request.- Returns:
- Result of the CreateScheduledAudit operation returned by the service.
-
createSecurityProfile
default CreateSecurityProfileResponse createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
- Parameters:
createSecurityProfileRequest-- Returns:
- Result of the CreateSecurityProfile operation returned by the service.
-
createSecurityProfile
default CreateSecurityProfileResponse createSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a Device Defender security profile.
Requires permission to access the CreateSecurityProfile action.
This is a convenience which creates an instance of the
CreateSecurityProfileRequest.Builderavoiding the need to create one manually viaCreateSecurityProfileRequest.builder()- Parameters:
createSecurityProfileRequest- AConsumerthat will call methods onCreateSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the CreateSecurityProfile operation returned by the service.
-
createStream
default CreateStreamResponse createStream(CreateStreamRequest createStreamRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.
Requires permission to access the CreateStream action.
- Parameters:
createStreamRequest-- Returns:
- Result of the CreateStream operation returned by the service.
-
createStream
default CreateStreamResponse createStream(Consumer<CreateStreamRequest.Builder> createStreamRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ResourceAlreadyExistsException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.
Requires permission to access the CreateStream action.
This is a convenience which creates an instance of the
CreateStreamRequest.Builderavoiding the need to create one manually viaCreateStreamRequest.builder()- Parameters:
createStreamRequest- AConsumerthat will call methods onCreateStreamRequest.Builderto create a request.- Returns:
- Result of the CreateStream operation returned by the service.
-
createThing
default CreateThingResponse createThing(CreateThingRequest createThingRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a
ResourceAlreadyExistsExceptionis thrown.This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThing action.
- Parameters:
createThingRequest- The input for the CreateThing operation.- Returns:
- Result of the CreateThing operation returned by the service.
-
createThing
default CreateThingResponse createThing(Consumer<CreateThingRequest.Builder> createThingRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a
ResourceAlreadyExistsExceptionis thrown.This is a control plane operation. See Authorization for information about authorizing control plane actions.
Requires permission to access the CreateThing action.
This is a convenience which creates an instance of the
CreateThingRequest.Builderavoiding the need to create one manually viaCreateThingRequest.builder()- Parameters:
createThingRequest- AConsumerthat will call methods onCreateThingRequest.Builderto create a request. The input for the CreateThing operation.- Returns:
- Result of the CreateThing operation returned by the service.
-
createThingGroup
default CreateThingGroupResponse createThingGroup(CreateThingGroupRequest createThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the
ThingGroupthat you create has the exact same attributes as an existingThingGroup, you will get a 200 success response.Requires permission to access the CreateThingGroup action.
- Parameters:
createThingGroupRequest-- Returns:
- Result of the CreateThingGroup operation returned by the service.
-
createThingGroup
default CreateThingGroupResponse createThingGroup(Consumer<CreateThingGroupRequest.Builder> createThingGroupRequest) throws InvalidRequestException, ResourceAlreadyExistsException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
If the
ThingGroupthat you create has the exact same attributes as an existingThingGroup, you will get a 200 success response.Requires permission to access the CreateThingGroup action.
This is a convenience which creates an instance of the
CreateThingGroupRequest.Builderavoiding the need to create one manually viaCreateThingGroupRequest.builder()- Parameters:
createThingGroupRequest- AConsumerthat will call methods onCreateThingGroupRequest.Builderto create a request.- Returns:
- Result of the CreateThingGroup operation returned by the service.
-
createThingType
default CreateThingTypeResponse createThingType(CreateThingTypeRequest createThingTypeRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException Creates a new thing type. If this call is made multiple times using the same thing type name and configuration, the call will succeed. If this call is made with the same thing type name but different configuration a
ResourceAlreadyExistsExceptionis thrown.Requires permission to access the CreateThingType action.
- Parameters:
createThingTypeRequest- The input for the CreateThingType operation.- Returns:
- Result of the CreateThingType operation returned by the service.
-
createThingType
default CreateThingTypeResponse createThingType(Consumer<CreateThingTypeRequest.Builder> createThingTypeRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException Creates a new thing type. If this call is made multiple times using the same thing type name and configuration, the call will succeed. If this call is made with the same thing type name but different configuration a
ResourceAlreadyExistsExceptionis thrown.Requires permission to access the CreateThingType action.
This is a convenience which creates an instance of the
CreateThingTypeRequest.Builderavoiding the need to create one manually viaCreateThingTypeRequest.builder()- Parameters:
createThingTypeRequest- AConsumerthat will call methods onCreateThingTypeRequest.Builderto create a request. The input for the CreateThingType operation.- Returns:
- Result of the CreateThingType operation returned by the service.
-
createTopicRule
default CreateTopicRuleResponse createTopicRule(CreateTopicRuleRequest createTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Requires permission to access the CreateTopicRule action.
- Parameters:
createTopicRuleRequest- The input for the CreateTopicRule operation.- Returns:
- Result of the CreateTopicRule operation returned by the service.
-
createTopicRule
default CreateTopicRuleResponse createTopicRule(Consumer<CreateTopicRuleRequest.Builder> createTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Requires permission to access the CreateTopicRule action.
This is a convenience which creates an instance of the
CreateTopicRuleRequest.Builderavoiding the need to create one manually viaCreateTopicRuleRequest.builder()- Parameters:
createTopicRuleRequest- AConsumerthat will call methods onCreateTopicRuleRequest.Builderto create a request. The input for the CreateTopicRule operation.- Returns:
- Result of the CreateTopicRule operation returned by the service.
-
createTopicRuleDestination
default CreateTopicRuleDestinationResponse createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
- Parameters:
createTopicRuleDestinationRequest-- Returns:
- Result of the CreateTopicRuleDestination operation returned by the service.
-
createTopicRuleDestination
default CreateTopicRuleDestinationResponse createTopicRuleDestination(Consumer<CreateTopicRuleDestinationRequest.Builder> createTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ResourceAlreadyExistsException, ServiceUnavailableException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Creates a topic rule destination. The destination must be confirmed prior to use.
Requires permission to access the CreateTopicRuleDestination action.
This is a convenience which creates an instance of the
CreateTopicRuleDestinationRequest.Builderavoiding the need to create one manually viaCreateTopicRuleDestinationRequest.builder()- Parameters:
createTopicRuleDestinationRequest- AConsumerthat will call methods onCreateTopicRuleDestinationRequest.Builderto create a request.- Returns:
- Result of the CreateTopicRuleDestination operation returned by the service.
-
deleteAccountAuditConfiguration
default DeleteAccountAuditConfigurationResponse deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
Requires permission to access the DeleteAccountAuditConfiguration action.
- Parameters:
deleteAccountAuditConfigurationRequest-- Returns:
- Result of the DeleteAccountAuditConfiguration operation returned by the service.
-
deleteAccountAuditConfiguration
default DeleteAccountAuditConfigurationResponse deleteAccountAuditConfiguration(Consumer<DeleteAccountAuditConfigurationRequest.Builder> deleteAccountAuditConfigurationRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
Requires permission to access the DeleteAccountAuditConfiguration action.
This is a convenience which creates an instance of the
DeleteAccountAuditConfigurationRequest.Builderavoiding the need to create one manually viaDeleteAccountAuditConfigurationRequest.builder()- Parameters:
deleteAccountAuditConfigurationRequest- AConsumerthat will call methods onDeleteAccountAuditConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteAccountAuditConfiguration operation returned by the service.
-
deleteAccountAuditConfiguration
default DeleteAccountAuditConfigurationResponse deleteAccountAuditConfiguration() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionRestores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled.
Requires permission to access the DeleteAccountAuditConfiguration action.
- Returns:
- Result of the DeleteAccountAuditConfiguration operation returned by the service.
- See Also:
-
deleteAuditSuppression
default DeleteAuditSuppressionResponse deleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
- Parameters:
deleteAuditSuppressionRequest-- Returns:
- Result of the DeleteAuditSuppression operation returned by the service.
-
deleteAuditSuppression
default DeleteAuditSuppressionResponse deleteAuditSuppression(Consumer<DeleteAuditSuppressionRequest.Builder> deleteAuditSuppressionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a Device Defender audit suppression.
Requires permission to access the DeleteAuditSuppression action.
This is a convenience which creates an instance of the
DeleteAuditSuppressionRequest.Builderavoiding the need to create one manually viaDeleteAuditSuppressionRequest.builder()- Parameters:
deleteAuditSuppressionRequest- AConsumerthat will call methods onDeleteAuditSuppressionRequest.Builderto create a request.- Returns:
- Result of the DeleteAuditSuppression operation returned by the service.
-
deleteAuthorizer
default DeleteAuthorizerResponse deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
- Parameters:
deleteAuthorizerRequest-- Returns:
- Result of the DeleteAuthorizer operation returned by the service.
-
deleteAuthorizer
default DeleteAuthorizerResponse deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes an authorizer.
Requires permission to access the DeleteAuthorizer action.
This is a convenience which creates an instance of the
DeleteAuthorizerRequest.Builderavoiding the need to create one manually viaDeleteAuthorizerRequest.builder()- Parameters:
deleteAuthorizerRequest- AConsumerthat will call methods onDeleteAuthorizerRequest.Builderto create a request.- Returns:
- Result of the DeleteAuthorizer operation returned by the service.
-
deleteBillingGroup
default DeleteBillingGroupResponse deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
- Parameters:
deleteBillingGroupRequest-- Returns:
- Result of the DeleteBillingGroup operation returned by the service.
-
deleteBillingGroup
default DeleteBillingGroupResponse deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the billing group.
Requires permission to access the DeleteBillingGroup action.
This is a convenience which creates an instance of the
DeleteBillingGroupRequest.Builderavoiding the need to create one manually viaDeleteBillingGroupRequest.builder()- Parameters:
deleteBillingGroupRequest- AConsumerthat will call methods onDeleteBillingGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteBillingGroup operation returned by the service.
-
deleteCACertificate
default DeleteCaCertificateResponse deleteCACertificate(DeleteCaCertificateRequest deleteCaCertificateRequest) throws InvalidRequestException, CertificateStateException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Deletes a registered CA certificate.
Requires permission to access the DeleteCACertificate action.
- Parameters:
deleteCaCertificateRequest- Input for the DeleteCACertificate operation.- Returns:
- Result of the DeleteCACertificate operation returned by the service.
-
deleteCACertificate
default DeleteCaCertificateResponse deleteCACertificate(Consumer<DeleteCaCertificateRequest.Builder> deleteCaCertificateRequest) throws InvalidRequestException, CertificateStateException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Deletes a registered CA certificate.
Requires permission to access the DeleteCACertificate action.
This is a convenience which creates an instance of the
DeleteCaCertificateRequest.Builderavoiding the need to create one manually viaDeleteCaCertificateRequest.builder()- Parameters:
deleteCaCertificateRequest- AConsumerthat will call methods onDeleteCaCertificateRequest.Builderto create a request. Input for the DeleteCACertificate operation.- Returns:
- Result of the DeleteCACertificate operation returned by the service.
-
deleteCertificate
default DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) throws CertificateStateException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Deletes the specified certificate.
A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the UpdateCertificate action to set the certificate to the INACTIVE status.
Requires permission to access the DeleteCertificate action.
- Parameters:
deleteCertificateRequest- The input for the DeleteCertificate operation.- Returns:
- Result of the DeleteCertificate operation returned by the service.
-
deleteCertificate
default DeleteCertificateResponse deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest) throws CertificateStateException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Deletes the specified certificate.
A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the UpdateCertificate action to set the certificate to the INACTIVE status.
Requires permission to access the DeleteCertificate action.
This is a convenience which creates an instance of the
DeleteCertificateRequest.Builderavoiding the need to create one manually viaDeleteCertificateRequest.builder()- Parameters:
deleteCertificateRequest- AConsumerthat will call methods onDeleteCertificateRequest.Builderto create a request. The input for the DeleteCertificate operation.- Returns:
- Result of the DeleteCertificate operation returned by the service.
-
deleteCertificateProvider
default DeleteCertificateProviderResponse deleteCertificateProvider(DeleteCertificateProviderRequest deleteCertificateProviderRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a certificate provider.
Requires permission to access the DeleteCertificateProvider action.
If you delete the certificate provider resource, the behavior of
CreateCertificateFromCsrwill resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).- Parameters:
deleteCertificateProviderRequest-- Returns:
- Result of the DeleteCertificateProvider operation returned by the service.
-
deleteCertificateProvider
default DeleteCertificateProviderResponse deleteCertificateProvider(Consumer<DeleteCertificateProviderRequest.Builder> deleteCertificateProviderRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a certificate provider.
Requires permission to access the DeleteCertificateProvider action.
If you delete the certificate provider resource, the behavior of
CreateCertificateFromCsrwill resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).
This is a convenience which creates an instance of the
DeleteCertificateProviderRequest.Builderavoiding the need to create one manually viaDeleteCertificateProviderRequest.builder()- Parameters:
deleteCertificateProviderRequest- AConsumerthat will call methods onDeleteCertificateProviderRequest.Builderto create a request.- Returns:
- Result of the DeleteCertificateProvider operation returned by the service.
-
deleteCustomMetric
default DeleteCustomMetricResponse deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a Device Defender detect custom metric.
Requires permission to access the DeleteCustomMetric action.
Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles API with
metricNameset to your custom metric name.- Parameters:
deleteCustomMetricRequest-- Returns:
- Result of the DeleteCustomMetric operation returned by the service.
-
deleteCustomMetric
default DeleteCustomMetricResponse deleteCustomMetric(Consumer<DeleteCustomMetricRequest.Builder> deleteCustomMetricRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a Device Defender detect custom metric.
Requires permission to access the DeleteCustomMetric action.
Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles API with
metricNameset to your custom metric name.
This is a convenience which creates an instance of the
DeleteCustomMetricRequest.Builderavoiding the need to create one manually viaDeleteCustomMetricRequest.builder()- Parameters:
deleteCustomMetricRequest- AConsumerthat will call methods onDeleteCustomMetricRequest.Builderto create a request.- Returns:
- Result of the DeleteCustomMetric operation returned by the service.
-
deleteDimension
default DeleteDimensionResponse deleteDimension(DeleteDimensionRequest deleteDimensionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
- Parameters:
deleteDimensionRequest-- Returns:
- Result of the DeleteDimension operation returned by the service.
-
deleteDimension
default DeleteDimensionResponse deleteDimension(Consumer<DeleteDimensionRequest.Builder> deleteDimensionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException Removes the specified dimension from your Amazon Web Services accounts.
Requires permission to access the DeleteDimension action.
This is a convenience which creates an instance of the
DeleteDimensionRequest.Builderavoiding the need to create one manually viaDeleteDimensionRequest.builder()- Parameters:
deleteDimensionRequest- AConsumerthat will call methods onDeleteDimensionRequest.Builderto create a request.- Returns:
- Result of the DeleteDimension operation returned by the service.
-
deleteDomainConfiguration
default DeleteDomainConfigurationResponse deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotException Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
- Parameters:
deleteDomainConfigurationRequest-- Returns:
- Result of the DeleteDomainConfiguration operation returned by the service.
-
deleteDomainConfiguration
default DeleteDomainConfigurationResponse deleteDomainConfiguration(Consumer<DeleteDomainConfigurationRequest.Builder> deleteDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotException Deletes the specified domain configuration.
Requires permission to access the DeleteDomainConfiguration action.
This is a convenience which creates an instance of the
DeleteDomainConfigurationRequest.Builderavoiding the need to create one manually viaDeleteDomainConfigurationRequest.builder()- Parameters:
deleteDomainConfigurationRequest- AConsumerthat will call methods onDeleteDomainConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteDomainConfiguration operation returned by the service.
-
deleteDynamicThingGroup
default DeleteDynamicThingGroupResponse deleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
- Parameters:
deleteDynamicThingGroupRequest-- Returns:
- Result of the DeleteDynamicThingGroup operation returned by the service.
-
deleteDynamicThingGroup
default DeleteDynamicThingGroupResponse deleteDynamicThingGroup(Consumer<DeleteDynamicThingGroupRequest.Builder> deleteDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a dynamic thing group.
Requires permission to access the DeleteDynamicThingGroup action.
This is a convenience which creates an instance of the
DeleteDynamicThingGroupRequest.Builderavoiding the need to create one manually viaDeleteDynamicThingGroupRequest.builder()- Parameters:
deleteDynamicThingGroupRequest- AConsumerthat will call methods onDeleteDynamicThingGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteDynamicThingGroup operation returned by the service.
-
deleteFleetMetric
default DeleteFleetMetricResponse deleteFleetMetric(DeleteFleetMetricRequest deleteFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn't exist.
Requires permission to access the DeleteFleetMetric action.
- Parameters:
deleteFleetMetricRequest-- Returns:
- Result of the DeleteFleetMetric operation returned by the service.
-
deleteFleetMetric
default DeleteFleetMetricResponse deleteFleetMetric(Consumer<DeleteFleetMetricRequest.Builder> deleteFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you specify a fleet metric that doesn't exist.
Requires permission to access the DeleteFleetMetric action.
This is a convenience which creates an instance of the
DeleteFleetMetricRequest.Builderavoiding the need to create one manually viaDeleteFleetMetricRequest.builder()- Parameters:
deleteFleetMetricRequest- AConsumerthat will call methods onDeleteFleetMetricRequest.Builderto create a request.- Returns:
- Result of the DeleteFleetMetric operation returned by the service.
-
deleteJob
default DeleteJobResponse deleteJob(DeleteJobRequest deleteJobRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Deletes a job and its related job executions.
Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.
Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.
Requires permission to access the DeleteJob action.
- Parameters:
deleteJobRequest-- Returns:
- Result of the DeleteJob operation returned by the service.
-
deleteJob
default DeleteJobResponse deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, LimitExceededException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Deletes a job and its related job executions.
Deleting a job may take time, depending on the number of job executions created for the job and various other factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error.
Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur.
Requires permission to access the DeleteJob action.
This is a convenience which creates an instance of the
DeleteJobRequest.Builderavoiding the need to create one manually viaDeleteJobRequest.builder()- Parameters:
deleteJobRequest- AConsumerthat will call methods onDeleteJobRequest.Builderto create a request.- Returns:
- Result of the DeleteJob operation returned by the service.
-
deleteJobExecution
default DeleteJobExecutionResponse deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Deletes a job execution.
Requires permission to access the DeleteJobExecution action.
- Parameters:
deleteJobExecutionRequest-- Returns:
- Result of the DeleteJobExecution operation returned by the service.
-
deleteJobExecution
default DeleteJobExecutionResponse deleteJobExecution(Consumer<DeleteJobExecutionRequest.Builder> deleteJobExecutionRequest) throws InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Deletes a job execution.
Requires permission to access the DeleteJobExecution action.
This is a convenience which creates an instance of the
DeleteJobExecutionRequest.Builderavoiding the need to create one manually viaDeleteJobExecutionRequest.builder()- Parameters:
deleteJobExecutionRequest- AConsumerthat will call methods onDeleteJobExecutionRequest.Builderto create a request.- Returns:
- Result of the DeleteJobExecution operation returned by the service.
-
deleteJobTemplate
default DeleteJobTemplateResponse deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified job template.
- Parameters:
deleteJobTemplateRequest-- Returns:
- Result of the DeleteJobTemplate operation returned by the service.
-
deleteJobTemplate
default DeleteJobTemplateResponse deleteJobTemplate(Consumer<DeleteJobTemplateRequest.Builder> deleteJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified job template.
This is a convenience which creates an instance of the
DeleteJobTemplateRequest.Builderavoiding the need to create one manually viaDeleteJobTemplateRequest.builder()- Parameters:
deleteJobTemplateRequest- AConsumerthat will call methods onDeleteJobTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteJobTemplate operation returned by the service.
-
deleteMitigationAction
default DeleteMitigationActionResponse deleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
- Parameters:
deleteMitigationActionRequest-- Returns:
- Result of the DeleteMitigationAction operation returned by the service.
-
deleteMitigationAction
default DeleteMitigationActionResponse deleteMitigationAction(Consumer<DeleteMitigationActionRequest.Builder> deleteMitigationActionRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
This is a convenience which creates an instance of the
DeleteMitigationActionRequest.Builderavoiding the need to create one manually viaDeleteMitigationActionRequest.builder()- Parameters:
deleteMitigationActionRequest- AConsumerthat will call methods onDeleteMitigationActionRequest.Builderto create a request.- Returns:
- Result of the DeleteMitigationAction operation returned by the service.
-
deleteOTAUpdate
default DeleteOtaUpdateResponse deleteOTAUpdate(DeleteOtaUpdateRequest deleteOtaUpdateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException Delete an OTA update.
Requires permission to access the DeleteOTAUpdate action.
- Parameters:
deleteOtaUpdateRequest-- Returns:
- Result of the DeleteOTAUpdate operation returned by the service.
-
deleteOTAUpdate
default DeleteOtaUpdateResponse deleteOTAUpdate(Consumer<DeleteOtaUpdateRequest.Builder> deleteOtaUpdateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, VersionConflictException, AwsServiceException, SdkClientException, IotException Delete an OTA update.
Requires permission to access the DeleteOTAUpdate action.
This is a convenience which creates an instance of the
DeleteOtaUpdateRequest.Builderavoiding the need to create one manually viaDeleteOtaUpdateRequest.builder()- Parameters:
deleteOtaUpdateRequest- AConsumerthat will call methods onDeleteOtaUpdateRequest.Builderto create a request.- Returns:
- Result of the DeleteOTAUpdate operation returned by the service.
-
deletePackage
default DeletePackageResponse deletePackage(DeletePackageRequest deletePackageRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Deletes a specific version from a software package.
Note: All package versions must be deleted before deleting the software package.
Requires permission to access the DeletePackageVersion action.
- Parameters:
deletePackageRequest-- Returns:
- Result of the DeletePackage operation returned by the service.
-
deletePackage
default DeletePackageResponse deletePackage(Consumer<DeletePackageRequest.Builder> deletePackageRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Deletes a specific version from a software package.
Note: All package versions must be deleted before deleting the software package.
Requires permission to access the DeletePackageVersion action.
This is a convenience which creates an instance of the
DeletePackageRequest.Builderavoiding the need to create one manually viaDeletePackageRequest.builder()- Parameters:
deletePackageRequest- AConsumerthat will call methods onDeletePackageRequest.Builderto create a request.- Returns:
- Result of the DeletePackage operation returned by the service.
-
deletePackageVersion
default DeletePackageVersionResponse deletePackageVersion(DeletePackageVersionRequest deletePackageVersionRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
- Parameters:
deletePackageVersionRequest-- Returns:
- Result of the DeletePackageVersion operation returned by the service.
-
deletePackageVersion
default DeletePackageVersionResponse deletePackageVersion(Consumer<DeletePackageVersionRequest.Builder> deletePackageVersionRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Deletes a specific version from a software package.
Note: If a package version is designated as default, you must remove the designation from the software package using the UpdatePackage action.
This is a convenience which creates an instance of the
DeletePackageVersionRequest.Builderavoiding the need to create one manually viaDeletePackageVersionRequest.builder()- Parameters:
deletePackageVersionRequest- AConsumerthat will call methods onDeletePackageVersionRequest.Builderto create a request.- Returns:
- Result of the DeletePackageVersion operation returned by the service.
-
deletePolicy
default DeletePolicyResponse deletePolicy(DeletePolicyRequest deletePolicyRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DeletePolicy action.
- Parameters:
deletePolicyRequest- The input for the DeletePolicy operation.- Returns:
- Result of the DeletePolicy operation returned by the service.
-
deletePolicy
default DeletePolicyResponse deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DeletePolicy action.
This is a convenience which creates an instance of the
DeletePolicyRequest.Builderavoiding the need to create one manually viaDeletePolicyRequest.builder()- Parameters:
deletePolicyRequest- AConsumerthat will call methods onDeletePolicyRequest.Builderto create a request. The input for the DeletePolicy operation.- Returns:
- Result of the DeletePolicy operation returned by the service.
-
deletePolicyVersion
default DeletePolicyVersionResponse deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
Requires permission to access the DeletePolicyVersion action.
- Parameters:
deletePolicyVersionRequest- The input for the DeletePolicyVersion operation.- Returns:
- Result of the DeletePolicyVersion operation returned by the service.
-
deletePolicyVersion
default DeletePolicyVersionResponse deletePolicyVersion(Consumer<DeletePolicyVersionRequest.Builder> deletePolicyVersionRequest) throws DeleteConflictException, ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
Requires permission to access the DeletePolicyVersion action.
This is a convenience which creates an instance of the
DeletePolicyVersionRequest.Builderavoiding the need to create one manually viaDeletePolicyVersionRequest.builder()- Parameters:
deletePolicyVersionRequest- AConsumerthat will call methods onDeletePolicyVersionRequest.Builderto create a request. The input for the DeletePolicyVersion operation.- Returns:
- Result of the DeletePolicyVersion operation returned by the service.
-
deleteProvisioningTemplate
default DeleteProvisioningTemplateResponse deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, DeleteConflictException, ThrottlingException, ConflictingResourceUpdateException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Deletes a provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
- Parameters:
deleteProvisioningTemplateRequest-- Returns:
- Result of the DeleteProvisioningTemplate operation returned by the service.
-
deleteProvisioningTemplate
default DeleteProvisioningTemplateResponse deleteProvisioningTemplate(Consumer<DeleteProvisioningTemplateRequest.Builder> deleteProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, DeleteConflictException, ThrottlingException, ConflictingResourceUpdateException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Deletes a provisioning template.
Requires permission to access the DeleteProvisioningTemplate action.
This is a convenience which creates an instance of the
DeleteProvisioningTemplateRequest.Builderavoiding the need to create one manually viaDeleteProvisioningTemplateRequest.builder()- Parameters:
deleteProvisioningTemplateRequest- AConsumerthat will call methods onDeleteProvisioningTemplateRequest.Builderto create a request.- Returns:
- Result of the DeleteProvisioningTemplate operation returned by the service.
-
deleteProvisioningTemplateVersion
default DeleteProvisioningTemplateVersionResponse deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, DeleteConflictException, AwsServiceException, SdkClientException, IotException Deletes a provisioning template version.
Requires permission to access the DeleteProvisioningTemplateVersion action.
- Parameters:
deleteProvisioningTemplateVersionRequest-- Returns:
- Result of the DeleteProvisioningTemplateVersion operation returned by the service.
-
deleteProvisioningTemplateVersion
default DeleteProvisioningTemplateVersionResponse deleteProvisioningTemplateVersion(Consumer<DeleteProvisioningTemplateVersionRequest.Builder> deleteProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, DeleteConflictException, AwsServiceException, SdkClientException, IotException Deletes a provisioning template version.
Requires permission to access the DeleteProvisioningTemplateVersion action.
This is a convenience which creates an instance of the
DeleteProvisioningTemplateVersionRequest.Builderavoiding the need to create one manually viaDeleteProvisioningTemplateVersionRequest.builder()- Parameters:
deleteProvisioningTemplateVersionRequest- AConsumerthat will call methods onDeleteProvisioningTemplateVersionRequest.Builderto create a request.- Returns:
- Result of the DeleteProvisioningTemplateVersion operation returned by the service.
-
deleteRegistrationCode
default DeleteRegistrationCodeResponse deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest) throws ThrottlingException, ResourceNotFoundException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a CA certificate registration code.
Requires permission to access the DeleteRegistrationCode action.
- Parameters:
deleteRegistrationCodeRequest- The input for the DeleteRegistrationCode operation.- Returns:
- Result of the DeleteRegistrationCode operation returned by the service.
-
deleteRegistrationCode
default DeleteRegistrationCodeResponse deleteRegistrationCode(Consumer<DeleteRegistrationCodeRequest.Builder> deleteRegistrationCodeRequest) throws ThrottlingException, ResourceNotFoundException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a CA certificate registration code.
Requires permission to access the DeleteRegistrationCode action.
This is a convenience which creates an instance of the
DeleteRegistrationCodeRequest.Builderavoiding the need to create one manually viaDeleteRegistrationCodeRequest.builder()- Parameters:
deleteRegistrationCodeRequest- AConsumerthat will call methods onDeleteRegistrationCodeRequest.Builderto create a request. The input for the DeleteRegistrationCode operation.- Returns:
- Result of the DeleteRegistrationCode operation returned by the service.
-
deleteRegistrationCode
default DeleteRegistrationCodeResponse deleteRegistrationCode() throws ThrottlingException, ResourceNotFoundException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionDeletes a CA certificate registration code.
Requires permission to access the DeleteRegistrationCode action.
- Returns:
- Result of the DeleteRegistrationCode operation returned by the service.
- See Also:
-
deleteRoleAlias
default DeleteRoleAliasResponse deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest) throws DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Deletes a role alias
Requires permission to access the DeleteRoleAlias action.
- Parameters:
deleteRoleAliasRequest-- Returns:
- Result of the DeleteRoleAlias operation returned by the service.
-
deleteRoleAlias
default DeleteRoleAliasResponse deleteRoleAlias(Consumer<DeleteRoleAliasRequest.Builder> deleteRoleAliasRequest) throws DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Deletes a role alias
Requires permission to access the DeleteRoleAlias action.
This is a convenience which creates an instance of the
DeleteRoleAliasRequest.Builderavoiding the need to create one manually viaDeleteRoleAliasRequest.builder()- Parameters:
deleteRoleAliasRequest- AConsumerthat will call methods onDeleteRoleAliasRequest.Builderto create a request.- Returns:
- Result of the DeleteRoleAlias operation returned by the service.
-
deleteScheduledAudit
default DeleteScheduledAuditResponse deleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a scheduled audit.
Requires permission to access the DeleteScheduledAudit action.
- Parameters:
deleteScheduledAuditRequest-- Returns:
- Result of the DeleteScheduledAudit operation returned by the service.
-
deleteScheduledAudit
default DeleteScheduledAuditResponse deleteScheduledAudit(Consumer<DeleteScheduledAuditRequest.Builder> deleteScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a scheduled audit.
Requires permission to access the DeleteScheduledAudit action.
This is a convenience which creates an instance of the
DeleteScheduledAuditRequest.Builderavoiding the need to create one manually viaDeleteScheduledAuditRequest.builder()- Parameters:
deleteScheduledAuditRequest- AConsumerthat will call methods onDeleteScheduledAuditRequest.Builderto create a request.- Returns:
- Result of the DeleteScheduledAudit operation returned by the service.
-
deleteSecurityProfile
default DeleteSecurityProfileResponse deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
- Parameters:
deleteSecurityProfileRequest-- Returns:
- Result of the DeleteSecurityProfile operation returned by the service.
-
deleteSecurityProfile
default DeleteSecurityProfileResponse deleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, VersionConflictException, AwsServiceException, SdkClientException, IotException Deletes a Device Defender security profile.
Requires permission to access the DeleteSecurityProfile action.
This is a convenience which creates an instance of the
DeleteSecurityProfileRequest.Builderavoiding the need to create one manually viaDeleteSecurityProfileRequest.builder()- Parameters:
deleteSecurityProfileRequest- AConsumerthat will call methods onDeleteSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the DeleteSecurityProfile operation returned by the service.
-
deleteStream
default DeleteStreamResponse deleteStream(DeleteStreamRequest deleteStreamRequest) throws ResourceNotFoundException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a stream.
Requires permission to access the DeleteStream action.
- Parameters:
deleteStreamRequest-- Returns:
- Result of the DeleteStream operation returned by the service.
-
deleteStream
default DeleteStreamResponse deleteStream(Consumer<DeleteStreamRequest.Builder> deleteStreamRequest) throws ResourceNotFoundException, DeleteConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a stream.
Requires permission to access the DeleteStream action.
This is a convenience which creates an instance of the
DeleteStreamRequest.Builderavoiding the need to create one manually viaDeleteStreamRequest.builder()- Parameters:
deleteStreamRequest- AConsumerthat will call methods onDeleteStreamRequest.Builderto create a request.- Returns:
- Result of the DeleteStream operation returned by the service.
-
deleteThing
default DeleteThingResponse deleteThing(DeleteThingRequest deleteThingRequest) throws ResourceNotFoundException, VersionConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
Requires permission to access the DeleteThing action.
- Parameters:
deleteThingRequest- The input for the DeleteThing operation.- Returns:
- Result of the DeleteThing operation returned by the service.
-
deleteThing
default DeleteThingResponse deleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest) throws ResourceNotFoundException, VersionConflictException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
Requires permission to access the DeleteThing action.
This is a convenience which creates an instance of the
DeleteThingRequest.Builderavoiding the need to create one manually viaDeleteThingRequest.builder()- Parameters:
deleteThingRequest- AConsumerthat will call methods onDeleteThingRequest.Builderto create a request. The input for the DeleteThing operation.- Returns:
- Result of the DeleteThing operation returned by the service.
-
deleteThingGroup
default DeleteThingGroupResponse deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a thing group.
Requires permission to access the DeleteThingGroup action.
- Parameters:
deleteThingGroupRequest-- Returns:
- Result of the DeleteThingGroup operation returned by the service.
-
deleteThingGroup
default DeleteThingGroupResponse deleteThingGroup(Consumer<DeleteThingGroupRequest.Builder> deleteThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes a thing group.
Requires permission to access the DeleteThingGroup action.
This is a convenience which creates an instance of the
DeleteThingGroupRequest.Builderavoiding the need to create one manually viaDeleteThingGroupRequest.builder()- Parameters:
deleteThingGroupRequest- AConsumerthat will call methods onDeleteThingGroupRequest.Builderto create a request.- Returns:
- Result of the DeleteThingGroup operation returned by the service.
-
deleteThingType
default DeleteThingTypeResponse deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
Requires permission to access the DeleteThingType action.
- Parameters:
deleteThingTypeRequest- The input for the DeleteThingType operation.- Returns:
- Result of the DeleteThingType operation returned by the service.
-
deleteThingType
default DeleteThingTypeResponse deleteThingType(Consumer<DeleteThingTypeRequest.Builder> deleteThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
Requires permission to access the DeleteThingType action.
This is a convenience which creates an instance of the
DeleteThingTypeRequest.Builderavoiding the need to create one manually viaDeleteThingTypeRequest.builder()- Parameters:
deleteThingTypeRequest- AConsumerthat will call methods onDeleteThingTypeRequest.Builderto create a request. The input for the DeleteThingType operation.- Returns:
- Result of the DeleteThingType operation returned by the service.
-
deleteTopicRule
default DeleteTopicRuleResponse deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Deletes the rule.
Requires permission to access the DeleteTopicRule action.
- Parameters:
deleteTopicRuleRequest- The input for the DeleteTopicRule operation.- Returns:
- Result of the DeleteTopicRule operation returned by the service.
-
deleteTopicRule
default DeleteTopicRuleResponse deleteTopicRule(Consumer<DeleteTopicRuleRequest.Builder> deleteTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Deletes the rule.
Requires permission to access the DeleteTopicRule action.
This is a convenience which creates an instance of the
DeleteTopicRuleRequest.Builderavoiding the need to create one manually viaDeleteTopicRuleRequest.builder()- Parameters:
deleteTopicRuleRequest- AConsumerthat will call methods onDeleteTopicRuleRequest.Builderto create a request. The input for the DeleteTopicRule operation.- Returns:
- Result of the DeleteTopicRule operation returned by the service.
-
deleteTopicRuleDestination
default DeleteTopicRuleDestinationResponse deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
- Parameters:
deleteTopicRuleDestinationRequest-- Returns:
- Result of the DeleteTopicRuleDestination operation returned by the service.
-
deleteTopicRuleDestination
default DeleteTopicRuleDestinationResponse deleteTopicRuleDestination(Consumer<DeleteTopicRuleDestinationRequest.Builder> deleteTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Deletes a topic rule destination.
Requires permission to access the DeleteTopicRuleDestination action.
This is a convenience which creates an instance of the
DeleteTopicRuleDestinationRequest.Builderavoiding the need to create one manually viaDeleteTopicRuleDestinationRequest.builder()- Parameters:
deleteTopicRuleDestinationRequest- AConsumerthat will call methods onDeleteTopicRuleDestinationRequest.Builderto create a request.- Returns:
- Result of the DeleteTopicRuleDestination operation returned by the service.
-
deleteV2LoggingLevel
default DeleteV2LoggingLevelResponse deleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Deletes a logging level.
Requires permission to access the DeleteV2LoggingLevel action.
- Parameters:
deleteV2LoggingLevelRequest-- Returns:
- Result of the DeleteV2LoggingLevel operation returned by the service.
-
deleteV2LoggingLevel
default DeleteV2LoggingLevelResponse deleteV2LoggingLevel(Consumer<DeleteV2LoggingLevelRequest.Builder> deleteV2LoggingLevelRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Deletes a logging level.
Requires permission to access the DeleteV2LoggingLevel action.
This is a convenience which creates an instance of the
DeleteV2LoggingLevelRequest.Builderavoiding the need to create one manually viaDeleteV2LoggingLevelRequest.builder()- Parameters:
deleteV2LoggingLevelRequest- AConsumerthat will call methods onDeleteV2LoggingLevelRequest.Builderto create a request.- Returns:
- Result of the DeleteV2LoggingLevel operation returned by the service.
-
deprecateThingType
default DeprecateThingTypeResponse deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deprecates a thing type. You can not associate new things with deprecated thing type.
Requires permission to access the DeprecateThingType action.
- Parameters:
deprecateThingTypeRequest- The input for the DeprecateThingType operation.- Returns:
- Result of the DeprecateThingType operation returned by the service.
-
deprecateThingType
default DeprecateThingTypeResponse deprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Deprecates a thing type. You can not associate new things with deprecated thing type.
Requires permission to access the DeprecateThingType action.
This is a convenience which creates an instance of the
DeprecateThingTypeRequest.Builderavoiding the need to create one manually viaDeprecateThingTypeRequest.builder()- Parameters:
deprecateThingTypeRequest- AConsumerthat will call methods onDeprecateThingTypeRequest.Builderto create a request. The input for the DeprecateThingType operation.- Returns:
- Result of the DeprecateThingType operation returned by the service.
-
describeAccountAuditConfiguration
default DescribeAccountAuditConfigurationResponse describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest) throws ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
- Parameters:
describeAccountAuditConfigurationRequest-- Returns:
- Result of the DescribeAccountAuditConfiguration operation returned by the service.
-
describeAccountAuditConfiguration
default DescribeAccountAuditConfigurationResponse describeAccountAuditConfiguration(Consumer<DescribeAccountAuditConfigurationRequest.Builder> describeAccountAuditConfigurationRequest) throws ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
This is a convenience which creates an instance of the
DescribeAccountAuditConfigurationRequest.Builderavoiding the need to create one manually viaDescribeAccountAuditConfigurationRequest.builder()- Parameters:
describeAccountAuditConfigurationRequest- AConsumerthat will call methods onDescribeAccountAuditConfigurationRequest.Builderto create a request.- Returns:
- Result of the DescribeAccountAuditConfiguration operation returned by the service.
-
describeAccountAuditConfiguration
default DescribeAccountAuditConfigurationResponse describeAccountAuditConfiguration() throws ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionGets information about the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the DescribeAccountAuditConfiguration action.
- Returns:
- Result of the DescribeAccountAuditConfiguration operation returned by the service.
- See Also:
-
describeAuditFinding
default DescribeAuditFindingResponse describeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.
Requires permission to access the DescribeAuditFinding action.
- Parameters:
describeAuditFindingRequest-- Returns:
- Result of the DescribeAuditFinding operation returned by the service.
-
describeAuditFinding
default DescribeAuditFindingResponse describeAuditFinding(Consumer<DescribeAuditFindingRequest.Builder> describeAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of the issue, and the start time when the audit that returned the finding.
Requires permission to access the DescribeAuditFinding action.
This is a convenience which creates an instance of the
DescribeAuditFindingRequest.Builderavoiding the need to create one manually viaDescribeAuditFindingRequest.builder()- Parameters:
describeAuditFindingRequest- AConsumerthat will call methods onDescribeAuditFindingRequest.Builderto create a request.- Returns:
- Result of the DescribeAuditFinding operation returned by the service.
-
describeAuditMitigationActionsTask
default DescribeAuditMitigationActionsTaskResponse describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
- Parameters:
describeAuditMitigationActionsTaskRequest-- Returns:
- Result of the DescribeAuditMitigationActionsTask operation returned by the service.
-
describeAuditMitigationActionsTask
default DescribeAuditMitigationActionsTaskResponse describeAuditMitigationActionsTask(Consumer<DescribeAuditMitigationActionsTaskRequest.Builder> describeAuditMitigationActionsTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
This is a convenience which creates an instance of the
DescribeAuditMitigationActionsTaskRequest.Builderavoiding the need to create one manually viaDescribeAuditMitigationActionsTaskRequest.builder()- Parameters:
describeAuditMitigationActionsTaskRequest- AConsumerthat will call methods onDescribeAuditMitigationActionsTaskRequest.Builderto create a request.- Returns:
- Result of the DescribeAuditMitigationActionsTask operation returned by the service.
-
describeAuditSuppression
default DescribeAuditSuppressionResponse describeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender audit suppression.
- Parameters:
describeAuditSuppressionRequest-- Returns:
- Result of the DescribeAuditSuppression operation returned by the service.
-
describeAuditSuppression
default DescribeAuditSuppressionResponse describeAuditSuppression(Consumer<DescribeAuditSuppressionRequest.Builder> describeAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender audit suppression.
This is a convenience which creates an instance of the
DescribeAuditSuppressionRequest.Builderavoiding the need to create one manually viaDescribeAuditSuppressionRequest.builder()- Parameters:
describeAuditSuppressionRequest- AConsumerthat will call methods onDescribeAuditSuppressionRequest.Builderto create a request.- Returns:
- Result of the DescribeAuditSuppression operation returned by the service.
-
describeAuditTask
default DescribeAuditTaskResponse describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
- Parameters:
describeAuditTaskRequest-- Returns:
- Result of the DescribeAuditTask operation returned by the service.
-
describeAuditTask
default DescribeAuditTaskResponse describeAuditTask(Consumer<DescribeAuditTaskRequest.Builder> describeAuditTaskRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender audit.
Requires permission to access the DescribeAuditTask action.
This is a convenience which creates an instance of the
DescribeAuditTaskRequest.Builderavoiding the need to create one manually viaDescribeAuditTaskRequest.builder()- Parameters:
describeAuditTaskRequest- AConsumerthat will call methods onDescribeAuditTaskRequest.Builderto create a request.- Returns:
- Result of the DescribeAuditTask operation returned by the service.
-
describeAuthorizer
default DescribeAuthorizerResponse describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Describes an authorizer.
Requires permission to access the DescribeAuthorizer action.
- Parameters:
describeAuthorizerRequest-- Returns:
- Result of the DescribeAuthorizer operation returned by the service.
-
describeAuthorizer
default DescribeAuthorizerResponse describeAuthorizer(Consumer<DescribeAuthorizerRequest.Builder> describeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Describes an authorizer.
Requires permission to access the DescribeAuthorizer action.
This is a convenience which creates an instance of the
DescribeAuthorizerRequest.Builderavoiding the need to create one manually viaDescribeAuthorizerRequest.builder()- Parameters:
describeAuthorizerRequest- AConsumerthat will call methods onDescribeAuthorizerRequest.Builderto create a request.- Returns:
- Result of the DescribeAuthorizer operation returned by the service.
-
describeBillingGroup
default DescribeBillingGroupResponse describeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
- Parameters:
describeBillingGroupRequest-- Returns:
- Result of the DescribeBillingGroup operation returned by the service.
-
describeBillingGroup
default DescribeBillingGroupResponse describeBillingGroup(Consumer<DescribeBillingGroupRequest.Builder> describeBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Returns information about a billing group.
Requires permission to access the DescribeBillingGroup action.
This is a convenience which creates an instance of the
DescribeBillingGroupRequest.Builderavoiding the need to create one manually viaDescribeBillingGroupRequest.builder()- Parameters:
describeBillingGroupRequest- AConsumerthat will call methods onDescribeBillingGroupRequest.Builderto create a request.- Returns:
- Result of the DescribeBillingGroup operation returned by the service.
-
describeCACertificate
default DescribeCaCertificateResponse describeCACertificate(DescribeCaCertificateRequest describeCaCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a registered CA certificate.
Requires permission to access the DescribeCACertificate action.
- Parameters:
describeCaCertificateRequest- The input for the DescribeCACertificate operation.- Returns:
- Result of the DescribeCACertificate operation returned by the service.
-
describeCACertificate
default DescribeCaCertificateResponse describeCACertificate(Consumer<DescribeCaCertificateRequest.Builder> describeCaCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a registered CA certificate.
Requires permission to access the DescribeCACertificate action.
This is a convenience which creates an instance of the
DescribeCaCertificateRequest.Builderavoiding the need to create one manually viaDescribeCaCertificateRequest.builder()- Parameters:
describeCaCertificateRequest- AConsumerthat will call methods onDescribeCaCertificateRequest.Builderto create a request. The input for the DescribeCACertificate operation.- Returns:
- Result of the DescribeCACertificate operation returned by the service.
-
describeCertificate
default DescribeCertificateResponse describeCertificate(DescribeCertificateRequest describeCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified certificate.
Requires permission to access the DescribeCertificate action.
- Parameters:
describeCertificateRequest- The input for the DescribeCertificate operation.- Returns:
- Result of the DescribeCertificate operation returned by the service.
-
describeCertificate
default DescribeCertificateResponse describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified certificate.
Requires permission to access the DescribeCertificate action.
This is a convenience which creates an instance of the
DescribeCertificateRequest.Builderavoiding the need to create one manually viaDescribeCertificateRequest.builder()- Parameters:
describeCertificateRequest- AConsumerthat will call methods onDescribeCertificateRequest.Builderto create a request. The input for the DescribeCertificate operation.- Returns:
- Result of the DescribeCertificate operation returned by the service.
-
describeCertificateProvider
default DescribeCertificateProviderResponse describeCertificateProvider(DescribeCertificateProviderRequest describeCertificateProviderRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Describes a certificate provider.
Requires permission to access the DescribeCertificateProvider action.
- Parameters:
describeCertificateProviderRequest-- Returns:
- Result of the DescribeCertificateProvider operation returned by the service.
-
describeCertificateProvider
default DescribeCertificateProviderResponse describeCertificateProvider(Consumer<DescribeCertificateProviderRequest.Builder> describeCertificateProviderRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Describes a certificate provider.
Requires permission to access the DescribeCertificateProvider action.
This is a convenience which creates an instance of the
DescribeCertificateProviderRequest.Builderavoiding the need to create one manually viaDescribeCertificateProviderRequest.builder()- Parameters:
describeCertificateProviderRequest- AConsumerthat will call methods onDescribeCertificateProviderRequest.Builderto create a request.- Returns:
- Result of the DescribeCertificateProvider operation returned by the service.
-
describeCustomMetric
default DescribeCustomMetricResponse describeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender detect custom metric.
Requires permission to access the DescribeCustomMetric action.
- Parameters:
describeCustomMetricRequest-- Returns:
- Result of the DescribeCustomMetric operation returned by the service.
-
describeCustomMetric
default DescribeCustomMetricResponse describeCustomMetric(Consumer<DescribeCustomMetricRequest.Builder> describeCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender detect custom metric.
Requires permission to access the DescribeCustomMetric action.
This is a convenience which creates an instance of the
DescribeCustomMetricRequest.Builderavoiding the need to create one manually viaDescribeCustomMetricRequest.builder()- Parameters:
describeCustomMetricRequest- AConsumerthat will call methods onDescribeCustomMetricRequest.Builderto create a request.- Returns:
- Result of the DescribeCustomMetric operation returned by the service.
-
describeDefaultAuthorizer
default DescribeDefaultAuthorizerResponse describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Describes the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
- Parameters:
describeDefaultAuthorizerRequest-- Returns:
- Result of the DescribeDefaultAuthorizer operation returned by the service.
-
describeDefaultAuthorizer
default DescribeDefaultAuthorizerResponse describeDefaultAuthorizer(Consumer<DescribeDefaultAuthorizerRequest.Builder> describeDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Describes the default authorizer.
Requires permission to access the DescribeDefaultAuthorizer action.
This is a convenience which creates an instance of the
DescribeDefaultAuthorizerRequest.Builderavoiding the need to create one manually viaDescribeDefaultAuthorizerRequest.builder()- Parameters:
describeDefaultAuthorizerRequest- AConsumerthat will call methods onDescribeDefaultAuthorizerRequest.Builderto create a request.- Returns:
- Result of the DescribeDefaultAuthorizer operation returned by the service.
-
describeDetectMitigationActionsTask
default DescribeDetectMitigationActionsTaskResponse describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender ML Detect mitigation action.
Requires permission to access the DescribeDetectMitigationActionsTask action.
- Parameters:
describeDetectMitigationActionsTaskRequest-- Returns:
- Result of the DescribeDetectMitigationActionsTask operation returned by the service.
-
describeDetectMitigationActionsTask
default DescribeDetectMitigationActionsTaskResponse describeDetectMitigationActionsTask(Consumer<DescribeDetectMitigationActionsTaskRequest.Builder> describeDetectMitigationActionsTaskRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender ML Detect mitigation action.
Requires permission to access the DescribeDetectMitigationActionsTask action.
This is a convenience which creates an instance of the
DescribeDetectMitigationActionsTaskRequest.Builderavoiding the need to create one manually viaDescribeDetectMitigationActionsTaskRequest.builder()- Parameters:
describeDetectMitigationActionsTaskRequest- AConsumerthat will call methods onDescribeDetectMitigationActionsTaskRequest.Builderto create a request.- Returns:
- Result of the DescribeDetectMitigationActionsTask operation returned by the service.
-
describeDimension
default DescribeDimensionResponse describeDimension(DescribeDimensionRequest describeDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
- Parameters:
describeDimensionRequest-- Returns:
- Result of the DescribeDimension operation returned by the service.
-
describeDimension
default DescribeDimensionResponse describeDimension(Consumer<DescribeDimensionRequest.Builder> describeDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Provides details about a dimension that is defined in your Amazon Web Services accounts.
Requires permission to access the DescribeDimension action.
This is a convenience which creates an instance of the
DescribeDimensionRequest.Builderavoiding the need to create one manually viaDescribeDimensionRequest.builder()- Parameters:
describeDimensionRequest- AConsumerthat will call methods onDescribeDimensionRequest.Builderto create a request.- Returns:
- Result of the DescribeDimension operation returned by the service.
-
describeDomainConfiguration
default DescribeDomainConfigurationResponse describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InvalidRequestException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
- Parameters:
describeDomainConfigurationRequest-- Returns:
- Result of the DescribeDomainConfiguration operation returned by the service.
-
describeDomainConfiguration
default DescribeDomainConfigurationResponse describeDomainConfiguration(Consumer<DescribeDomainConfigurationRequest.Builder> describeDomainConfigurationRequest) throws ResourceNotFoundException, ThrottlingException, InvalidRequestException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets summary information about a domain configuration.
Requires permission to access the DescribeDomainConfiguration action.
This is a convenience which creates an instance of the
DescribeDomainConfigurationRequest.Builderavoiding the need to create one manually viaDescribeDomainConfigurationRequest.builder()- Parameters:
describeDomainConfigurationRequest- AConsumerthat will call methods onDescribeDomainConfigurationRequest.Builderto create a request.- Returns:
- Result of the DescribeDomainConfiguration operation returned by the service.
-
describeEndpoint
default DescribeEndpointResponse describeEndpoint(DescribeEndpointRequest describeEndpointRequest) throws InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.
The first time
DescribeEndpointis called, an endpoint is created. All subsequent calls toDescribeEndpointreturn the same endpoint.Requires permission to access the DescribeEndpoint action.
- Parameters:
describeEndpointRequest- The input for the DescribeEndpoint operation.- Returns:
- Result of the DescribeEndpoint operation returned by the service.
-
describeEndpoint
default DescribeEndpointResponse describeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest) throws InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotException Returns or creates a unique endpoint specific to the Amazon Web Services account making the call.
The first time
DescribeEndpointis called, an endpoint is created. All subsequent calls toDescribeEndpointreturn the same endpoint.Requires permission to access the DescribeEndpoint action.
This is a convenience which creates an instance of the
DescribeEndpointRequest.Builderavoiding the need to create one manually viaDescribeEndpointRequest.builder()- Parameters:
describeEndpointRequest- AConsumerthat will call methods onDescribeEndpointRequest.Builderto create a request. The input for the DescribeEndpoint operation.- Returns:
- Result of the DescribeEndpoint operation returned by the service.
-
describeEndpoint
default DescribeEndpointResponse describeEndpoint() throws InternalFailureException, InvalidRequestException, UnauthorizedException, ThrottlingException, AwsServiceException, SdkClientException, IotExceptionReturns or creates a unique endpoint specific to the Amazon Web Services account making the call.
The first time
DescribeEndpointis called, an endpoint is created. All subsequent calls toDescribeEndpointreturn the same endpoint.Requires permission to access the DescribeEndpoint action.
- Returns:
- Result of the DescribeEndpoint operation returned by the service.
- See Also:
-
describeEventConfigurations
default DescribeEventConfigurationsResponse describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest) throws InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
- Parameters:
describeEventConfigurationsRequest-- Returns:
- Result of the DescribeEventConfigurations operation returned by the service.
-
describeEventConfigurations
default DescribeEventConfigurationsResponse describeEventConfigurations(Consumer<DescribeEventConfigurationsRequest.Builder> describeEventConfigurationsRequest) throws InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException Describes event configurations.
Requires permission to access the DescribeEventConfigurations action.
This is a convenience which creates an instance of the
DescribeEventConfigurationsRequest.Builderavoiding the need to create one manually viaDescribeEventConfigurationsRequest.builder()- Parameters:
describeEventConfigurationsRequest- AConsumerthat will call methods onDescribeEventConfigurationsRequest.Builderto create a request.- Returns:
- Result of the DescribeEventConfigurations operation returned by the service.
-
describeEventConfigurations
default DescribeEventConfigurationsResponse describeEventConfigurations() throws InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotExceptionDescribes event configurations.
Requires permission to access the DescribeEventConfigurations action.
- Returns:
- Result of the DescribeEventConfigurations operation returned by the service.
- See Also:
-
describeFleetMetric
default DescribeFleetMetricResponse describeFleetMetric(DescribeFleetMetricRequest describeFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
- Parameters:
describeFleetMetricRequest-- Returns:
- Result of the DescribeFleetMetric operation returned by the service.
-
describeFleetMetric
default DescribeFleetMetricResponse describeFleetMetric(Consumer<DescribeFleetMetricRequest.Builder> describeFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified fleet metric.
Requires permission to access the DescribeFleetMetric action.
This is a convenience which creates an instance of the
DescribeFleetMetricRequest.Builderavoiding the need to create one manually viaDescribeFleetMetricRequest.builder()- Parameters:
describeFleetMetricRequest- AConsumerthat will call methods onDescribeFleetMetricRequest.Builderto create a request.- Returns:
- Result of the DescribeFleetMetric operation returned by the service.
-
describeIndex
default DescribeIndexResponse describeIndex(DescribeIndexRequest describeIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a search index.
Requires permission to access the DescribeIndex action.
- Parameters:
describeIndexRequest-- Returns:
- Result of the DescribeIndex operation returned by the service.
-
describeIndex
default DescribeIndexResponse describeIndex(Consumer<DescribeIndexRequest.Builder> describeIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a search index.
Requires permission to access the DescribeIndex action.
This is a convenience which creates an instance of the
DescribeIndexRequest.Builderavoiding the need to create one manually viaDescribeIndexRequest.builder()- Parameters:
describeIndexRequest- AConsumerthat will call methods onDescribeIndexRequest.Builderto create a request.- Returns:
- Result of the DescribeIndex operation returned by the service.
-
describeJob
default DescribeJobResponse describeJob(DescribeJobRequest describeJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Describes a job.
Requires permission to access the DescribeJob action.
- Parameters:
describeJobRequest-- Returns:
- Result of the DescribeJob operation returned by the service.
-
describeJob
default DescribeJobResponse describeJob(Consumer<DescribeJobRequest.Builder> describeJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Describes a job.
Requires permission to access the DescribeJob action.
This is a convenience which creates an instance of the
DescribeJobRequest.Builderavoiding the need to create one manually viaDescribeJobRequest.builder()- Parameters:
describeJobRequest- AConsumerthat will call methods onDescribeJobRequest.Builderto create a request.- Returns:
- Result of the DescribeJob operation returned by the service.
-
describeJobExecution
default DescribeJobExecutionResponse describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Describes a job execution.
Requires permission to access the DescribeJobExecution action.
- Parameters:
describeJobExecutionRequest-- Returns:
- Result of the DescribeJobExecution operation returned by the service.
-
describeJobExecution
default DescribeJobExecutionResponse describeJobExecution(Consumer<DescribeJobExecutionRequest.Builder> describeJobExecutionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Describes a job execution.
Requires permission to access the DescribeJobExecution action.
This is a convenience which creates an instance of the
DescribeJobExecutionRequest.Builderavoiding the need to create one manually viaDescribeJobExecutionRequest.builder()- Parameters:
describeJobExecutionRequest- AConsumerthat will call methods onDescribeJobExecutionRequest.Builderto create a request.- Returns:
- Result of the DescribeJobExecution operation returned by the service.
-
describeJobTemplate
default DescribeJobTemplateResponse describeJobTemplate(DescribeJobTemplateRequest describeJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Returns information about a job template.
- Parameters:
describeJobTemplateRequest-- Returns:
- Result of the DescribeJobTemplate operation returned by the service.
-
describeJobTemplate
default DescribeJobTemplateResponse describeJobTemplate(Consumer<DescribeJobTemplateRequest.Builder> describeJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Returns information about a job template.
This is a convenience which creates an instance of the
DescribeJobTemplateRequest.Builderavoiding the need to create one manually viaDescribeJobTemplateRequest.builder()- Parameters:
describeJobTemplateRequest- AConsumerthat will call methods onDescribeJobTemplateRequest.Builderto create a request.- Returns:
- Result of the DescribeJobTemplate operation returned by the service.
-
describeManagedJobTemplate
default DescribeManagedJobTemplateResponse describeManagedJobTemplate(DescribeManagedJobTemplateRequest describeManagedJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException View details of a managed job template.
- Parameters:
describeManagedJobTemplateRequest-- Returns:
- Result of the DescribeManagedJobTemplate operation returned by the service.
-
describeManagedJobTemplate
default DescribeManagedJobTemplateResponse describeManagedJobTemplate(Consumer<DescribeManagedJobTemplateRequest.Builder> describeManagedJobTemplateRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException View details of a managed job template.
This is a convenience which creates an instance of the
DescribeManagedJobTemplateRequest.Builderavoiding the need to create one manually viaDescribeManagedJobTemplateRequest.builder()- Parameters:
describeManagedJobTemplateRequest- AConsumerthat will call methods onDescribeManagedJobTemplateRequest.Builderto create a request.- Returns:
- Result of the DescribeManagedJobTemplate operation returned by the service.
-
describeMitigationAction
default DescribeMitigationActionResponse describeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
- Parameters:
describeMitigationActionRequest-- Returns:
- Result of the DescribeMitigationAction operation returned by the service.
-
describeMitigationAction
default DescribeMitigationActionResponse describeMitigationAction(Consumer<DescribeMitigationActionRequest.Builder> describeMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a mitigation action.
Requires permission to access the DescribeMitigationAction action.
This is a convenience which creates an instance of the
DescribeMitigationActionRequest.Builderavoiding the need to create one manually viaDescribeMitigationActionRequest.builder()- Parameters:
describeMitigationActionRequest- AConsumerthat will call methods onDescribeMitigationActionRequest.Builderto create a request.- Returns:
- Result of the DescribeMitigationAction operation returned by the service.
-
describeProvisioningTemplate
default DescribeProvisioningTemplateResponse describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Returns information about a provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
- Parameters:
describeProvisioningTemplateRequest-- Returns:
- Result of the DescribeProvisioningTemplate operation returned by the service.
-
describeProvisioningTemplate
default DescribeProvisioningTemplateResponse describeProvisioningTemplate(Consumer<DescribeProvisioningTemplateRequest.Builder> describeProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Returns information about a provisioning template.
Requires permission to access the DescribeProvisioningTemplate action.
This is a convenience which creates an instance of the
DescribeProvisioningTemplateRequest.Builderavoiding the need to create one manually viaDescribeProvisioningTemplateRequest.builder()- Parameters:
describeProvisioningTemplateRequest- AConsumerthat will call methods onDescribeProvisioningTemplateRequest.Builderto create a request.- Returns:
- Result of the DescribeProvisioningTemplate operation returned by the service.
-
describeProvisioningTemplateVersion
default DescribeProvisioningTemplateVersionResponse describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Returns information about a provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
- Parameters:
describeProvisioningTemplateVersionRequest-- Returns:
- Result of the DescribeProvisioningTemplateVersion operation returned by the service.
-
describeProvisioningTemplateVersion
default DescribeProvisioningTemplateVersionResponse describeProvisioningTemplateVersion(Consumer<DescribeProvisioningTemplateVersionRequest.Builder> describeProvisioningTemplateVersionRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Returns information about a provisioning template version.
Requires permission to access the DescribeProvisioningTemplateVersion action.
This is a convenience which creates an instance of the
DescribeProvisioningTemplateVersionRequest.Builderavoiding the need to create one manually viaDescribeProvisioningTemplateVersionRequest.builder()- Parameters:
describeProvisioningTemplateVersionRequest- AConsumerthat will call methods onDescribeProvisioningTemplateVersionRequest.Builderto create a request.- Returns:
- Result of the DescribeProvisioningTemplateVersion operation returned by the service.
-
describeRoleAlias
default DescribeRoleAliasResponse describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a role alias.
Requires permission to access the DescribeRoleAlias action.
- Parameters:
describeRoleAliasRequest-- Returns:
- Result of the DescribeRoleAlias operation returned by the service.
-
describeRoleAlias
default DescribeRoleAliasResponse describeRoleAlias(Consumer<DescribeRoleAliasRequest.Builder> describeRoleAliasRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a role alias.
Requires permission to access the DescribeRoleAlias action.
This is a convenience which creates an instance of the
DescribeRoleAliasRequest.Builderavoiding the need to create one manually viaDescribeRoleAliasRequest.builder()- Parameters:
describeRoleAliasRequest- AConsumerthat will call methods onDescribeRoleAliasRequest.Builderto create a request.- Returns:
- Result of the DescribeRoleAlias operation returned by the service.
-
describeScheduledAudit
default DescribeScheduledAuditResponse describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
- Parameters:
describeScheduledAuditRequest-- Returns:
- Result of the DescribeScheduledAudit operation returned by the service.
-
describeScheduledAudit
default DescribeScheduledAuditResponse describeScheduledAudit(Consumer<DescribeScheduledAuditRequest.Builder> describeScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a scheduled audit.
Requires permission to access the DescribeScheduledAudit action.
This is a convenience which creates an instance of the
DescribeScheduledAuditRequest.Builderavoiding the need to create one manually viaDescribeScheduledAuditRequest.builder()- Parameters:
describeScheduledAuditRequest- AConsumerthat will call methods onDescribeScheduledAuditRequest.Builderto create a request.- Returns:
- Result of the DescribeScheduledAudit operation returned by the service.
-
describeSecurityProfile
default DescribeSecurityProfileResponse describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender security profile.
Requires permission to access the DescribeSecurityProfile action.
- Parameters:
describeSecurityProfileRequest-- Returns:
- Result of the DescribeSecurityProfile operation returned by the service.
-
describeSecurityProfile
default DescribeSecurityProfileResponse describeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a Device Defender security profile.
Requires permission to access the DescribeSecurityProfile action.
This is a convenience which creates an instance of the
DescribeSecurityProfileRequest.Builderavoiding the need to create one manually viaDescribeSecurityProfileRequest.builder()- Parameters:
describeSecurityProfileRequest- AConsumerthat will call methods onDescribeSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the DescribeSecurityProfile operation returned by the service.
-
describeStream
default DescribeStreamResponse describeStream(DescribeStreamRequest describeStreamRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a stream.
Requires permission to access the DescribeStream action.
- Parameters:
describeStreamRequest-- Returns:
- Result of the DescribeStream operation returned by the service.
-
describeStream
default DescribeStreamResponse describeStream(Consumer<DescribeStreamRequest.Builder> describeStreamRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about a stream.
Requires permission to access the DescribeStream action.
This is a convenience which creates an instance of the
DescribeStreamRequest.Builderavoiding the need to create one manually viaDescribeStreamRequest.builder()- Parameters:
describeStreamRequest- AConsumerthat will call methods onDescribeStreamRequest.Builderto create a request.- Returns:
- Result of the DescribeStream operation returned by the service.
-
describeThing
default DescribeThingResponse describeThing(DescribeThingRequest describeThingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified thing.
Requires permission to access the DescribeThing action.
- Parameters:
describeThingRequest- The input for the DescribeThing operation.- Returns:
- Result of the DescribeThing operation returned by the service.
-
describeThing
default DescribeThingResponse describeThing(Consumer<DescribeThingRequest.Builder> describeThingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified thing.
Requires permission to access the DescribeThing action.
This is a convenience which creates an instance of the
DescribeThingRequest.Builderavoiding the need to create one manually viaDescribeThingRequest.builder()- Parameters:
describeThingRequest- AConsumerthat will call methods onDescribeThingRequest.Builderto create a request. The input for the DescribeThing operation.- Returns:
- Result of the DescribeThing operation returned by the service.
-
describeThingGroup
default DescribeThingGroupResponse describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describe a thing group.
Requires permission to access the DescribeThingGroup action.
- Parameters:
describeThingGroupRequest-- Returns:
- Result of the DescribeThingGroup operation returned by the service.
-
describeThingGroup
default DescribeThingGroupResponse describeThingGroup(Consumer<DescribeThingGroupRequest.Builder> describeThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describe a thing group.
Requires permission to access the DescribeThingGroup action.
This is a convenience which creates an instance of the
DescribeThingGroupRequest.Builderavoiding the need to create one manually viaDescribeThingGroupRequest.builder()- Parameters:
describeThingGroupRequest- AConsumerthat will call methods onDescribeThingGroupRequest.Builderto create a request.- Returns:
- Result of the DescribeThingGroup operation returned by the service.
-
describeThingRegistrationTask
default DescribeThingRegistrationTaskResponse describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
- Parameters:
describeThingRegistrationTaskRequest-- Returns:
- Result of the DescribeThingRegistrationTask operation returned by the service.
-
describeThingRegistrationTask
default DescribeThingRegistrationTaskResponse describeThingRegistrationTask(Consumer<DescribeThingRegistrationTaskRequest.Builder> describeThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Describes a bulk thing provisioning task.
Requires permission to access the DescribeThingRegistrationTask action.
This is a convenience which creates an instance of the
DescribeThingRegistrationTaskRequest.Builderavoiding the need to create one manually viaDescribeThingRegistrationTaskRequest.builder()- Parameters:
describeThingRegistrationTaskRequest- AConsumerthat will call methods onDescribeThingRegistrationTaskRequest.Builderto create a request.- Returns:
- Result of the DescribeThingRegistrationTask operation returned by the service.
-
describeThingType
default DescribeThingTypeResponse describeThingType(DescribeThingTypeRequest describeThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
- Parameters:
describeThingTypeRequest- The input for the DescribeThingType operation.- Returns:
- Result of the DescribeThingType operation returned by the service.
-
describeThingType
default DescribeThingTypeResponse describeThingType(Consumer<DescribeThingTypeRequest.Builder> describeThingTypeRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified thing type.
Requires permission to access the DescribeThingType action.
This is a convenience which creates an instance of the
DescribeThingTypeRequest.Builderavoiding the need to create one manually viaDescribeThingTypeRequest.builder()- Parameters:
describeThingTypeRequest- AConsumerthat will call methods onDescribeThingTypeRequest.Builderto create a request. The input for the DescribeThingType operation.- Returns:
- Result of the DescribeThingType operation returned by the service.
-
detachPolicy
default DetachPolicyResponse detachPolicy(DetachPolicyRequest detachPolicyRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Detaches a policy from the specified target.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DetachPolicy action.
- Parameters:
detachPolicyRequest-- Returns:
- Result of the DetachPolicy operation returned by the service.
-
detachPolicy
default DetachPolicyResponse detachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Detaches a policy from the specified target.
Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.
Requires permission to access the DetachPolicy action.
This is a convenience which creates an instance of the
DetachPolicyRequest.Builderavoiding the need to create one manually viaDetachPolicyRequest.builder()- Parameters:
detachPolicyRequest- AConsumerthat will call methods onDetachPolicyRequest.Builderto create a request.- Returns:
- Result of the DetachPolicy operation returned by the service.
-
detachSecurityProfile
default DetachSecurityProfileResponse detachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
- Parameters:
detachSecurityProfileRequest-- Returns:
- Result of the DetachSecurityProfile operation returned by the service.
-
detachSecurityProfile
default DetachSecurityProfileResponse detachSecurityProfile(Consumer<DetachSecurityProfileRequest.Builder> detachSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
This is a convenience which creates an instance of the
DetachSecurityProfileRequest.Builderavoiding the need to create one manually viaDetachSecurityProfileRequest.builder()- Parameters:
detachSecurityProfileRequest- AConsumerthat will call methods onDetachSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the DetachSecurityProfile operation returned by the service.
-
detachThingPrincipal
default DetachThingPrincipalResponse detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
Requires permission to access the DetachThingPrincipal action.
- Parameters:
detachThingPrincipalRequest- The input for the DetachThingPrincipal operation.- Returns:
- Result of the DetachThingPrincipal operation returned by the service.
-
detachThingPrincipal
default DetachThingPrincipalResponse detachThingPrincipal(Consumer<DetachThingPrincipalRequest.Builder> detachThingPrincipalRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
Requires permission to access the DetachThingPrincipal action.
This is a convenience which creates an instance of the
DetachThingPrincipalRequest.Builderavoiding the need to create one manually viaDetachThingPrincipalRequest.builder()- Parameters:
detachThingPrincipalRequest- AConsumerthat will call methods onDetachThingPrincipalRequest.Builderto create a request. The input for the DetachThingPrincipal operation.- Returns:
- Result of the DetachThingPrincipal operation returned by the service.
-
disableTopicRule
default DisableTopicRuleResponse disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Disables the rule.
Requires permission to access the DisableTopicRule action.
- Parameters:
disableTopicRuleRequest- The input for the DisableTopicRuleRequest operation.- Returns:
- Result of the DisableTopicRule operation returned by the service.
-
disableTopicRule
default DisableTopicRuleResponse disableTopicRule(Consumer<DisableTopicRuleRequest.Builder> disableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Disables the rule.
Requires permission to access the DisableTopicRule action.
This is a convenience which creates an instance of the
DisableTopicRuleRequest.Builderavoiding the need to create one manually viaDisableTopicRuleRequest.builder()- Parameters:
disableTopicRuleRequest- AConsumerthat will call methods onDisableTopicRuleRequest.Builderto create a request. The input for the DisableTopicRuleRequest operation.- Returns:
- Result of the DisableTopicRule operation returned by the service.
-
disassociateSbomFromPackageVersion
default DisassociateSbomFromPackageVersionResponse disassociateSbomFromPackageVersion(DisassociateSbomFromPackageVersionRequest disassociateSbomFromPackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Disassociates the selected software bill of materials (SBOM) from a specific software package version.
Requires permission to access the DisassociateSbomWithPackageVersion action.
- Parameters:
disassociateSbomFromPackageVersionRequest-- Returns:
- Result of the DisassociateSbomFromPackageVersion operation returned by the service.
-
disassociateSbomFromPackageVersion
default DisassociateSbomFromPackageVersionResponse disassociateSbomFromPackageVersion(Consumer<DisassociateSbomFromPackageVersionRequest.Builder> disassociateSbomFromPackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Disassociates the selected software bill of materials (SBOM) from a specific software package version.
Requires permission to access the DisassociateSbomWithPackageVersion action.
This is a convenience which creates an instance of the
DisassociateSbomFromPackageVersionRequest.Builderavoiding the need to create one manually viaDisassociateSbomFromPackageVersionRequest.builder()- Parameters:
disassociateSbomFromPackageVersionRequest- AConsumerthat will call methods onDisassociateSbomFromPackageVersionRequest.Builderto create a request.- Returns:
- Result of the DisassociateSbomFromPackageVersion operation returned by the service.
-
enableTopicRule
default EnableTopicRuleResponse enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Enables the rule.
Requires permission to access the EnableTopicRule action.
- Parameters:
enableTopicRuleRequest- The input for the EnableTopicRuleRequest operation.- Returns:
- Result of the EnableTopicRule operation returned by the service.
-
enableTopicRule
default EnableTopicRuleResponse enableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Enables the rule.
Requires permission to access the EnableTopicRule action.
This is a convenience which creates an instance of the
EnableTopicRuleRequest.Builderavoiding the need to create one manually viaEnableTopicRuleRequest.builder()- Parameters:
enableTopicRuleRequest- AConsumerthat will call methods onEnableTopicRuleRequest.Builderto create a request. The input for the EnableTopicRuleRequest operation.- Returns:
- Result of the EnableTopicRule operation returned by the service.
-
getBehaviorModelTrainingSummaries
default GetBehaviorModelTrainingSummariesResponse getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
- Parameters:
getBehaviorModelTrainingSummariesRequest-- Returns:
- Result of the GetBehaviorModelTrainingSummaries operation returned by the service.
-
getBehaviorModelTrainingSummaries
default GetBehaviorModelTrainingSummariesResponse getBehaviorModelTrainingSummaries(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
This is a convenience which creates an instance of the
GetBehaviorModelTrainingSummariesRequest.Builderavoiding the need to create one manually viaGetBehaviorModelTrainingSummariesRequest.builder()- Parameters:
getBehaviorModelTrainingSummariesRequest- AConsumerthat will call methods onGetBehaviorModelTrainingSummariesRequest.Builderto create a request.- Returns:
- Result of the GetBehaviorModelTrainingSummaries operation returned by the service.
-
getBehaviorModelTrainingSummariesPaginator
default GetBehaviorModelTrainingSummariesIterable getBehaviorModelTrainingSummariesPaginator(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client .getBehaviorModelTrainingSummariesPaginator(request); for (software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)operation.- Parameters:
getBehaviorModelTrainingSummariesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
getBehaviorModelTrainingSummariesPaginator
default GetBehaviorModelTrainingSummariesIterable getBehaviorModelTrainingSummariesPaginator(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client .getBehaviorModelTrainingSummariesPaginator(request); for (software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesIterable responses = client.getBehaviorModelTrainingSummariesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)operation.
This is a convenience which creates an instance of the
GetBehaviorModelTrainingSummariesRequest.Builderavoiding the need to create one manually viaGetBehaviorModelTrainingSummariesRequest.builder()- Parameters:
getBehaviorModelTrainingSummariesRequest- AConsumerthat will call methods onGetBehaviorModelTrainingSummariesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
getBucketsAggregation
default GetBucketsAggregationResponse getBucketsAggregation(GetBucketsAggregationRequest getBucketsAggregationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.
- Parameters:
getBucketsAggregationRequest-- Returns:
- Result of the GetBucketsAggregation operation returned by the service.
-
getBucketsAggregation
default GetBucketsAggregationResponse getBucketsAggregation(Consumer<GetBucketsAggregationRequest.Builder> getBucketsAggregationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.
This is a convenience which creates an instance of the
GetBucketsAggregationRequest.Builderavoiding the need to create one manually viaGetBucketsAggregationRequest.builder()- Parameters:
getBucketsAggregationRequest- AConsumerthat will call methods onGetBucketsAggregationRequest.Builderto create a request.- Returns:
- Result of the GetBucketsAggregation operation returned by the service.
-
getCardinality
default GetCardinalityResponse getCardinality(GetCardinalityRequest getCardinalityRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Returns the approximate count of unique values that match the query.
Requires permission to access the GetCardinality action.
- Parameters:
getCardinalityRequest-- Returns:
- Result of the GetCardinality operation returned by the service.
-
getCardinality
default GetCardinalityResponse getCardinality(Consumer<GetCardinalityRequest.Builder> getCardinalityRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Returns the approximate count of unique values that match the query.
Requires permission to access the GetCardinality action.
This is a convenience which creates an instance of the
GetCardinalityRequest.Builderavoiding the need to create one manually viaGetCardinalityRequest.builder()- Parameters:
getCardinalityRequest- AConsumerthat will call methods onGetCardinalityRequest.Builderto create a request.- Returns:
- Result of the GetCardinality operation returned by the service.
-
getEffectivePolicies
default GetEffectivePoliciesResponse getEffectivePolicies(GetEffectivePoliciesRequest getEffectivePoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.
Requires permission to access the GetEffectivePolicies action.
- Parameters:
getEffectivePoliciesRequest-- Returns:
- Result of the GetEffectivePolicies operation returned by the service.
-
getEffectivePolicies
default GetEffectivePoliciesResponse getEffectivePolicies(Consumer<GetEffectivePoliciesRequest.Builder> getEffectivePoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.
Requires permission to access the GetEffectivePolicies action.
This is a convenience which creates an instance of the
GetEffectivePoliciesRequest.Builderavoiding the need to create one manually viaGetEffectivePoliciesRequest.builder()- Parameters:
getEffectivePoliciesRequest- AConsumerthat will call methods onGetEffectivePoliciesRequest.Builderto create a request.- Returns:
- Result of the GetEffectivePolicies operation returned by the service.
-
getIndexingConfiguration
default GetIndexingConfigurationResponse getIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
- Parameters:
getIndexingConfigurationRequest-- Returns:
- Result of the GetIndexingConfiguration operation returned by the service.
-
getIndexingConfiguration
default GetIndexingConfigurationResponse getIndexingConfiguration(Consumer<GetIndexingConfigurationRequest.Builder> getIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
This is a convenience which creates an instance of the
GetIndexingConfigurationRequest.Builderavoiding the need to create one manually viaGetIndexingConfigurationRequest.builder()- Parameters:
getIndexingConfigurationRequest- AConsumerthat will call methods onGetIndexingConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetIndexingConfiguration operation returned by the service.
-
getIndexingConfiguration
default GetIndexingConfigurationResponse getIndexingConfiguration() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionGets the indexing configuration.
Requires permission to access the GetIndexingConfiguration action.
- Returns:
- Result of the GetIndexingConfiguration operation returned by the service.
- See Also:
-
getJobDocument
default GetJobDocumentResponse getJobDocument(GetJobDocumentRequest getJobDocumentRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Gets a job document.
Requires permission to access the GetJobDocument action.
- Parameters:
getJobDocumentRequest-- Returns:
- Result of the GetJobDocument operation returned by the service.
-
getJobDocument
default GetJobDocumentResponse getJobDocument(Consumer<GetJobDocumentRequest.Builder> getJobDocumentRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Gets a job document.
Requires permission to access the GetJobDocument action.
This is a convenience which creates an instance of the
GetJobDocumentRequest.Builderavoiding the need to create one manually viaGetJobDocumentRequest.builder()- Parameters:
getJobDocumentRequest- AConsumerthat will call methods onGetJobDocumentRequest.Builderto create a request.- Returns:
- Result of the GetJobDocument operation returned by the service.
-
getLoggingOptions
default GetLoggingOptionsResponse getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Gets the logging options.
NOTE: use of this command is not recommended. Use
GetV2LoggingOptionsinstead.Requires permission to access the GetLoggingOptions action.
- Parameters:
getLoggingOptionsRequest- The input for the GetLoggingOptions operation.- Returns:
- Result of the GetLoggingOptions operation returned by the service.
-
getLoggingOptions
default GetLoggingOptionsResponse getLoggingOptions(Consumer<GetLoggingOptionsRequest.Builder> getLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Gets the logging options.
NOTE: use of this command is not recommended. Use
GetV2LoggingOptionsinstead.Requires permission to access the GetLoggingOptions action.
This is a convenience which creates an instance of the
GetLoggingOptionsRequest.Builderavoiding the need to create one manually viaGetLoggingOptionsRequest.builder()- Parameters:
getLoggingOptionsRequest- AConsumerthat will call methods onGetLoggingOptionsRequest.Builderto create a request. The input for the GetLoggingOptions operation.- Returns:
- Result of the GetLoggingOptions operation returned by the service.
-
getLoggingOptions
default GetLoggingOptionsResponse getLoggingOptions() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionGets the logging options.
NOTE: use of this command is not recommended. Use
GetV2LoggingOptionsinstead.Requires permission to access the GetLoggingOptions action.
- Returns:
- Result of the GetLoggingOptions operation returned by the service.
- See Also:
-
getOTAUpdate
default GetOtaUpdateResponse getOTAUpdate(GetOtaUpdateRequest getOtaUpdateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets an OTA update.
Requires permission to access the GetOTAUpdate action.
- Parameters:
getOtaUpdateRequest-- Returns:
- Result of the GetOTAUpdate operation returned by the service.
-
getOTAUpdate
default GetOtaUpdateResponse getOTAUpdate(Consumer<GetOtaUpdateRequest.Builder> getOtaUpdateRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets an OTA update.
Requires permission to access the GetOTAUpdate action.
This is a convenience which creates an instance of the
GetOtaUpdateRequest.Builderavoiding the need to create one manually viaGetOtaUpdateRequest.builder()- Parameters:
getOtaUpdateRequest- AConsumerthat will call methods onGetOtaUpdateRequest.Builderto create a request.- Returns:
- Result of the GetOTAUpdate operation returned by the service.
-
getPackage
default GetPackageResponse getPackage(GetPackageRequest getPackageRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified software package.
Requires permission to access the GetPackage action.
- Parameters:
getPackageRequest-- Returns:
- Result of the GetPackage operation returned by the service.
-
getPackage
default GetPackageResponse getPackage(Consumer<GetPackageRequest.Builder> getPackageRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified software package.
Requires permission to access the GetPackage action.
This is a convenience which creates an instance of the
GetPackageRequest.Builderavoiding the need to create one manually viaGetPackageRequest.builder()- Parameters:
getPackageRequest- AConsumerthat will call methods onGetPackageRequest.Builderto create a request.- Returns:
- Result of the GetPackage operation returned by the service.
-
getPackageConfiguration
default GetPackageConfigurationResponse getPackageConfiguration(GetPackageConfigurationRequest getPackageConfigurationRequest) throws ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException Gets information about the specified software package's configuration.
Requires permission to access the GetPackageConfiguration action.
- Parameters:
getPackageConfigurationRequest-- Returns:
- Result of the GetPackageConfiguration operation returned by the service.
-
getPackageConfiguration
default GetPackageConfigurationResponse getPackageConfiguration(Consumer<GetPackageConfigurationRequest.Builder> getPackageConfigurationRequest) throws ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException Gets information about the specified software package's configuration.
Requires permission to access the GetPackageConfiguration action.
This is a convenience which creates an instance of the
GetPackageConfigurationRequest.Builderavoiding the need to create one manually viaGetPackageConfigurationRequest.builder()- Parameters:
getPackageConfigurationRequest- AConsumerthat will call methods onGetPackageConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetPackageConfiguration operation returned by the service.
-
getPackageVersion
default GetPackageVersionResponse getPackageVersion(GetPackageVersionRequest getPackageVersionRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified package version.
Requires permission to access the GetPackageVersion action.
- Parameters:
getPackageVersionRequest-- Returns:
- Result of the GetPackageVersion operation returned by the service.
-
getPackageVersion
default GetPackageVersionResponse getPackageVersion(Consumer<GetPackageVersionRequest.Builder> getPackageVersionRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Gets information about the specified package version.
Requires permission to access the GetPackageVersion action.
This is a convenience which creates an instance of the
GetPackageVersionRequest.Builderavoiding the need to create one manually viaGetPackageVersionRequest.builder()- Parameters:
getPackageVersionRequest- AConsumerthat will call methods onGetPackageVersionRequest.Builderto create a request.- Returns:
- Result of the GetPackageVersion operation returned by the service.
-
getPercentiles
default GetPercentilesResponse getPercentiles(GetPercentilesRequest getPercentilesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Groups the aggregated values that match the query into percentile groupings. The default percentile groupings are: 1,5,25,50,75,95,99, although you can specify your own when you call
GetPercentiles. This function returns a value for each percentile group specified (or the default percentile groupings). The percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately five percent of the values that match the query, and so on. The result is an approximation, the more values that match the query, the more accurate the percentile values.Requires permission to access the GetPercentiles action.
- Parameters:
getPercentilesRequest-- Returns:
- Result of the GetPercentiles operation returned by the service.
-
getPercentiles
default GetPercentilesResponse getPercentiles(Consumer<GetPercentilesRequest.Builder> getPercentilesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Groups the aggregated values that match the query into percentile groupings. The default percentile groupings are: 1,5,25,50,75,95,99, although you can specify your own when you call
GetPercentiles. This function returns a value for each percentile group specified (or the default percentile groupings). The percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately five percent of the values that match the query, and so on. The result is an approximation, the more values that match the query, the more accurate the percentile values.Requires permission to access the GetPercentiles action.
This is a convenience which creates an instance of the
GetPercentilesRequest.Builderavoiding the need to create one manually viaGetPercentilesRequest.builder()- Parameters:
getPercentilesRequest- AConsumerthat will call methods onGetPercentilesRequest.Builderto create a request.- Returns:
- Result of the GetPercentiles operation returned by the service.
-
getPolicy
default GetPolicyResponse getPolicy(GetPolicyRequest getPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified policy with the policy document of the default version.
Requires permission to access the GetPolicy action.
- Parameters:
getPolicyRequest- The input for the GetPolicy operation.- Returns:
- Result of the GetPolicy operation returned by the service.
-
getPolicy
default GetPolicyResponse getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified policy with the policy document of the default version.
Requires permission to access the GetPolicy action.
This is a convenience which creates an instance of the
GetPolicyRequest.Builderavoiding the need to create one manually viaGetPolicyRequest.builder()- Parameters:
getPolicyRequest- AConsumerthat will call methods onGetPolicyRequest.Builderto create a request. The input for the GetPolicy operation.- Returns:
- Result of the GetPolicy operation returned by the service.
-
getPolicyVersion
default GetPolicyVersionResponse getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified policy version.
Requires permission to access the GetPolicyVersion action.
- Parameters:
getPolicyVersionRequest- The input for the GetPolicyVersion operation.- Returns:
- Result of the GetPolicyVersion operation returned by the service.
-
getPolicyVersion
default GetPolicyVersionResponse getPolicyVersion(Consumer<GetPolicyVersionRequest.Builder> getPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets information about the specified policy version.
Requires permission to access the GetPolicyVersion action.
This is a convenience which creates an instance of the
GetPolicyVersionRequest.Builderavoiding the need to create one manually viaGetPolicyVersionRequest.builder()- Parameters:
getPolicyVersionRequest- AConsumerthat will call methods onGetPolicyVersionRequest.Builderto create a request. The input for the GetPolicyVersion operation.- Returns:
- Result of the GetPolicyVersion operation returned by the service.
-
getRegistrationCode
default GetRegistrationCodeResponse getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest) throws ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotException Gets a registration code used to register a CA certificate with IoT.
IoT will create a registration code as part of this API call if the registration code doesn't exist or has been deleted. If you already have a registration code, this API call will return the same registration code.
Requires permission to access the GetRegistrationCode action.
- Parameters:
getRegistrationCodeRequest- The input to the GetRegistrationCode operation.- Returns:
- Result of the GetRegistrationCode operation returned by the service.
-
getRegistrationCode
default GetRegistrationCodeResponse getRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest) throws ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotException Gets a registration code used to register a CA certificate with IoT.
IoT will create a registration code as part of this API call if the registration code doesn't exist or has been deleted. If you already have a registration code, this API call will return the same registration code.
Requires permission to access the GetRegistrationCode action.
This is a convenience which creates an instance of the
GetRegistrationCodeRequest.Builderavoiding the need to create one manually viaGetRegistrationCodeRequest.builder()- Parameters:
getRegistrationCodeRequest- AConsumerthat will call methods onGetRegistrationCodeRequest.Builderto create a request. The input to the GetRegistrationCode operation.- Returns:
- Result of the GetRegistrationCode operation returned by the service.
-
getRegistrationCode
default GetRegistrationCodeResponse getRegistrationCode() throws ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidRequestException, AwsServiceException, SdkClientException, IotExceptionGets a registration code used to register a CA certificate with IoT.
IoT will create a registration code as part of this API call if the registration code doesn't exist or has been deleted. If you already have a registration code, this API call will return the same registration code.
Requires permission to access the GetRegistrationCode action.
- Returns:
- Result of the GetRegistrationCode operation returned by the service.
- See Also:
-
getStatistics
default GetStatisticsResponse getStatistics(GetStatisticsRequest getStatisticsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type
String, only the count statistic is returned.Requires permission to access the GetStatistics action.
- Parameters:
getStatisticsRequest-- Returns:
- Result of the GetStatistics operation returned by the service.
-
getStatistics
default GetStatisticsResponse getStatistics(Consumer<GetStatisticsRequest.Builder> getStatisticsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the specified aggregated field. If the aggregation field is of type
String, only the count statistic is returned.Requires permission to access the GetStatistics action.
This is a convenience which creates an instance of the
GetStatisticsRequest.Builderavoiding the need to create one manually viaGetStatisticsRequest.builder()- Parameters:
getStatisticsRequest- AConsumerthat will call methods onGetStatisticsRequest.Builderto create a request.- Returns:
- Result of the GetStatistics operation returned by the service.
-
getTopicRule
default GetTopicRuleResponse getTopicRule(GetTopicRuleRequest getTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Gets information about the rule.
Requires permission to access the GetTopicRule action.
- Parameters:
getTopicRuleRequest- The input for the GetTopicRule operation.- Returns:
- Result of the GetTopicRule operation returned by the service.
-
getTopicRule
default GetTopicRuleResponse getTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Gets information about the rule.
Requires permission to access the GetTopicRule action.
This is a convenience which creates an instance of the
GetTopicRuleRequest.Builderavoiding the need to create one manually viaGetTopicRuleRequest.builder()- Parameters:
getTopicRuleRequest- AConsumerthat will call methods onGetTopicRuleRequest.Builderto create a request. The input for the GetTopicRule operation.- Returns:
- Result of the GetTopicRule operation returned by the service.
-
getTopicRuleDestination
default GetTopicRuleDestinationResponse getTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
- Parameters:
getTopicRuleDestinationRequest-- Returns:
- Result of the GetTopicRuleDestination operation returned by the service.
-
getTopicRuleDestination
default GetTopicRuleDestinationResponse getTopicRuleDestination(Consumer<GetTopicRuleDestinationRequest.Builder> getTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Gets information about a topic rule destination.
Requires permission to access the GetTopicRuleDestination action.
This is a convenience which creates an instance of the
GetTopicRuleDestinationRequest.Builderavoiding the need to create one manually viaGetTopicRuleDestinationRequest.builder()- Parameters:
getTopicRuleDestinationRequest- AConsumerthat will call methods onGetTopicRuleDestinationRequest.Builderto create a request.- Returns:
- Result of the GetTopicRuleDestination operation returned by the service.
-
getV2LoggingOptions
default GetV2LoggingOptionsResponse getV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest) throws InternalException, NotConfiguredException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
- Parameters:
getV2LoggingOptionsRequest-- Returns:
- Result of the GetV2LoggingOptions operation returned by the service.
-
getV2LoggingOptions
default GetV2LoggingOptionsResponse getV2LoggingOptions(Consumer<GetV2LoggingOptionsRequest.Builder> getV2LoggingOptionsRequest) throws InternalException, NotConfiguredException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Gets the fine grained logging options.
Requires permission to access the GetV2LoggingOptions action.
This is a convenience which creates an instance of the
GetV2LoggingOptionsRequest.Builderavoiding the need to create one manually viaGetV2LoggingOptionsRequest.builder()- Parameters:
getV2LoggingOptionsRequest- AConsumerthat will call methods onGetV2LoggingOptionsRequest.Builderto create a request.- Returns:
- Result of the GetV2LoggingOptions operation returned by the service.
-
listActiveViolations
default ListActiveViolationsResponse listActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
- Parameters:
listActiveViolationsRequest-- Returns:
- Result of the ListActiveViolations operation returned by the service.
-
listActiveViolations
default ListActiveViolationsResponse listActiveViolations(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
This is a convenience which creates an instance of the
ListActiveViolationsRequest.Builderavoiding the need to create one manually viaListActiveViolationsRequest.builder()- Parameters:
listActiveViolationsRequest- AConsumerthat will call methods onListActiveViolationsRequest.Builderto create a request.- Returns:
- Result of the ListActiveViolations operation returned by the service.
-
listActiveViolations
default ListActiveViolationsResponse listActiveViolations() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the active violations for a given Device Defender security profile.
Requires permission to access the ListActiveViolations action.
- Returns:
- Result of the ListActiveViolations operation returned by the service.
- See Also:
-
listActiveViolationsPaginator
default ListActiveViolationsIterable listActiveViolationsPaginator() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client .listActiveViolationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listActiveViolationsPaginator
default ListActiveViolationsIterable listActiveViolationsPaginator(ListActiveViolationsRequest listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client .listActiveViolationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation.- Parameters:
listActiveViolationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listActiveViolationsPaginator
default ListActiveViolationsIterable listActiveViolationsPaginator(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client .listActiveViolationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListActiveViolationsIterable responses = client.listActiveViolationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)operation.
This is a convenience which creates an instance of the
ListActiveViolationsRequest.Builderavoiding the need to create one manually viaListActiveViolationsRequest.builder()- Parameters:
listActiveViolationsRequest- AConsumerthat will call methods onListActiveViolationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAttachedPolicies
default ListAttachedPoliciesResponse listAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
- Parameters:
listAttachedPoliciesRequest-- Returns:
- Result of the ListAttachedPolicies operation returned by the service.
-
listAttachedPolicies
default ListAttachedPoliciesResponse listAttachedPolicies(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Lists the policies attached to the specified thing group.
Requires permission to access the ListAttachedPolicies action.
This is a convenience which creates an instance of the
ListAttachedPoliciesRequest.Builderavoiding the need to create one manually viaListAttachedPoliciesRequest.builder()- Parameters:
listAttachedPoliciesRequest- AConsumerthat will call methods onListAttachedPoliciesRequest.Builderto create a request.- Returns:
- Result of the ListAttachedPolicies operation returned by the service.
-
listAttachedPoliciesPaginator
default ListAttachedPoliciesIterable listAttachedPoliciesPaginator(ListAttachedPoliciesRequest listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException This is a variant of
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client .listAttachedPoliciesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)operation.- Parameters:
listAttachedPoliciesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAttachedPoliciesPaginator
default ListAttachedPoliciesIterable listAttachedPoliciesPaginator(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException This is a variant of
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client .listAttachedPoliciesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesIterable responses = client.listAttachedPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListAttachedPoliciesRequest.Builderavoiding the need to create one manually viaListAttachedPoliciesRequest.builder()- Parameters:
listAttachedPoliciesRequest- AConsumerthat will call methods onListAttachedPoliciesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditFindings
default ListAuditFindingsResponse listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Requires permission to access the ListAuditFindings action.
- Parameters:
listAuditFindingsRequest-- Returns:
- Result of the ListAuditFindings operation returned by the service.
-
listAuditFindings
default ListAuditFindingsResponse listAuditFindings(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
Requires permission to access the ListAuditFindings action.
This is a convenience which creates an instance of the
ListAuditFindingsRequest.Builderavoiding the need to create one manually viaListAuditFindingsRequest.builder()- Parameters:
listAuditFindingsRequest- AConsumerthat will call methods onListAuditFindingsRequest.Builderto create a request.- Returns:
- Result of the ListAuditFindings operation returned by the service.
-
listAuditFindingsPaginator
default ListAuditFindingsIterable listAuditFindingsPaginator(ListAuditFindingsRequest listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client .listAuditFindingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)operation.- Parameters:
listAuditFindingsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditFindingsPaginator
default ListAuditFindingsIterable listAuditFindingsPaginator(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client .listAuditFindingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditFindingsIterable responses = client.listAuditFindingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)operation.
This is a convenience which creates an instance of the
ListAuditFindingsRequest.Builderavoiding the need to create one manually viaListAuditFindingsRequest.builder()- Parameters:
listAuditFindingsRequest- AConsumerthat will call methods onListAuditFindingsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditMitigationActionsExecutions
default ListAuditMitigationActionsExecutionsResponse listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
- Parameters:
listAuditMitigationActionsExecutionsRequest-- Returns:
- Result of the ListAuditMitigationActionsExecutions operation returned by the service.
-
listAuditMitigationActionsExecutions
default ListAuditMitigationActionsExecutionsResponse listAuditMitigationActionsExecutions(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
This is a convenience which creates an instance of the
ListAuditMitigationActionsExecutionsRequest.Builderavoiding the need to create one manually viaListAuditMitigationActionsExecutionsRequest.builder()- Parameters:
listAuditMitigationActionsExecutionsRequest- AConsumerthat will call methods onListAuditMitigationActionsExecutionsRequest.Builderto create a request.- Returns:
- Result of the ListAuditMitigationActionsExecutions operation returned by the service.
-
listAuditMitigationActionsExecutionsPaginator
default ListAuditMitigationActionsExecutionsIterable listAuditMitigationActionsExecutionsPaginator(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client .listAuditMitigationActionsExecutionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)operation.- Parameters:
listAuditMitigationActionsExecutionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditMitigationActionsExecutionsPaginator
default ListAuditMitigationActionsExecutionsIterable listAuditMitigationActionsExecutionsPaginator(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client .listAuditMitigationActionsExecutionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsIterable responses = client.listAuditMitigationActionsExecutionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)operation.
This is a convenience which creates an instance of the
ListAuditMitigationActionsExecutionsRequest.Builderavoiding the need to create one manually viaListAuditMitigationActionsExecutionsRequest.builder()- Parameters:
listAuditMitigationActionsExecutionsRequest- AConsumerthat will call methods onListAuditMitigationActionsExecutionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditMitigationActionsTasks
default ListAuditMitigationActionsTasksResponse listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
- Parameters:
listAuditMitigationActionsTasksRequest-- Returns:
- Result of the ListAuditMitigationActionsTasks operation returned by the service.
-
listAuditMitigationActionsTasks
default ListAuditMitigationActionsTasksResponse listAuditMitigationActionsTasks(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
This is a convenience which creates an instance of the
ListAuditMitigationActionsTasksRequest.Builderavoiding the need to create one manually viaListAuditMitigationActionsTasksRequest.builder()- Parameters:
listAuditMitigationActionsTasksRequest- AConsumerthat will call methods onListAuditMitigationActionsTasksRequest.Builderto create a request.- Returns:
- Result of the ListAuditMitigationActionsTasks operation returned by the service.
-
listAuditMitigationActionsTasksPaginator
default ListAuditMitigationActionsTasksIterable listAuditMitigationActionsTasksPaginator(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client .listAuditMitigationActionsTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)operation.- Parameters:
listAuditMitigationActionsTasksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditMitigationActionsTasksPaginator
default ListAuditMitigationActionsTasksIterable listAuditMitigationActionsTasksPaginator(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client .listAuditMitigationActionsTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksIterable responses = client.listAuditMitigationActionsTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)operation.
This is a convenience which creates an instance of the
ListAuditMitigationActionsTasksRequest.Builderavoiding the need to create one manually viaListAuditMitigationActionsTasksRequest.builder()- Parameters:
listAuditMitigationActionsTasksRequest- AConsumerthat will call methods onListAuditMitigationActionsTasksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditSuppressions
default ListAuditSuppressionsResponse listAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
- Parameters:
listAuditSuppressionsRequest-- Returns:
- Result of the ListAuditSuppressions operation returned by the service.
-
listAuditSuppressions
default ListAuditSuppressionsResponse listAuditSuppressions(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your Device Defender audit listings.
Requires permission to access the ListAuditSuppressions action.
This is a convenience which creates an instance of the
ListAuditSuppressionsRequest.Builderavoiding the need to create one manually viaListAuditSuppressionsRequest.builder()- Parameters:
listAuditSuppressionsRequest- AConsumerthat will call methods onListAuditSuppressionsRequest.Builderto create a request.- Returns:
- Result of the ListAuditSuppressions operation returned by the service.
-
listAuditSuppressionsPaginator
default ListAuditSuppressionsIterable listAuditSuppressionsPaginator(ListAuditSuppressionsRequest listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client .listAuditSuppressionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)operation.- Parameters:
listAuditSuppressionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditSuppressionsPaginator
default ListAuditSuppressionsIterable listAuditSuppressionsPaginator(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client .listAuditSuppressionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsIterable responses = client.listAuditSuppressionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)operation.
This is a convenience which creates an instance of the
ListAuditSuppressionsRequest.Builderavoiding the need to create one manually viaListAuditSuppressionsRequest.builder()- Parameters:
listAuditSuppressionsRequest- AConsumerthat will call methods onListAuditSuppressionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditTasks
default ListAuditTasksResponse listAuditTasks(ListAuditTasksRequest listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
- Parameters:
listAuditTasksRequest-- Returns:
- Result of the ListAuditTasks operation returned by the service.
-
listAuditTasks
default ListAuditTasksResponse listAuditTasks(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the Device Defender audits that have been performed during a given time period.
Requires permission to access the ListAuditTasks action.
This is a convenience which creates an instance of the
ListAuditTasksRequest.Builderavoiding the need to create one manually viaListAuditTasksRequest.builder()- Parameters:
listAuditTasksRequest- AConsumerthat will call methods onListAuditTasksRequest.Builderto create a request.- Returns:
- Result of the ListAuditTasks operation returned by the service.
-
listAuditTasksPaginator
default ListAuditTasksIterable listAuditTasksPaginator(ListAuditTasksRequest listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)operation.- Parameters:
listAuditTasksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuditTasksPaginator
default ListAuditTasksIterable listAuditTasksPaginator(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuditTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuditTasksIterable responses = client.listAuditTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)operation.
This is a convenience which creates an instance of the
ListAuditTasksRequest.Builderavoiding the need to create one manually viaListAuditTasksRequest.builder()- Parameters:
listAuditTasksRequest- AConsumerthat will call methods onListAuditTasksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuthorizers
default ListAuthorizersResponse listAuthorizers(ListAuthorizersRequest listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
- Parameters:
listAuthorizersRequest-- Returns:
- Result of the ListAuthorizers operation returned by the service.
-
listAuthorizers
default ListAuthorizersResponse listAuthorizers(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
This is a convenience which creates an instance of the
ListAuthorizersRequest.Builderavoiding the need to create one manually viaListAuthorizersRequest.builder()- Parameters:
listAuthorizersRequest- AConsumerthat will call methods onListAuthorizersRequest.Builderto create a request.- Returns:
- Result of the ListAuthorizers operation returned by the service.
-
listAuthorizers
default ListAuthorizersResponse listAuthorizers() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the authorizers registered in your account.
Requires permission to access the ListAuthorizers action.
- Returns:
- Result of the ListAuthorizers operation returned by the service.
- See Also:
-
listAuthorizersPaginator
default ListAuthorizersIterable listAuthorizersPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAuthorizersPaginator
default ListAuthorizersIterable listAuthorizersPaginator(ListAuthorizersRequest listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation.- Parameters:
listAuthorizersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listAuthorizersPaginator
default ListAuthorizersIterable listAuthorizersPaginator(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); for (software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListAuthorizersIterable responses = client.listAuthorizersPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)operation.
This is a convenience which creates an instance of the
ListAuthorizersRequest.Builderavoiding the need to create one manually viaListAuthorizersRequest.builder()- Parameters:
listAuthorizersRequest- AConsumerthat will call methods onListAuthorizersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
- Parameters:
listBillingGroupsRequest-- Returns:
- Result of the ListBillingGroups operation returned by the service.
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builderavoiding the need to create one manually viaListBillingGroupsRequest.builder()- Parameters:
listBillingGroupsRequest- AConsumerthat will call methods onListBillingGroupsRequest.Builderto create a request.- Returns:
- Result of the ListBillingGroups operation returned by the service.
-
listBillingGroups
default ListBillingGroupsResponse listBillingGroups() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotExceptionLists the billing groups you have created.
Requires permission to access the ListBillingGroups action.
- Returns:
- Result of the ListBillingGroups operation returned by the service.
- See Also:
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation.- Parameters:
listBillingGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listBillingGroupsPaginator
default ListBillingGroupsIterable listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client .listBillingGroupsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListBillingGroupsIterable responses = client.listBillingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)operation.
This is a convenience which creates an instance of the
ListBillingGroupsRequest.Builderavoiding the need to create one manually viaListBillingGroupsRequest.builder()- Parameters:
listBillingGroupsRequest- AConsumerthat will call methods onListBillingGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCACertificates
default ListCaCertificatesResponse listCACertificates(ListCaCertificatesRequest listCaCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
- Parameters:
listCaCertificatesRequest- Input for the ListCACertificates operation.- Returns:
- Result of the ListCACertificates operation returned by the service.
-
listCACertificates
default ListCaCertificatesResponse listCACertificates(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
This is a convenience which creates an instance of the
ListCaCertificatesRequest.Builderavoiding the need to create one manually viaListCaCertificatesRequest.builder()- Parameters:
listCaCertificatesRequest- AConsumerthat will call methods onListCaCertificatesRequest.Builderto create a request. Input for the ListCACertificates operation.- Returns:
- Result of the ListCACertificates operation returned by the service.
-
listCACertificates
default ListCaCertificatesResponse listCACertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the CA certificates registered for your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCACertificates action.
- Returns:
- Result of the ListCACertificates operation returned by the service.
- See Also:
-
listCACertificatesPaginator
default ListCACertificatesIterable listCACertificatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client .listCACertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCACertificatesPaginator
default ListCACertificatesIterable listCACertificatesPaginator(ListCaCertificatesRequest listCaCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client .listCACertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation.- Parameters:
listCaCertificatesRequest- Input for the ListCACertificates operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCACertificatesPaginator
default ListCACertificatesIterable listCACertificatesPaginator(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client .listCACertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCACertificatesIterable responses = client.listCACertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)operation.
This is a convenience which creates an instance of the
ListCaCertificatesRequest.Builderavoiding the need to create one manually viaListCaCertificatesRequest.builder()- Parameters:
listCaCertificatesRequest- AConsumerthat will call methods onListCaCertificatesRequest.Builderto create a request. Input for the ListCACertificates operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCertificateProviders
default ListCertificateProvidersResponse listCertificateProviders(ListCertificateProvidersRequest listCertificateProvidersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all your certificate providers in your Amazon Web Services account.
Requires permission to access the ListCertificateProviders action.
- Parameters:
listCertificateProvidersRequest-- Returns:
- Result of the ListCertificateProviders operation returned by the service.
-
listCertificateProviders
default ListCertificateProvidersResponse listCertificateProviders(Consumer<ListCertificateProvidersRequest.Builder> listCertificateProvidersRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all your certificate providers in your Amazon Web Services account.
Requires permission to access the ListCertificateProviders action.
This is a convenience which creates an instance of the
ListCertificateProvidersRequest.Builderavoiding the need to create one manually viaListCertificateProvidersRequest.builder()- Parameters:
listCertificateProvidersRequest- AConsumerthat will call methods onListCertificateProvidersRequest.Builderto create a request.- Returns:
- Result of the ListCertificateProviders operation returned by the service.
-
listCertificates
default ListCertificatesResponse listCertificates(ListCertificatesRequest listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
- Parameters:
listCertificatesRequest- The input for the ListCertificates operation.- Returns:
- Result of the ListCertificates operation returned by the service.
-
listCertificates
default ListCertificatesResponse listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
This is a convenience which creates an instance of the
ListCertificatesRequest.Builderavoiding the need to create one manually viaListCertificatesRequest.builder()- Parameters:
listCertificatesRequest- AConsumerthat will call methods onListCertificatesRequest.Builderto create a request. The input for the ListCertificates operation.- Returns:
- Result of the ListCertificates operation returned by the service.
-
listCertificates
default ListCertificatesResponse listCertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
- Returns:
- Result of the ListCertificates operation returned by the service.
- See Also:
-
listCertificatesPaginator
default ListCertificatesIterable listCertificatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCertificatesPaginator
default ListCertificatesIterable listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation.- Parameters:
listCertificatesRequest- The input for the ListCertificates operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCertificatesPaginator
default ListCertificatesIterable listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCertificatesIterable responses = client.listCertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)operation.
This is a convenience which creates an instance of the
ListCertificatesRequest.Builderavoiding the need to create one manually viaListCertificatesRequest.builder()- Parameters:
listCertificatesRequest- AConsumerthat will call methods onListCertificatesRequest.Builderto create a request. The input for the ListCertificates operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCertificatesByCA
default ListCertificatesByCaResponse listCertificatesByCA(ListCertificatesByCaRequest listCertificatesByCaRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException List the device certificates signed by the specified CA certificate.
Requires permission to access the ListCertificatesByCA action.
- Parameters:
listCertificatesByCaRequest- The input to the ListCertificatesByCA operation.- Returns:
- Result of the ListCertificatesByCA operation returned by the service.
-
listCertificatesByCA
default ListCertificatesByCaResponse listCertificatesByCA(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException List the device certificates signed by the specified CA certificate.
Requires permission to access the ListCertificatesByCA action.
This is a convenience which creates an instance of the
ListCertificatesByCaRequest.Builderavoiding the need to create one manually viaListCertificatesByCaRequest.builder()- Parameters:
listCertificatesByCaRequest- AConsumerthat will call methods onListCertificatesByCaRequest.Builderto create a request. The input to the ListCertificatesByCA operation.- Returns:
- Result of the ListCertificatesByCA operation returned by the service.
-
listCertificatesByCAPaginator
default ListCertificatesByCAIterable listCertificatesByCAPaginator(ListCertificatesByCaRequest listCertificatesByCaRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client .listCertificatesByCAPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)operation.- Parameters:
listCertificatesByCaRequest- The input to the ListCertificatesByCA operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCertificatesByCAPaginator
default ListCertificatesByCAIterable listCertificatesByCAPaginator(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client .listCertificatesByCAPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCertificatesByCAIterable responses = client.listCertificatesByCAPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)operation.
This is a convenience which creates an instance of the
ListCertificatesByCaRequest.Builderavoiding the need to create one manually viaListCertificatesByCaRequest.builder()- Parameters:
listCertificatesByCaRequest- AConsumerthat will call methods onListCertificatesByCaRequest.Builderto create a request. The input to the ListCertificatesByCA operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCustomMetrics
default ListCustomMetricsResponse listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
- Parameters:
listCustomMetricsRequest-- Returns:
- Result of the ListCustomMetrics operation returned by the service.
-
listCustomMetrics
default ListCustomMetricsResponse listCustomMetrics(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your Device Defender detect custom metrics.
Requires permission to access the ListCustomMetrics action.
This is a convenience which creates an instance of the
ListCustomMetricsRequest.Builderavoiding the need to create one manually viaListCustomMetricsRequest.builder()- Parameters:
listCustomMetricsRequest- AConsumerthat will call methods onListCustomMetricsRequest.Builderto create a request.- Returns:
- Result of the ListCustomMetrics operation returned by the service.
-
listCustomMetricsPaginator
default ListCustomMetricsIterable listCustomMetricsPaginator(ListCustomMetricsRequest listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client .listCustomMetricsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)operation.- Parameters:
listCustomMetricsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listCustomMetricsPaginator
default ListCustomMetricsIterable listCustomMetricsPaginator(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client .listCustomMetricsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListCustomMetricsIterable responses = client.listCustomMetricsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)operation.
This is a convenience which creates an instance of the
ListCustomMetricsRequest.Builderavoiding the need to create one manually viaListCustomMetricsRequest.builder()- Parameters:
listCustomMetricsRequest- AConsumerthat will call methods onListCustomMetricsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDetectMitigationActionsExecutions
default ListDetectMitigationActionsExecutionsResponse listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
- Parameters:
listDetectMitigationActionsExecutionsRequest-- Returns:
- Result of the ListDetectMitigationActionsExecutions operation returned by the service.
-
listDetectMitigationActionsExecutions
default ListDetectMitigationActionsExecutionsResponse listDetectMitigationActionsExecutions(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
This is a convenience which creates an instance of the
ListDetectMitigationActionsExecutionsRequest.Builderavoiding the need to create one manually viaListDetectMitigationActionsExecutionsRequest.builder()- Parameters:
listDetectMitigationActionsExecutionsRequest- AConsumerthat will call methods onListDetectMitigationActionsExecutionsRequest.Builderto create a request.- Returns:
- Result of the ListDetectMitigationActionsExecutions operation returned by the service.
-
listDetectMitigationActionsExecutionsPaginator
default ListDetectMitigationActionsExecutionsIterable listDetectMitigationActionsExecutionsPaginator(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client .listDetectMitigationActionsExecutionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)operation.- Parameters:
listDetectMitigationActionsExecutionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDetectMitigationActionsExecutionsPaginator
default ListDetectMitigationActionsExecutionsIterable listDetectMitigationActionsExecutionsPaginator(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client .listDetectMitigationActionsExecutionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsIterable responses = client.listDetectMitigationActionsExecutionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)operation.
This is a convenience which creates an instance of the
ListDetectMitigationActionsExecutionsRequest.Builderavoiding the need to create one manually viaListDetectMitigationActionsExecutionsRequest.builder()- Parameters:
listDetectMitigationActionsExecutionsRequest- AConsumerthat will call methods onListDetectMitigationActionsExecutionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDetectMitigationActionsTasks
default ListDetectMitigationActionsTasksResponse listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
- Parameters:
listDetectMitigationActionsTasksRequest-- Returns:
- Result of the ListDetectMitigationActionsTasks operation returned by the service.
-
listDetectMitigationActionsTasks
default ListDetectMitigationActionsTasksResponse listDetectMitigationActionsTasks(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
This is a convenience which creates an instance of the
ListDetectMitigationActionsTasksRequest.Builderavoiding the need to create one manually viaListDetectMitigationActionsTasksRequest.builder()- Parameters:
listDetectMitigationActionsTasksRequest- AConsumerthat will call methods onListDetectMitigationActionsTasksRequest.Builderto create a request.- Returns:
- Result of the ListDetectMitigationActionsTasks operation returned by the service.
-
listDetectMitigationActionsTasksPaginator
default ListDetectMitigationActionsTasksIterable listDetectMitigationActionsTasksPaginator(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client .listDetectMitigationActionsTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)operation.- Parameters:
listDetectMitigationActionsTasksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDetectMitigationActionsTasksPaginator
default ListDetectMitigationActionsTasksIterable listDetectMitigationActionsTasksPaginator(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client .listDetectMitigationActionsTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksIterable responses = client.listDetectMitigationActionsTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)operation.
This is a convenience which creates an instance of the
ListDetectMitigationActionsTasksRequest.Builderavoiding the need to create one manually viaListDetectMitigationActionsTasksRequest.builder()- Parameters:
listDetectMitigationActionsTasksRequest- AConsumerthat will call methods onListDetectMitigationActionsTasksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDimensions
default ListDimensionsResponse listDimensions(ListDimensionsRequest listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
- Parameters:
listDimensionsRequest-- Returns:
- Result of the ListDimensions operation returned by the service.
-
listDimensions
default ListDimensionsResponse listDimensions(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException List the set of dimensions that are defined for your Amazon Web Services accounts.
Requires permission to access the ListDimensions action.
This is a convenience which creates an instance of the
ListDimensionsRequest.Builderavoiding the need to create one manually viaListDimensionsRequest.builder()- Parameters:
listDimensionsRequest- AConsumerthat will call methods onListDimensionsRequest.Builderto create a request.- Returns:
- Result of the ListDimensions operation returned by the service.
-
listDimensionsPaginator
default ListDimensionsIterable listDimensionsPaginator(ListDimensionsRequest listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDimensionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)operation.- Parameters:
listDimensionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDimensionsPaginator
default ListDimensionsIterable listDimensionsPaginator(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDimensionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDimensionsIterable responses = client.listDimensionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)operation.
This is a convenience which creates an instance of the
ListDimensionsRequest.Builderavoiding the need to create one manually viaListDimensionsRequest.builder()- Parameters:
listDimensionsRequest- AConsumerthat will call methods onListDimensionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDomainConfigurations
default ListDomainConfigurationsResponse listDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
Requires permission to access the ListDomainConfigurations action.
- Parameters:
listDomainConfigurationsRequest-- Returns:
- Result of the ListDomainConfigurations operation returned by the service.
-
listDomainConfigurations
default ListDomainConfigurationsResponse listDomainConfigurations(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
Requires permission to access the ListDomainConfigurations action.
This is a convenience which creates an instance of the
ListDomainConfigurationsRequest.Builderavoiding the need to create one manually viaListDomainConfigurationsRequest.builder()- Parameters:
listDomainConfigurationsRequest- AConsumerthat will call methods onListDomainConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListDomainConfigurations operation returned by the service.
-
listDomainConfigurationsPaginator
default ListDomainConfigurationsIterable listDomainConfigurationsPaginator(ListDomainConfigurationsRequest listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client .listDomainConfigurationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)operation.- Parameters:
listDomainConfigurationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listDomainConfigurationsPaginator
default ListDomainConfigurationsIterable listDomainConfigurationsPaginator(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client .listDomainConfigurationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsIterable responses = client.listDomainConfigurationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListDomainConfigurationsRequest.Builderavoiding the need to create one manually viaListDomainConfigurationsRequest.builder()- Parameters:
listDomainConfigurationsRequest- AConsumerthat will call methods onListDomainConfigurationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listFleetMetrics
default ListFleetMetricsResponse listFleetMetrics(ListFleetMetricsRequest listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all your fleet metrics.
Requires permission to access the ListFleetMetrics action.
- Parameters:
listFleetMetricsRequest-- Returns:
- Result of the ListFleetMetrics operation returned by the service.
-
listFleetMetrics
default ListFleetMetricsResponse listFleetMetrics(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all your fleet metrics.
Requires permission to access the ListFleetMetrics action.
This is a convenience which creates an instance of the
ListFleetMetricsRequest.Builderavoiding the need to create one manually viaListFleetMetricsRequest.builder()- Parameters:
listFleetMetricsRequest- AConsumerthat will call methods onListFleetMetricsRequest.Builderto create a request.- Returns:
- Result of the ListFleetMetrics operation returned by the service.
-
listFleetMetricsPaginator
default ListFleetMetricsIterable listFleetMetricsPaginator(ListFleetMetricsRequest listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)operation.- Parameters:
listFleetMetricsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listFleetMetricsPaginator
default ListFleetMetricsIterable listFleetMetricsPaginator(Consumer<ListFleetMetricsRequest.Builder> listFleetMetricsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListFleetMetricsIterable responses = client.listFleetMetricsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)operation.
This is a convenience which creates an instance of the
ListFleetMetricsRequest.Builderavoiding the need to create one manually viaListFleetMetricsRequest.builder()- Parameters:
listFleetMetricsRequest- AConsumerthat will call methods onListFleetMetricsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listIndices
default ListIndicesResponse listIndices(ListIndicesRequest listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the search indices.
Requires permission to access the ListIndices action.
- Parameters:
listIndicesRequest-- Returns:
- Result of the ListIndices operation returned by the service.
-
listIndices
default ListIndicesResponse listIndices(Consumer<ListIndicesRequest.Builder> listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the search indices.
Requires permission to access the ListIndices action.
This is a convenience which creates an instance of the
ListIndicesRequest.Builderavoiding the need to create one manually viaListIndicesRequest.builder()- Parameters:
listIndicesRequest- AConsumerthat will call methods onListIndicesRequest.Builderto create a request.- Returns:
- Result of the ListIndices operation returned by the service.
-
listIndices
default ListIndicesResponse listIndices() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the search indices.
Requires permission to access the ListIndices action.
- Returns:
- Result of the ListIndices operation returned by the service.
- See Also:
-
listIndicesPaginator
default ListIndicesIterable listIndicesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListIndicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIndicesPaginator
default ListIndicesIterable listIndicesPaginator(ListIndicesRequest listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListIndicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation.- Parameters:
listIndicesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listIndicesPaginator
default ListIndicesIterable listIndicesPaginator(Consumer<ListIndicesRequest.Builder> listIndicesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListIndicesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListIndicesIterable responses = client.listIndicesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)operation.
This is a convenience which creates an instance of the
ListIndicesRequest.Builderavoiding the need to create one manually viaListIndicesRequest.builder()- Parameters:
listIndicesRequest- AConsumerthat will call methods onListIndicesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobExecutionsForJob
default ListJobExecutionsForJobResponse listJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
- Parameters:
listJobExecutionsForJobRequest-- Returns:
- Result of the ListJobExecutionsForJob operation returned by the service.
-
listJobExecutionsForJob
default ListJobExecutionsForJobResponse listJobExecutionsForJob(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists the job executions for a job.
Requires permission to access the ListJobExecutionsForJob action.
This is a convenience which creates an instance of the
ListJobExecutionsForJobRequest.Builderavoiding the need to create one manually viaListJobExecutionsForJobRequest.builder()- Parameters:
listJobExecutionsForJobRequest- AConsumerthat will call methods onListJobExecutionsForJobRequest.Builderto create a request.- Returns:
- Result of the ListJobExecutionsForJob operation returned by the service.
-
listJobExecutionsForJobPaginator
default ListJobExecutionsForJobIterable listJobExecutionsForJobPaginator(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client .listJobExecutionsForJobPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)operation.- Parameters:
listJobExecutionsForJobRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobExecutionsForJobPaginator
default ListJobExecutionsForJobIterable listJobExecutionsForJobPaginator(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client .listJobExecutionsForJobPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobIterable responses = client.listJobExecutionsForJobPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)operation.
This is a convenience which creates an instance of the
ListJobExecutionsForJobRequest.Builderavoiding the need to create one manually viaListJobExecutionsForJobRequest.builder()- Parameters:
listJobExecutionsForJobRequest- AConsumerthat will call methods onListJobExecutionsForJobRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobExecutionsForThing
default ListJobExecutionsForThingResponse listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
- Parameters:
listJobExecutionsForThingRequest-- Returns:
- Result of the ListJobExecutionsForThing operation returned by the service.
-
listJobExecutionsForThing
default ListJobExecutionsForThingResponse listJobExecutionsForThing(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists the job executions for the specified thing.
Requires permission to access the ListJobExecutionsForThing action.
This is a convenience which creates an instance of the
ListJobExecutionsForThingRequest.Builderavoiding the need to create one manually viaListJobExecutionsForThingRequest.builder()- Parameters:
listJobExecutionsForThingRequest- AConsumerthat will call methods onListJobExecutionsForThingRequest.Builderto create a request.- Returns:
- Result of the ListJobExecutionsForThing operation returned by the service.
-
listJobExecutionsForThingPaginator
default ListJobExecutionsForThingIterable listJobExecutionsForThingPaginator(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client .listJobExecutionsForThingPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)operation.- Parameters:
listJobExecutionsForThingRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobExecutionsForThingPaginator
default ListJobExecutionsForThingIterable listJobExecutionsForThingPaginator(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client .listJobExecutionsForThingPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingIterable responses = client.listJobExecutionsForThingPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)operation.
This is a convenience which creates an instance of the
ListJobExecutionsForThingRequest.Builderavoiding the need to create one manually viaListJobExecutionsForThingRequest.builder()- Parameters:
listJobExecutionsForThingRequest- AConsumerthat will call methods onListJobExecutionsForThingRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobTemplates
default ListJobTemplatesResponse listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
- Parameters:
listJobTemplatesRequest-- Returns:
- Result of the ListJobTemplates operation returned by the service.
-
listJobTemplates
default ListJobTemplatesResponse listJobTemplates(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Returns a list of job templates.
Requires permission to access the ListJobTemplates action.
This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builderavoiding the need to create one manually viaListJobTemplatesRequest.builder()- Parameters:
listJobTemplatesRequest- AConsumerthat will call methods onListJobTemplatesRequest.Builderto create a request.- Returns:
- Result of the ListJobTemplates operation returned by the service.
-
listJobTemplatesPaginator
default ListJobTemplatesIterable listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)operation.- Parameters:
listJobTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobTemplatesPaginator
default ListJobTemplatesIterable listJobTemplatesPaginator(Consumer<ListJobTemplatesRequest.Builder> listJobTemplatesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobTemplatesIterable responses = client.listJobTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListJobTemplatesRequest.Builderavoiding the need to create one manually viaListJobTemplatesRequest.builder()- Parameters:
listJobTemplatesRequest- AConsumerthat will call methods onListJobTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobs
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists jobs.
Requires permission to access the ListJobs action.
- Parameters:
listJobsRequest-- Returns:
- Result of the ListJobs operation returned by the service.
-
listJobs
default ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists jobs.
Requires permission to access the ListJobs action.
This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- Result of the ListJobs operation returned by the service.
-
listJobs
default ListJobsResponse listJobs() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionLists jobs.
Requires permission to access the ListJobs action.
- Returns:
- Result of the ListJobs operation returned by the service.
- See Also:
-
listJobsPaginator
default ListJobsIterable listJobsPaginator() throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation.- Parameters:
listJobsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)operation.
This is a convenience which creates an instance of the
ListJobsRequest.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listManagedJobTemplates
default ListManagedJobTemplatesResponse listManagedJobTemplates(ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException Returns a list of managed job templates.
- Parameters:
listManagedJobTemplatesRequest-- Returns:
- Result of the ListManagedJobTemplates operation returned by the service.
-
listManagedJobTemplates
default ListManagedJobTemplatesResponse listManagedJobTemplates(Consumer<ListManagedJobTemplatesRequest.Builder> listManagedJobTemplatesRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException Returns a list of managed job templates.
This is a convenience which creates an instance of the
ListManagedJobTemplatesRequest.Builderavoiding the need to create one manually viaListManagedJobTemplatesRequest.builder()- Parameters:
listManagedJobTemplatesRequest- AConsumerthat will call methods onListManagedJobTemplatesRequest.Builderto create a request.- Returns:
- Result of the ListManagedJobTemplates operation returned by the service.
-
listManagedJobTemplatesPaginator
default ListManagedJobTemplatesIterable listManagedJobTemplatesPaginator(ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException This is a variant of
listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesIterable responses = client.listManagedJobTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesIterable responses = client .listManagedJobTemplatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesIterable responses = client.listManagedJobTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)operation.- Parameters:
listManagedJobTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listManagedJobTemplatesPaginator
default ListManagedJobTemplatesIterable listManagedJobTemplatesPaginator(Consumer<ListManagedJobTemplatesRequest.Builder> listManagedJobTemplatesRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalServerException, AwsServiceException, SdkClientException, IotException This is a variant of
listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesIterable responses = client.listManagedJobTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesIterable responses = client .listManagedJobTemplatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesIterable responses = client.listManagedJobTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListManagedJobTemplatesRequest.Builderavoiding the need to create one manually viaListManagedJobTemplatesRequest.builder()- Parameters:
listManagedJobTemplatesRequest- AConsumerthat will call methods onListManagedJobTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listMetricValues
default ListMetricValuesResponse listMetricValues(ListMetricValuesRequest listMetricValuesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.
- Parameters:
listMetricValuesRequest-- Returns:
- Result of the ListMetricValues operation returned by the service.
-
listMetricValues
default ListMetricValuesResponse listMetricValues(Consumer<ListMetricValuesRequest.Builder> listMetricValuesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.
This is a convenience which creates an instance of the
ListMetricValuesRequest.Builderavoiding the need to create one manually viaListMetricValuesRequest.builder()- Parameters:
listMetricValuesRequest- AConsumerthat will call methods onListMetricValuesRequest.Builderto create a request.- Returns:
- Result of the ListMetricValues operation returned by the service.
-
listMetricValuesPaginator
default ListMetricValuesIterable listMetricValuesPaginator(ListMetricValuesRequest listMetricValuesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListMetricValuesIterable responses = client.listMetricValuesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListMetricValuesIterable responses = client.listMetricValuesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListMetricValuesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListMetricValuesIterable responses = client.listMetricValuesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)operation.- Parameters:
listMetricValuesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listMetricValuesPaginator
default ListMetricValuesIterable listMetricValuesPaginator(Consumer<ListMetricValuesRequest.Builder> listMetricValuesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListMetricValuesIterable responses = client.listMetricValuesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListMetricValuesIterable responses = client.listMetricValuesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListMetricValuesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListMetricValuesIterable responses = client.listMetricValuesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)operation.
This is a convenience which creates an instance of the
ListMetricValuesRequest.Builderavoiding the need to create one manually viaListMetricValuesRequest.builder()- Parameters:
listMetricValuesRequest- AConsumerthat will call methods onListMetricValuesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listMitigationActions
default ListMitigationActionsResponse listMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
- Parameters:
listMitigationActionsRequest-- Returns:
- Result of the ListMitigationActions operation returned by the service.
-
listMitigationActions
default ListMitigationActionsResponse listMitigationActions(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Gets a list of all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
This is a convenience which creates an instance of the
ListMitigationActionsRequest.Builderavoiding the need to create one manually viaListMitigationActionsRequest.builder()- Parameters:
listMitigationActionsRequest- AConsumerthat will call methods onListMitigationActionsRequest.Builderto create a request.- Returns:
- Result of the ListMitigationActions operation returned by the service.
-
listMitigationActionsPaginator
default ListMitigationActionsIterable listMitigationActionsPaginator(ListMitigationActionsRequest listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client .listMitigationActionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)operation.- Parameters:
listMitigationActionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listMitigationActionsPaginator
default ListMitigationActionsIterable listMitigationActionsPaginator(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client .listMitigationActionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListMitigationActionsIterable responses = client.listMitigationActionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)operation.
This is a convenience which creates an instance of the
ListMitigationActionsRequest.Builderavoiding the need to create one manually viaListMitigationActionsRequest.builder()- Parameters:
listMitigationActionsRequest- AConsumerthat will call methods onListMitigationActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listOTAUpdates
default ListOtaUpdatesResponse listOTAUpdates(ListOtaUpdatesRequest listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
- Parameters:
listOtaUpdatesRequest-- Returns:
- Result of the ListOTAUpdates operation returned by the service.
-
listOTAUpdates
default ListOtaUpdatesResponse listOTAUpdates(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists OTA updates.
Requires permission to access the ListOTAUpdates action.
This is a convenience which creates an instance of the
ListOtaUpdatesRequest.Builderavoiding the need to create one manually viaListOtaUpdatesRequest.builder()- Parameters:
listOtaUpdatesRequest- AConsumerthat will call methods onListOtaUpdatesRequest.Builderto create a request.- Returns:
- Result of the ListOTAUpdates operation returned by the service.
-
listOTAUpdates
default ListOtaUpdatesResponse listOTAUpdates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionLists OTA updates.
Requires permission to access the ListOTAUpdates action.
- Returns:
- Result of the ListOTAUpdates operation returned by the service.
- See Also:
-
listOTAUpdatesPaginator
default ListOTAUpdatesIterable listOTAUpdatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOTAUpdatesPaginator
default ListOTAUpdatesIterable listOTAUpdatesPaginator(ListOtaUpdatesRequest listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation.- Parameters:
listOtaUpdatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listOTAUpdatesPaginator
default ListOTAUpdatesIterable listOTAUpdatesPaginator(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListOTAUpdatesIterable responses = client.listOTAUpdatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)operation.
This is a convenience which creates an instance of the
ListOtaUpdatesRequest.Builderavoiding the need to create one manually viaListOtaUpdatesRequest.builder()- Parameters:
listOtaUpdatesRequest- AConsumerthat will call methods onListOtaUpdatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listOutgoingCertificates
default ListOutgoingCertificatesResponse listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
- Parameters:
listOutgoingCertificatesRequest- The input to the ListOutgoingCertificates operation.- Returns:
- Result of the ListOutgoingCertificates operation returned by the service.
-
listOutgoingCertificates
default ListOutgoingCertificatesResponse listOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
This is a convenience which creates an instance of the
ListOutgoingCertificatesRequest.Builderavoiding the need to create one manually viaListOutgoingCertificatesRequest.builder()- Parameters:
listOutgoingCertificatesRequest- AConsumerthat will call methods onListOutgoingCertificatesRequest.Builderto create a request. The input to the ListOutgoingCertificates operation.- Returns:
- Result of the ListOutgoingCertificates operation returned by the service.
-
listOutgoingCertificates
default ListOutgoingCertificatesResponse listOutgoingCertificates() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists certificates that are being transferred but not yet accepted.
Requires permission to access the ListOutgoingCertificates action.
- Returns:
- Result of the ListOutgoingCertificates operation returned by the service.
- See Also:
-
listOutgoingCertificatesPaginator
default ListOutgoingCertificatesIterable listOutgoingCertificatesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client .listOutgoingCertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOutgoingCertificatesPaginator
default ListOutgoingCertificatesIterable listOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client .listOutgoingCertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation.- Parameters:
listOutgoingCertificatesRequest- The input to the ListOutgoingCertificates operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listOutgoingCertificatesPaginator
default ListOutgoingCertificatesIterable listOutgoingCertificatesPaginator(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client .listOutgoingCertificatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesIterable responses = client.listOutgoingCertificatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)operation.
This is a convenience which creates an instance of the
ListOutgoingCertificatesRequest.Builderavoiding the need to create one manually viaListOutgoingCertificatesRequest.builder()- Parameters:
listOutgoingCertificatesRequest- AConsumerthat will call methods onListOutgoingCertificatesRequest.Builderto create a request. The input to the ListOutgoingCertificates operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPackageVersions
default ListPackageVersionsResponse listPackageVersions(ListPackageVersionsRequest listPackageVersionsRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Lists the software package versions associated to the account.
Requires permission to access the ListPackageVersions action.
- Parameters:
listPackageVersionsRequest-- Returns:
- Result of the ListPackageVersions operation returned by the service.
-
listPackageVersions
default ListPackageVersionsResponse listPackageVersions(Consumer<ListPackageVersionsRequest.Builder> listPackageVersionsRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Lists the software package versions associated to the account.
Requires permission to access the ListPackageVersions action.
This is a convenience which creates an instance of the
ListPackageVersionsRequest.Builderavoiding the need to create one manually viaListPackageVersionsRequest.builder()- Parameters:
listPackageVersionsRequest- AConsumerthat will call methods onListPackageVersionsRequest.Builderto create a request.- Returns:
- Result of the ListPackageVersions operation returned by the service.
-
listPackageVersionsPaginator
default ListPackageVersionsIterable listPackageVersionsPaginator(ListPackageVersionsRequest listPackageVersionsRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException This is a variant of
listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPackageVersionsIterable responses = client.listPackageVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPackageVersionsIterable responses = client .listPackageVersionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPackageVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPackageVersionsIterable responses = client.listPackageVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)operation.- Parameters:
listPackageVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPackageVersionsPaginator
default ListPackageVersionsIterable listPackageVersionsPaginator(Consumer<ListPackageVersionsRequest.Builder> listPackageVersionsRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException This is a variant of
listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPackageVersionsIterable responses = client.listPackageVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPackageVersionsIterable responses = client .listPackageVersionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPackageVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPackageVersionsIterable responses = client.listPackageVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)operation.
This is a convenience which creates an instance of the
ListPackageVersionsRequest.Builderavoiding the need to create one manually viaListPackageVersionsRequest.builder()- Parameters:
listPackageVersionsRequest- AConsumerthat will call methods onListPackageVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPackages
default ListPackagesResponse listPackages(ListPackagesRequest listPackagesRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Lists the software packages associated to the account.
Requires permission to access the ListPackages action.
- Parameters:
listPackagesRequest-- Returns:
- Result of the ListPackages operation returned by the service.
-
listPackages
default ListPackagesResponse listPackages(Consumer<ListPackagesRequest.Builder> listPackagesRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Lists the software packages associated to the account.
Requires permission to access the ListPackages action.
This is a convenience which creates an instance of the
ListPackagesRequest.Builderavoiding the need to create one manually viaListPackagesRequest.builder()- Parameters:
listPackagesRequest- AConsumerthat will call methods onListPackagesRequest.Builderto create a request.- Returns:
- Result of the ListPackages operation returned by the service.
-
listPackagesPaginator
default ListPackagesIterable listPackagesPaginator(ListPackagesRequest listPackagesRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException This is a variant of
listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPackagesIterable responses = client.listPackagesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPackagesIterable responses = client.listPackagesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPackagesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPackagesIterable responses = client.listPackagesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)operation.- Parameters:
listPackagesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPackagesPaginator
default ListPackagesIterable listPackagesPaginator(Consumer<ListPackagesRequest.Builder> listPackagesRequest) throws ThrottlingException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException This is a variant of
listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPackagesIterable responses = client.listPackagesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPackagesIterable responses = client.listPackagesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPackagesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPackagesIterable responses = client.listPackagesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)operation.
This is a convenience which creates an instance of the
ListPackagesRequest.Builderavoiding the need to create one manually viaListPackagesRequest.builder()- Parameters:
listPackagesRequest- AConsumerthat will call methods onListPackagesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPolicies
default ListPoliciesResponse listPolicies(ListPoliciesRequest listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your policies.
Requires permission to access the ListPolicies action.
- Parameters:
listPoliciesRequest- The input for the ListPolicies operation.- Returns:
- Result of the ListPolicies operation returned by the service.
-
listPolicies
default ListPoliciesResponse listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your policies.
Requires permission to access the ListPolicies action.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request. The input for the ListPolicies operation.- Returns:
- Result of the ListPolicies operation returned by the service.
-
listPolicies
default ListPoliciesResponse listPolicies() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists your policies.
Requires permission to access the ListPolicies action.
- Returns:
- Result of the ListPolicies operation returned by the service.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation.- Parameters:
listPoliciesRequest- The input for the ListPolicies operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPoliciesPaginator
default ListPoliciesIterable listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPoliciesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPoliciesIterable responses = client.listPoliciesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListPoliciesRequest.Builderavoiding the need to create one manually viaListPoliciesRequest.builder()- Parameters:
listPoliciesRequest- AConsumerthat will call methods onListPoliciesRequest.Builderto create a request. The input for the ListPolicies operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPolicyVersions
default ListPolicyVersionsResponse listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the versions of the specified policy and identifies the default version.
Requires permission to access the ListPolicyVersions action.
- Parameters:
listPolicyVersionsRequest- The input for the ListPolicyVersions operation.- Returns:
- Result of the ListPolicyVersions operation returned by the service.
-
listPolicyVersions
default ListPolicyVersionsResponse listPolicyVersions(Consumer<ListPolicyVersionsRequest.Builder> listPolicyVersionsRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the versions of the specified policy and identifies the default version.
Requires permission to access the ListPolicyVersions action.
This is a convenience which creates an instance of the
ListPolicyVersionsRequest.Builderavoiding the need to create one manually viaListPolicyVersionsRequest.builder()- Parameters:
listPolicyVersionsRequest- AConsumerthat will call methods onListPolicyVersionsRequest.Builderto create a request. The input for the ListPolicyVersions operation.- Returns:
- Result of the ListPolicyVersions operation returned by the service.
-
listPrincipalThings
default ListPrincipalThingsResponse listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListPrincipalThings action.
- Parameters:
listPrincipalThingsRequest- The input for the ListPrincipalThings operation.- Returns:
- Result of the ListPrincipalThings operation returned by the service.
-
listPrincipalThings
default ListPrincipalThingsResponse listPrincipalThings(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListPrincipalThings action.
This is a convenience which creates an instance of the
ListPrincipalThingsRequest.Builderavoiding the need to create one manually viaListPrincipalThingsRequest.builder()- Parameters:
listPrincipalThingsRequest- AConsumerthat will call methods onListPrincipalThingsRequest.Builderto create a request. The input for the ListPrincipalThings operation.- Returns:
- Result of the ListPrincipalThings operation returned by the service.
-
listPrincipalThingsPaginator
default ListPrincipalThingsIterable listPrincipalThingsPaginator(ListPrincipalThingsRequest listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client .listPrincipalThingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)operation.- Parameters:
listPrincipalThingsRequest- The input for the ListPrincipalThings operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listPrincipalThingsPaginator
default ListPrincipalThingsIterable listPrincipalThingsPaginator(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client .listPrincipalThingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListPrincipalThingsIterable responses = client.listPrincipalThingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)operation.
This is a convenience which creates an instance of the
ListPrincipalThingsRequest.Builderavoiding the need to create one manually viaListPrincipalThingsRequest.builder()- Parameters:
listPrincipalThingsRequest- AConsumerthat will call methods onListPrincipalThingsRequest.Builderto create a request. The input for the ListPrincipalThings operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listProvisioningTemplateVersions
default ListProvisioningTemplateVersionsResponse listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException A list of provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
- Parameters:
listProvisioningTemplateVersionsRequest-- Returns:
- Result of the ListProvisioningTemplateVersions operation returned by the service.
-
listProvisioningTemplateVersions
default ListProvisioningTemplateVersionsResponse listProvisioningTemplateVersions(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException A list of provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
This is a convenience which creates an instance of the
ListProvisioningTemplateVersionsRequest.Builderavoiding the need to create one manually viaListProvisioningTemplateVersionsRequest.builder()- Parameters:
listProvisioningTemplateVersionsRequest- AConsumerthat will call methods onListProvisioningTemplateVersionsRequest.Builderto create a request.- Returns:
- Result of the ListProvisioningTemplateVersions operation returned by the service.
-
listProvisioningTemplateVersionsPaginator
default ListProvisioningTemplateVersionsIterable listProvisioningTemplateVersionsPaginator(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException This is a variant of
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client .listProvisioningTemplateVersionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)operation.- Parameters:
listProvisioningTemplateVersionsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listProvisioningTemplateVersionsPaginator
default ListProvisioningTemplateVersionsIterable listProvisioningTemplateVersionsPaginator(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, ResourceNotFoundException, UnauthorizedException, AwsServiceException, SdkClientException, IotException This is a variant of
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client .listProvisioningTemplateVersionsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsIterable responses = client.listProvisioningTemplateVersionsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)operation.
This is a convenience which creates an instance of the
ListProvisioningTemplateVersionsRequest.Builderavoiding the need to create one manually viaListProvisioningTemplateVersionsRequest.builder()- Parameters:
listProvisioningTemplateVersionsRequest- AConsumerthat will call methods onListProvisioningTemplateVersionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listProvisioningTemplates
default ListProvisioningTemplatesResponse listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Lists the provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
- Parameters:
listProvisioningTemplatesRequest-- Returns:
- Result of the ListProvisioningTemplates operation returned by the service.
-
listProvisioningTemplates
default ListProvisioningTemplatesResponse listProvisioningTemplates(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Lists the provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
This is a convenience which creates an instance of the
ListProvisioningTemplatesRequest.Builderavoiding the need to create one manually viaListProvisioningTemplatesRequest.builder()- Parameters:
listProvisioningTemplatesRequest- AConsumerthat will call methods onListProvisioningTemplatesRequest.Builderto create a request.- Returns:
- Result of the ListProvisioningTemplates operation returned by the service.
-
listProvisioningTemplatesPaginator
default ListProvisioningTemplatesIterable listProvisioningTemplatesPaginator(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException This is a variant of
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client .listProvisioningTemplatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)operation.- Parameters:
listProvisioningTemplatesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listProvisioningTemplatesPaginator
default ListProvisioningTemplatesIterable listProvisioningTemplatesPaginator(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest) throws InternalFailureException, InvalidRequestException, ThrottlingException, UnauthorizedException, AwsServiceException, SdkClientException, IotException This is a variant of
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client .listProvisioningTemplatesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesIterable responses = client.listProvisioningTemplatesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)operation.
This is a convenience which creates an instance of the
ListProvisioningTemplatesRequest.Builderavoiding the need to create one manually viaListProvisioningTemplatesRequest.builder()- Parameters:
listProvisioningTemplatesRequest- AConsumerthat will call methods onListProvisioningTemplatesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listRelatedResourcesForAuditFinding
default ListRelatedResourcesForAuditFindingResponse listRelatedResourcesForAuditFinding(ListRelatedResourcesForAuditFindingRequest listRelatedResourcesForAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException The related resources of an Audit finding. The following resources can be returned from calling this API:
-
DEVICE_CERTIFICATE
-
CA_CERTIFICATE
-
IOT_POLICY
-
COGNITO_IDENTITY_POOL
-
CLIENT_ID
-
ACCOUNT_SETTINGS
-
ROLE_ALIAS
-
IAM_ROLE
-
ISSUER_CERTIFICATE
This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.
- Parameters:
listRelatedResourcesForAuditFindingRequest-- Returns:
- Result of the ListRelatedResourcesForAuditFinding operation returned by the service.
-
-
listRelatedResourcesForAuditFinding
default ListRelatedResourcesForAuditFindingResponse listRelatedResourcesForAuditFinding(Consumer<ListRelatedResourcesForAuditFindingRequest.Builder> listRelatedResourcesForAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException The related resources of an Audit finding. The following resources can be returned from calling this API:
-
DEVICE_CERTIFICATE
-
CA_CERTIFICATE
-
IOT_POLICY
-
COGNITO_IDENTITY_POOL
-
CLIENT_ID
-
ACCOUNT_SETTINGS
-
ROLE_ALIAS
-
IAM_ROLE
-
ISSUER_CERTIFICATE
This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.
This is a convenience which creates an instance of the
ListRelatedResourcesForAuditFindingRequest.Builderavoiding the need to create one manually viaListRelatedResourcesForAuditFindingRequest.builder()- Parameters:
listRelatedResourcesForAuditFindingRequest- AConsumerthat will call methods onListRelatedResourcesForAuditFindingRequest.Builderto create a request.- Returns:
- Result of the ListRelatedResourcesForAuditFinding operation returned by the service.
-
-
listRelatedResourcesForAuditFindingPaginator
default ListRelatedResourcesForAuditFindingIterable listRelatedResourcesForAuditFindingPaginator(ListRelatedResourcesForAuditFindingRequest listRelatedResourcesForAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingIterable responses = client.listRelatedResourcesForAuditFindingPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingIterable responses = client .listRelatedResourcesForAuditFindingPaginator(request); for (software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingIterable responses = client.listRelatedResourcesForAuditFindingPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)operation.- Parameters:
listRelatedResourcesForAuditFindingRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listRelatedResourcesForAuditFindingPaginator
default ListRelatedResourcesForAuditFindingIterable listRelatedResourcesForAuditFindingPaginator(Consumer<ListRelatedResourcesForAuditFindingRequest.Builder> listRelatedResourcesForAuditFindingRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingIterable responses = client.listRelatedResourcesForAuditFindingPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingIterable responses = client .listRelatedResourcesForAuditFindingPaginator(request); for (software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingIterable responses = client.listRelatedResourcesForAuditFindingPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)operation.
This is a convenience which creates an instance of the
ListRelatedResourcesForAuditFindingRequest.Builderavoiding the need to create one manually viaListRelatedResourcesForAuditFindingRequest.builder()- Parameters:
listRelatedResourcesForAuditFindingRequest- AConsumerthat will call methods onListRelatedResourcesForAuditFindingRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listRoleAliases
default ListRoleAliasesResponse listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
- Parameters:
listRoleAliasesRequest-- Returns:
- Result of the ListRoleAliases operation returned by the service.
-
listRoleAliases
default ListRoleAliasesResponse listRoleAliases(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
This is a convenience which creates an instance of the
ListRoleAliasesRequest.Builderavoiding the need to create one manually viaListRoleAliasesRequest.builder()- Parameters:
listRoleAliasesRequest- AConsumerthat will call methods onListRoleAliasesRequest.Builderto create a request.- Returns:
- Result of the ListRoleAliases operation returned by the service.
-
listRoleAliases
default ListRoleAliasesResponse listRoleAliases() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
- Returns:
- Result of the ListRoleAliases operation returned by the service.
- See Also:
-
listRoleAliasesPaginator
default ListRoleAliasesIterable listRoleAliasesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRoleAliasesPaginator
default ListRoleAliasesIterable listRoleAliasesPaginator(ListRoleAliasesRequest listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation.- Parameters:
listRoleAliasesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listRoleAliasesPaginator
default ListRoleAliasesIterable listRoleAliasesPaginator(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListRoleAliasesIterable responses = client.listRoleAliasesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)operation.
This is a convenience which creates an instance of the
ListRoleAliasesRequest.Builderavoiding the need to create one manually viaListRoleAliasesRequest.builder()- Parameters:
listRoleAliasesRequest- AConsumerthat will call methods onListRoleAliasesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listSbomValidationResults
default ListSbomValidationResultsResponse listSbomValidationResults(ListSbomValidationResultsRequest listSbomValidationResultsRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException The validation results for all software bill of materials (SBOM) attached to a specific software package version.
Requires permission to access the ListSbomValidationResults action.
- Parameters:
listSbomValidationResultsRequest-- Returns:
- Result of the ListSbomValidationResults operation returned by the service.
-
listSbomValidationResults
default ListSbomValidationResultsResponse listSbomValidationResults(Consumer<ListSbomValidationResultsRequest.Builder> listSbomValidationResultsRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException The validation results for all software bill of materials (SBOM) attached to a specific software package version.
Requires permission to access the ListSbomValidationResults action.
This is a convenience which creates an instance of the
ListSbomValidationResultsRequest.Builderavoiding the need to create one manually viaListSbomValidationResultsRequest.builder()- Parameters:
listSbomValidationResultsRequest- AConsumerthat will call methods onListSbomValidationResultsRequest.Builderto create a request.- Returns:
- Result of the ListSbomValidationResults operation returned by the service.
-
listSbomValidationResultsPaginator
default ListSbomValidationResultsIterable listSbomValidationResultsPaginator(ListSbomValidationResultsRequest listSbomValidationResultsRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsIterable responses = client.listSbomValidationResultsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsIterable responses = client .listSbomValidationResultsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSbomValidationResultsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsIterable responses = client.listSbomValidationResultsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)operation.- Parameters:
listSbomValidationResultsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listSbomValidationResultsPaginator
default ListSbomValidationResultsIterable listSbomValidationResultsPaginator(Consumer<ListSbomValidationResultsRequest.Builder> listSbomValidationResultsRequest) throws ThrottlingException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsIterable responses = client.listSbomValidationResultsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsIterable responses = client .listSbomValidationResultsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSbomValidationResultsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsIterable responses = client.listSbomValidationResultsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)operation.
This is a convenience which creates an instance of the
ListSbomValidationResultsRequest.Builderavoiding the need to create one manually viaListSbomValidationResultsRequest.builder()- Parameters:
listSbomValidationResultsRequest- AConsumerthat will call methods onListSbomValidationResultsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listScheduledAudits
default ListScheduledAuditsResponse listScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
- Parameters:
listScheduledAuditsRequest-- Returns:
- Result of the ListScheduledAudits operation returned by the service.
-
listScheduledAudits
default ListScheduledAuditsResponse listScheduledAudits(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
This is a convenience which creates an instance of the
ListScheduledAuditsRequest.Builderavoiding the need to create one manually viaListScheduledAuditsRequest.builder()- Parameters:
listScheduledAuditsRequest- AConsumerthat will call methods onListScheduledAuditsRequest.Builderto create a request.- Returns:
- Result of the ListScheduledAudits operation returned by the service.
-
listScheduledAudits
default ListScheduledAuditsResponse listScheduledAudits() throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
- Returns:
- Result of the ListScheduledAudits operation returned by the service.
- See Also:
-
listScheduledAuditsPaginator
default ListScheduledAuditsIterable listScheduledAuditsPaginator() throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client .listScheduledAuditsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listScheduledAuditsPaginator
default ListScheduledAuditsIterable listScheduledAuditsPaginator(ListScheduledAuditsRequest listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client .listScheduledAuditsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation.- Parameters:
listScheduledAuditsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listScheduledAuditsPaginator
default ListScheduledAuditsIterable listScheduledAuditsPaginator(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client .listScheduledAuditsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListScheduledAuditsIterable responses = client.listScheduledAuditsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)operation.
This is a convenience which creates an instance of the
ListScheduledAuditsRequest.Builderavoiding the need to create one manually viaListScheduledAuditsRequest.builder()- Parameters:
listScheduledAuditsRequest- AConsumerthat will call methods onListScheduledAuditsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listSecurityProfiles
default ListSecurityProfilesResponse listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionNameandmetricNamecannot be used in the same request.- Parameters:
listSecurityProfilesRequest-- Returns:
- Result of the ListSecurityProfiles operation returned by the service.
-
listSecurityProfiles
default ListSecurityProfilesResponse listSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionNameandmetricNamecannot be used in the same request.
This is a convenience which creates an instance of the
ListSecurityProfilesRequest.Builderavoiding the need to create one manually viaListSecurityProfilesRequest.builder()- Parameters:
listSecurityProfilesRequest- AConsumerthat will call methods onListSecurityProfilesRequest.Builderto create a request.- Returns:
- Result of the ListSecurityProfiles operation returned by the service.
-
listSecurityProfiles
default ListSecurityProfilesResponse listSecurityProfiles() throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotExceptionLists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionNameandmetricNamecannot be used in the same request.- Returns:
- Result of the ListSecurityProfiles operation returned by the service.
- See Also:
-
listSecurityProfilesPaginator
default ListSecurityProfilesIterable listSecurityProfilesPaginator() throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client .listSecurityProfilesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSecurityProfilesPaginator
default ListSecurityProfilesIterable listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client .listSecurityProfilesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation.- Parameters:
listSecurityProfilesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listSecurityProfilesPaginator
default ListSecurityProfilesIterable listSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client .listSecurityProfilesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesIterable responses = client.listSecurityProfilesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)operation.
This is a convenience which creates an instance of the
ListSecurityProfilesRequest.Builderavoiding the need to create one manually viaListSecurityProfilesRequest.builder()- Parameters:
listSecurityProfilesRequest- AConsumerthat will call methods onListSecurityProfilesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listSecurityProfilesForTarget
default ListSecurityProfilesForTargetResponse listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
- Parameters:
listSecurityProfilesForTargetRequest-- Returns:
- Result of the ListSecurityProfilesForTarget operation returned by the service.
-
listSecurityProfilesForTarget
default ListSecurityProfilesForTargetResponse listSecurityProfilesForTarget(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
This is a convenience which creates an instance of the
ListSecurityProfilesForTargetRequest.Builderavoiding the need to create one manually viaListSecurityProfilesForTargetRequest.builder()- Parameters:
listSecurityProfilesForTargetRequest- AConsumerthat will call methods onListSecurityProfilesForTargetRequest.Builderto create a request.- Returns:
- Result of the ListSecurityProfilesForTarget operation returned by the service.
-
listSecurityProfilesForTargetPaginator
default ListSecurityProfilesForTargetIterable listSecurityProfilesForTargetPaginator(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client .listSecurityProfilesForTargetPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)operation.- Parameters:
listSecurityProfilesForTargetRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listSecurityProfilesForTargetPaginator
default ListSecurityProfilesForTargetIterable listSecurityProfilesForTargetPaginator(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client .listSecurityProfilesForTargetPaginator(request); for (software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetIterable responses = client.listSecurityProfilesForTargetPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)operation.
This is a convenience which creates an instance of the
ListSecurityProfilesForTargetRequest.Builderavoiding the need to create one manually viaListSecurityProfilesForTargetRequest.builder()- Parameters:
listSecurityProfilesForTargetRequest- AConsumerthat will call methods onListSecurityProfilesForTargetRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listStreams
default ListStreamsResponse listStreams(ListStreamsRequest listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
- Parameters:
listStreamsRequest-- Returns:
- Result of the ListStreams operation returned by the service.
-
listStreams
default ListStreamsResponse listStreams(Consumer<ListStreamsRequest.Builder> listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
This is a convenience which creates an instance of the
ListStreamsRequest.Builderavoiding the need to create one manually viaListStreamsRequest.builder()- Parameters:
listStreamsRequest- AConsumerthat will call methods onListStreamsRequest.Builderto create a request.- Returns:
- Result of the ListStreams operation returned by the service.
-
listStreams
default ListStreamsResponse listStreams() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists all of the streams in your Amazon Web Services account.
Requires permission to access the ListStreams action.
- Returns:
- Result of the ListStreams operation returned by the service.
- See Also:
-
listStreamsPaginator
default ListStreamsIterable listStreamsPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListStreamsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listStreamsPaginator
default ListStreamsIterable listStreamsPaginator(ListStreamsRequest listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListStreamsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation.- Parameters:
listStreamsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listStreamsPaginator
default ListStreamsIterable listStreamsPaginator(Consumer<ListStreamsRequest.Builder> listStreamsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListStreamsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListStreamsIterable responses = client.listStreamsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)operation.
This is a convenience which creates an instance of the
ListStreamsRequest.Builderavoiding the need to create one manually viaListStreamsRequest.builder()- Parameters:
listStreamsRequest- AConsumerthat will call methods onListStreamsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the tags (metadata) you have assigned to the resource.
Requires permission to access the ListTagsForResource action.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)operation.- Parameters:
listTagsForResourceRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTagsForResourcePaginator
default ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client .listTagsForResourcePaginator(request); for (software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)operation.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTargetsForPolicy
default ListTargetsForPolicyResponse listTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
- Parameters:
listTargetsForPolicyRequest-- Returns:
- Result of the ListTargetsForPolicy operation returned by the service.
-
listTargetsForPolicy
default ListTargetsForPolicyResponse listTargetsForPolicy(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException List targets for the specified policy.
Requires permission to access the ListTargetsForPolicy action.
This is a convenience which creates an instance of the
ListTargetsForPolicyRequest.Builderavoiding the need to create one manually viaListTargetsForPolicyRequest.builder()- Parameters:
listTargetsForPolicyRequest- AConsumerthat will call methods onListTargetsForPolicyRequest.Builderto create a request.- Returns:
- Result of the ListTargetsForPolicy operation returned by the service.
-
listTargetsForPolicyPaginator
default ListTargetsForPolicyIterable listTargetsForPolicyPaginator(ListTargetsForPolicyRequest listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException This is a variant of
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client .listTargetsForPolicyPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)operation.- Parameters:
listTargetsForPolicyRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTargetsForPolicyPaginator
default ListTargetsForPolicyIterable listTargetsForPolicyPaginator(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException This is a variant of
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client .listTargetsForPolicyPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyIterable responses = client.listTargetsForPolicyPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)operation.
This is a convenience which creates an instance of the
ListTargetsForPolicyRequest.Builderavoiding the need to create one manually viaListTargetsForPolicyRequest.builder()- Parameters:
listTargetsForPolicyRequest- AConsumerthat will call methods onListTargetsForPolicyRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTargetsForSecurityProfile
default ListTargetsForSecurityProfileResponse listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
- Parameters:
listTargetsForSecurityProfileRequest-- Returns:
- Result of the ListTargetsForSecurityProfile operation returned by the service.
-
listTargetsForSecurityProfile
default ListTargetsForSecurityProfileResponse listTargetsForSecurityProfile(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the targets (thing groups) associated with a given Device Defender security profile.
Requires permission to access the ListTargetsForSecurityProfile action.
This is a convenience which creates an instance of the
ListTargetsForSecurityProfileRequest.Builderavoiding the need to create one manually viaListTargetsForSecurityProfileRequest.builder()- Parameters:
listTargetsForSecurityProfileRequest- AConsumerthat will call methods onListTargetsForSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the ListTargetsForSecurityProfile operation returned by the service.
-
listTargetsForSecurityProfilePaginator
default ListTargetsForSecurityProfileIterable listTargetsForSecurityProfilePaginator(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client .listTargetsForSecurityProfilePaginator(request); for (software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)operation.- Parameters:
listTargetsForSecurityProfileRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTargetsForSecurityProfilePaginator
default ListTargetsForSecurityProfileIterable listTargetsForSecurityProfilePaginator(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client .listTargetsForSecurityProfilePaginator(request); for (software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfileIterable responses = client.listTargetsForSecurityProfilePaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)operation.
This is a convenience which creates an instance of the
ListTargetsForSecurityProfileRequest.Builderavoiding the need to create one manually viaListTargetsForSecurityProfileRequest.builder()- Parameters:
listTargetsForSecurityProfileRequest- AConsumerthat will call methods onListTargetsForSecurityProfileRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingGroups
default ListThingGroupsResponse listThingGroups(ListThingGroupsRequest listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException List the thing groups in your account.
Requires permission to access the ListThingGroups action.
- Parameters:
listThingGroupsRequest-- Returns:
- Result of the ListThingGroups operation returned by the service.
-
listThingGroups
default ListThingGroupsResponse listThingGroups(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException List the thing groups in your account.
Requires permission to access the ListThingGroups action.
This is a convenience which creates an instance of the
ListThingGroupsRequest.Builderavoiding the need to create one manually viaListThingGroupsRequest.builder()- Parameters:
listThingGroupsRequest- AConsumerthat will call methods onListThingGroupsRequest.Builderto create a request.- Returns:
- Result of the ListThingGroups operation returned by the service.
-
listThingGroups
default ListThingGroupsResponse listThingGroups() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotExceptionList the thing groups in your account.
Requires permission to access the ListThingGroups action.
- Returns:
- Result of the ListThingGroups operation returned by the service.
- See Also:
-
listThingGroupsPaginator
default ListThingGroupsIterable listThingGroupsPaginator() throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listThingGroupsPaginator
default ListThingGroupsIterable listThingGroupsPaginator(ListThingGroupsRequest listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation.- Parameters:
listThingGroupsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingGroupsPaginator
default ListThingGroupsIterable listThingGroupsPaginator(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsIterable responses = client.listThingGroupsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)operation.
This is a convenience which creates an instance of the
ListThingGroupsRequest.Builderavoiding the need to create one manually viaListThingGroupsRequest.builder()- Parameters:
listThingGroupsRequest- AConsumerthat will call methods onListThingGroupsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingGroupsForThing
default ListThingGroupsForThingResponse listThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
- Parameters:
listThingGroupsForThingRequest-- Returns:
- Result of the ListThingGroupsForThing operation returned by the service.
-
listThingGroupsForThing
default ListThingGroupsForThingResponse listThingGroupsForThing(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException List the thing groups to which the specified thing belongs.
Requires permission to access the ListThingGroupsForThing action.
This is a convenience which creates an instance of the
ListThingGroupsForThingRequest.Builderavoiding the need to create one manually viaListThingGroupsForThingRequest.builder()- Parameters:
listThingGroupsForThingRequest- AConsumerthat will call methods onListThingGroupsForThingRequest.Builderto create a request.- Returns:
- Result of the ListThingGroupsForThing operation returned by the service.
-
listThingGroupsForThingPaginator
default ListThingGroupsForThingIterable listThingGroupsForThingPaginator(ListThingGroupsForThingRequest listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client .listThingGroupsForThingPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)operation.- Parameters:
listThingGroupsForThingRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingGroupsForThingPaginator
default ListThingGroupsForThingIterable listThingGroupsForThingPaginator(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client .listThingGroupsForThingPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingIterable responses = client.listThingGroupsForThingPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)operation.
This is a convenience which creates an instance of the
ListThingGroupsForThingRequest.Builderavoiding the need to create one manually viaListThingGroupsForThingRequest.builder()- Parameters:
listThingGroupsForThingRequest- AConsumerthat will call methods onListThingGroupsForThingRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingPrincipals
default ListThingPrincipalsResponse listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListThingPrincipals action.
- Parameters:
listThingPrincipalsRequest- The input for the ListThingPrincipal operation.- Returns:
- Result of the ListThingPrincipals operation returned by the service.
-
listThingPrincipals
default ListThingPrincipalsResponse listThingPrincipals(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
Requires permission to access the ListThingPrincipals action.
This is a convenience which creates an instance of the
ListThingPrincipalsRequest.Builderavoiding the need to create one manually viaListThingPrincipalsRequest.builder()- Parameters:
listThingPrincipalsRequest- AConsumerthat will call methods onListThingPrincipalsRequest.Builderto create a request. The input for the ListThingPrincipal operation.- Returns:
- Result of the ListThingPrincipals operation returned by the service.
-
listThingPrincipalsPaginator
default ListThingPrincipalsIterable listThingPrincipalsPaginator(ListThingPrincipalsRequest listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client .listThingPrincipalsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)operation.- Parameters:
listThingPrincipalsRequest- The input for the ListThingPrincipal operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingPrincipalsPaginator
default ListThingPrincipalsIterable listThingPrincipalsPaginator(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client .listThingPrincipalsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingPrincipalsIterable responses = client.listThingPrincipalsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)operation.
This is a convenience which creates an instance of the
ListThingPrincipalsRequest.Builderavoiding the need to create one manually viaListThingPrincipalsRequest.builder()- Parameters:
listThingPrincipalsRequest- AConsumerthat will call methods onListThingPrincipalsRequest.Builderto create a request. The input for the ListThingPrincipal operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingRegistrationTaskReports
default ListThingRegistrationTaskReportsResponse listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException Information about the thing registration tasks.
- Parameters:
listThingRegistrationTaskReportsRequest-- Returns:
- Result of the ListThingRegistrationTaskReports operation returned by the service.
-
listThingRegistrationTaskReports
default ListThingRegistrationTaskReportsResponse listThingRegistrationTaskReports(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException Information about the thing registration tasks.
This is a convenience which creates an instance of the
ListThingRegistrationTaskReportsRequest.Builderavoiding the need to create one manually viaListThingRegistrationTaskReportsRequest.builder()- Parameters:
listThingRegistrationTaskReportsRequest- AConsumerthat will call methods onListThingRegistrationTaskReportsRequest.Builderto create a request.- Returns:
- Result of the ListThingRegistrationTaskReports operation returned by the service.
-
listThingRegistrationTaskReportsPaginator
default ListThingRegistrationTaskReportsIterable listThingRegistrationTaskReportsPaginator(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client .listThingRegistrationTaskReportsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)operation.- Parameters:
listThingRegistrationTaskReportsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingRegistrationTaskReportsPaginator
default ListThingRegistrationTaskReportsIterable listThingRegistrationTaskReportsPaginator(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client .listThingRegistrationTaskReportsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsIterable responses = client.listThingRegistrationTaskReportsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)operation.
This is a convenience which creates an instance of the
ListThingRegistrationTaskReportsRequest.Builderavoiding the need to create one manually viaListThingRegistrationTaskReportsRequest.builder()- Parameters:
listThingRegistrationTaskReportsRequest- AConsumerthat will call methods onListThingRegistrationTaskReportsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingRegistrationTasks
default ListThingRegistrationTasksResponse listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
- Parameters:
listThingRegistrationTasksRequest-- Returns:
- Result of the ListThingRegistrationTasks operation returned by the service.
-
listThingRegistrationTasks
default ListThingRegistrationTasksResponse listThingRegistrationTasks(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException List bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
This is a convenience which creates an instance of the
ListThingRegistrationTasksRequest.Builderavoiding the need to create one manually viaListThingRegistrationTasksRequest.builder()- Parameters:
listThingRegistrationTasksRequest- AConsumerthat will call methods onListThingRegistrationTasksRequest.Builderto create a request.- Returns:
- Result of the ListThingRegistrationTasks operation returned by the service.
-
listThingRegistrationTasks
default ListThingRegistrationTasksResponse listThingRegistrationTasks() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionList bulk thing provisioning tasks.
Requires permission to access the ListThingRegistrationTasks action.
- Returns:
- Result of the ListThingRegistrationTasks operation returned by the service.
- See Also:
-
listThingRegistrationTasksPaginator
default ListThingRegistrationTasksIterable listThingRegistrationTasksPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client .listThingRegistrationTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listThingRegistrationTasksPaginator
default ListThingRegistrationTasksIterable listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client .listThingRegistrationTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation.- Parameters:
listThingRegistrationTasksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingRegistrationTasksPaginator
default ListThingRegistrationTasksIterable listThingRegistrationTasksPaginator(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client .listThingRegistrationTasksPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksIterable responses = client.listThingRegistrationTasksPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)operation.
This is a convenience which creates an instance of the
ListThingRegistrationTasksRequest.Builderavoiding the need to create one manually viaListThingRegistrationTasksRequest.builder()- Parameters:
listThingRegistrationTasksRequest- AConsumerthat will call methods onListThingRegistrationTasksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingTypes
default ListThingTypesResponse listThingTypes(ListThingTypesRequest listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the existing thing types.
Requires permission to access the ListThingTypes action.
- Parameters:
listThingTypesRequest- The input for the ListThingTypes operation.- Returns:
- Result of the ListThingTypes operation returned by the service.
-
listThingTypes
default ListThingTypesResponse listThingTypes(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the existing thing types.
Requires permission to access the ListThingTypes action.
This is a convenience which creates an instance of the
ListThingTypesRequest.Builderavoiding the need to create one manually viaListThingTypesRequest.builder()- Parameters:
listThingTypesRequest- AConsumerthat will call methods onListThingTypesRequest.Builderto create a request. The input for the ListThingTypes operation.- Returns:
- Result of the ListThingTypes operation returned by the service.
-
listThingTypes
default ListThingTypesResponse listThingTypes() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists the existing thing types.
Requires permission to access the ListThingTypes action.
- Returns:
- Result of the ListThingTypes operation returned by the service.
- See Also:
-
listThingTypesPaginator
default ListThingTypesIterable listThingTypesPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listThingTypesPaginator
default ListThingTypesIterable listThingTypesPaginator(ListThingTypesRequest listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation.- Parameters:
listThingTypesRequest- The input for the ListThingTypes operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingTypesPaginator
default ListThingTypesIterable listThingTypesPaginator(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingTypesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingTypesIterable responses = client.listThingTypesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)operation.
This is a convenience which creates an instance of the
ListThingTypesRequest.Builderavoiding the need to create one manually viaListThingTypesRequest.builder()- Parameters:
listThingTypesRequest- AConsumerthat will call methods onListThingTypesRequest.Builderto create a request. The input for the ListThingTypes operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThings
default ListThingsResponse listThings(ListThingsRequest listThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling
ListThingswith attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. For more information, see List Things from the Amazon Web Services IoT Core Developer Guide.Requires permission to access the ListThings action.
You will not be charged for calling this API if an
Access deniederror 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.- Parameters:
listThingsRequest- The input for the ListThings operation.- Returns:
- Result of the ListThings operation returned by the service.
-
listThings
default ListThingsResponse listThings(Consumer<ListThingsRequest.Builder> listThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling
ListThingswith attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. For more information, see List Things from the Amazon Web Services IoT Core Developer Guide.Requires permission to access the ListThings action.
You will not be charged for calling this API if an
Access deniederror is returned. You will also not be charged if no attributes or pagination token was provided in request and no pagination token and no results were returned.
This is a convenience which creates an instance of the
ListThingsRequest.Builderavoiding the need to create one manually viaListThingsRequest.builder()- Parameters:
listThingsRequest- AConsumerthat will call methods onListThingsRequest.Builderto create a request. The input for the ListThings operation.- Returns:
- Result of the ListThings operation returned by the service.
-
listThings
default ListThingsResponse listThings() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionLists your things. Use the attributeName and attributeValue parameters to filter your things. For example, calling
ListThingswith attributeName=Color and attributeValue=Red retrieves all things in the registry that contain an attribute Color with the value Red. For more information, see List Things from the Amazon Web Services IoT Core Developer Guide.Requires permission to access the ListThings action.
You will not be charged for calling this API if an
Access deniederror 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.- Returns:
- Result of the ListThings operation returned by the service.
- See Also:
-
listThingsPaginator
default ListThingsIterable listThingsPaginator() throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listThingsPaginator
default ListThingsIterable listThingsPaginator(ListThingsRequest listThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation.- Parameters:
listThingsRequest- The input for the ListThings operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingsPaginator
default ListThingsIterable listThingsPaginator(Consumer<ListThingsRequest.Builder> listThingsRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsIterable responses = client.listThingsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)operation.
This is a convenience which creates an instance of the
ListThingsRequest.Builderavoiding the need to create one manually viaListThingsRequest.builder()- Parameters:
listThingsRequest- AConsumerthat will call methods onListThingsRequest.Builderto create a request. The input for the ListThings operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingsInBillingGroup
default ListThingsInBillingGroupResponse listThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
- Parameters:
listThingsInBillingGroupRequest-- Returns:
- Result of the ListThingsInBillingGroup operation returned by the service.
-
listThingsInBillingGroup
default ListThingsInBillingGroupResponse listThingsInBillingGroup(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the things you have added to the given billing group.
Requires permission to access the ListThingsInBillingGroup action.
This is a convenience which creates an instance of the
ListThingsInBillingGroupRequest.Builderavoiding the need to create one manually viaListThingsInBillingGroupRequest.builder()- Parameters:
listThingsInBillingGroupRequest- AConsumerthat will call methods onListThingsInBillingGroupRequest.Builderto create a request.- Returns:
- Result of the ListThingsInBillingGroup operation returned by the service.
-
listThingsInBillingGroupPaginator
default ListThingsInBillingGroupIterable listThingsInBillingGroupPaginator(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client .listThingsInBillingGroupPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)operation.- Parameters:
listThingsInBillingGroupRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingsInBillingGroupPaginator
default ListThingsInBillingGroupIterable listThingsInBillingGroupPaginator(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client .listThingsInBillingGroupPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupIterable responses = client.listThingsInBillingGroupPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)operation.
This is a convenience which creates an instance of the
ListThingsInBillingGroupRequest.Builderavoiding the need to create one manually viaListThingsInBillingGroupRequest.builder()- Parameters:
listThingsInBillingGroupRequest- AConsumerthat will call methods onListThingsInBillingGroupRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingsInThingGroup
default ListThingsInThingGroupResponse listThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
- Parameters:
listThingsInThingGroupRequest-- Returns:
- Result of the ListThingsInThingGroup operation returned by the service.
-
listThingsInThingGroup
default ListThingsInThingGroupResponse listThingsInThingGroup(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Lists the things in the specified group.
Requires permission to access the ListThingsInThingGroup action.
This is a convenience which creates an instance of the
ListThingsInThingGroupRequest.Builderavoiding the need to create one manually viaListThingsInThingGroupRequest.builder()- Parameters:
listThingsInThingGroupRequest- AConsumerthat will call methods onListThingsInThingGroupRequest.Builderto create a request.- Returns:
- Result of the ListThingsInThingGroup operation returned by the service.
-
listThingsInThingGroupPaginator
default ListThingsInThingGroupIterable listThingsInThingGroupPaginator(ListThingsInThingGroupRequest listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client .listThingsInThingGroupPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)operation.- Parameters:
listThingsInThingGroupRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listThingsInThingGroupPaginator
default ListThingsInThingGroupIterable listThingsInThingGroupPaginator(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException This is a variant of
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client .listThingsInThingGroupPaginator(request); for (software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupIterable responses = client.listThingsInThingGroupPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)operation.
This is a convenience which creates an instance of the
ListThingsInThingGroupRequest.Builderavoiding the need to create one manually viaListThingsInThingGroupRequest.builder()- Parameters:
listThingsInThingGroupRequest- AConsumerthat will call methods onListThingsInThingGroupRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTopicRuleDestinations
default ListTopicRuleDestinationsResponse listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
- Parameters:
listTopicRuleDestinationsRequest-- Returns:
- Result of the ListTopicRuleDestinations operation returned by the service.
-
listTopicRuleDestinations
default ListTopicRuleDestinationsResponse listTopicRuleDestinations(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException Lists all the topic rule destinations in your Amazon Web Services account.
Requires permission to access the ListTopicRuleDestinations action.
This is a convenience which creates an instance of the
ListTopicRuleDestinationsRequest.Builderavoiding the need to create one manually viaListTopicRuleDestinationsRequest.builder()- Parameters:
listTopicRuleDestinationsRequest- AConsumerthat will call methods onListTopicRuleDestinationsRequest.Builderto create a request.- Returns:
- Result of the ListTopicRuleDestinations operation returned by the service.
-
listTopicRuleDestinationsPaginator
default ListTopicRuleDestinationsIterable listTopicRuleDestinationsPaginator(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException This is a variant of
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client .listTopicRuleDestinationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)operation.- Parameters:
listTopicRuleDestinationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTopicRuleDestinationsPaginator
default ListTopicRuleDestinationsIterable listTopicRuleDestinationsPaginator(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, AwsServiceException, SdkClientException, IotException This is a variant of
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client .listTopicRuleDestinationsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsIterable responses = client.listTopicRuleDestinationsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)operation.
This is a convenience which creates an instance of the
ListTopicRuleDestinationsRequest.Builderavoiding the need to create one manually viaListTopicRuleDestinationsRequest.builder()- Parameters:
listTopicRuleDestinationsRequest- AConsumerthat will call methods onListTopicRuleDestinationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTopicRules
default ListTopicRulesResponse listTopicRules(ListTopicRulesRequest listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
- Parameters:
listTopicRulesRequest- The input for the ListTopicRules operation.- Returns:
- Result of the ListTopicRules operation returned by the service.
-
listTopicRules
default ListTopicRulesResponse listTopicRules(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
This is a convenience which creates an instance of the
ListTopicRulesRequest.Builderavoiding the need to create one manually viaListTopicRulesRequest.builder()- Parameters:
listTopicRulesRequest- AConsumerthat will call methods onListTopicRulesRequest.Builderto create a request. The input for the ListTopicRules operation.- Returns:
- Result of the ListTopicRules operation returned by the service.
-
listTopicRules
default ListTopicRulesResponse listTopicRules() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionLists the rules for the specific topic.
Requires permission to access the ListTopicRules action.
- Returns:
- Result of the ListTopicRules operation returned by the service.
- See Also:
-
listTopicRulesPaginator
default ListTopicRulesIterable listTopicRulesPaginator() throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotExceptionThis is a variant of
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTopicRulesPaginator
default ListTopicRulesIterable listTopicRulesPaginator(ListTopicRulesRequest listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation.- Parameters:
listTopicRulesRequest- The input for the ListTopicRules operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listTopicRulesPaginator
default ListTopicRulesIterable listTopicRulesPaginator(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); for (software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListTopicRulesIterable responses = client.listTopicRulesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)operation.
This is a convenience which creates an instance of the
ListTopicRulesRequest.Builderavoiding the need to create one manually viaListTopicRulesRequest.builder()- Parameters:
listTopicRulesRequest- AConsumerthat will call methods onListTopicRulesRequest.Builderto create a request. The input for the ListTopicRules operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listV2LoggingLevels
default ListV2LoggingLevelsResponse listV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
- Parameters:
listV2LoggingLevelsRequest-- Returns:
- Result of the ListV2LoggingLevels operation returned by the service.
-
listV2LoggingLevels
default ListV2LoggingLevelsResponse listV2LoggingLevels(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Lists logging levels.
Requires permission to access the ListV2LoggingLevels action.
This is a convenience which creates an instance of the
ListV2LoggingLevelsRequest.Builderavoiding the need to create one manually viaListV2LoggingLevelsRequest.builder()- Parameters:
listV2LoggingLevelsRequest- AConsumerthat will call methods onListV2LoggingLevelsRequest.Builderto create a request.- Returns:
- Result of the ListV2LoggingLevels operation returned by the service.
-
listV2LoggingLevelsPaginator
default ListV2LoggingLevelsIterable listV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client .listV2LoggingLevelsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)operation.- Parameters:
listV2LoggingLevelsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listV2LoggingLevelsPaginator
default ListV2LoggingLevelsIterable listV2LoggingLevelsPaginator(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException This is a variant of
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client .listV2LoggingLevelsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsIterable responses = client.listV2LoggingLevelsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)operation.
This is a convenience which creates an instance of the
ListV2LoggingLevelsRequest.Builderavoiding the need to create one manually viaListV2LoggingLevelsRequest.builder()- Parameters:
listV2LoggingLevelsRequest- AConsumerthat will call methods onListV2LoggingLevelsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listViolationEvents
default ListViolationEventsResponse listViolationEvents(ListViolationEventsRequest listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
- Parameters:
listViolationEventsRequest-- Returns:
- Result of the ListViolationEvents operation returned by the service.
-
listViolationEvents
default ListViolationEventsResponse listViolationEvents(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
This is a convenience which creates an instance of the
ListViolationEventsRequest.Builderavoiding the need to create one manually viaListViolationEventsRequest.builder()- Parameters:
listViolationEventsRequest- AConsumerthat will call methods onListViolationEventsRequest.Builderto create a request.- Returns:
- Result of the ListViolationEvents operation returned by the service.
-
listViolationEventsPaginator
default ListViolationEventsIterable listViolationEventsPaginator(ListViolationEventsRequest listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client .listViolationEventsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListViolationEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)operation.- Parameters:
listViolationEventsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
listViolationEventsPaginator
default ListViolationEventsIterable listViolationEventsPaginator(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException This is a variant of
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client .listViolationEventsPaginator(request); for (software.amazon.awssdk.services.iot.model.ListViolationEventsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.iot.paginators.ListViolationEventsIterable responses = client.listViolationEventsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)operation.
This is a convenience which creates an instance of the
ListViolationEventsRequest.Builderavoiding the need to create one manually viaListViolationEventsRequest.builder()- Parameters:
listViolationEventsRequest- AConsumerthat will call methods onListViolationEventsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
-
putVerificationStateOnViolation
default PutVerificationStateOnViolationResponse putVerificationStateOnViolation(PutVerificationStateOnViolationRequest putVerificationStateOnViolationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Set a verification state and provide a description of that verification state on a violation (detect alarm).
- Parameters:
putVerificationStateOnViolationRequest-- Returns:
- Result of the PutVerificationStateOnViolation operation returned by the service.
-
putVerificationStateOnViolation
default PutVerificationStateOnViolationResponse putVerificationStateOnViolation(Consumer<PutVerificationStateOnViolationRequest.Builder> putVerificationStateOnViolationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Set a verification state and provide a description of that verification state on a violation (detect alarm).
This is a convenience which creates an instance of the
PutVerificationStateOnViolationRequest.Builderavoiding the need to create one manually viaPutVerificationStateOnViolationRequest.builder()- Parameters:
putVerificationStateOnViolationRequest- AConsumerthat will call methods onPutVerificationStateOnViolationRequest.Builderto create a request.- Returns:
- Result of the PutVerificationStateOnViolation operation returned by the service.
-
registerCACertificate
default RegisterCaCertificateResponse registerCACertificate(RegisterCaCertificateRequest registerCaCertificateRequest) throws ResourceNotFoundException, ResourceAlreadyExistsException, RegistrationCodeValidationException, InvalidRequestException, CertificateValidationException, ThrottlingException, LimitExceededException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Registers a CA certificate with Amazon Web Services IoT Core. There is no limit to the number of CA certificates you can register in your Amazon Web Services account. You can register up to 10 CA certificates with the same
CA subject fieldper Amazon Web Services account.Requires permission to access the RegisterCACertificate action.
- Parameters:
registerCaCertificateRequest- The input to the RegisterCACertificate operation.- Returns:
- Result of the RegisterCACertificate operation returned by the service.
-
registerCACertificate
default RegisterCaCertificateResponse registerCACertificate(Consumer<RegisterCaCertificateRequest.Builder> registerCaCertificateRequest) throws ResourceNotFoundException, ResourceAlreadyExistsException, RegistrationCodeValidationException, InvalidRequestException, CertificateValidationException, ThrottlingException, LimitExceededException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Registers a CA certificate with Amazon Web Services IoT Core. There is no limit to the number of CA certificates you can register in your Amazon Web Services account. You can register up to 10 CA certificates with the same
CA subject fieldper Amazon Web Services account.Requires permission to access the RegisterCACertificate action.
This is a convenience which creates an instance of the
RegisterCaCertificateRequest.Builderavoiding the need to create one manually viaRegisterCaCertificateRequest.builder()- Parameters:
registerCaCertificateRequest- AConsumerthat will call methods onRegisterCaCertificateRequest.Builderto create a request. The input to the RegisterCACertificate operation.- Returns:
- Result of the RegisterCACertificate operation returned by the service.
-
registerCertificate
default RegisterCertificateResponse registerCertificate(RegisterCertificateRequest registerCertificateRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateValidationException, CertificateStateException, CertificateConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Registers a device certificate with IoT in the same certificate mode as the signing CA. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
Requires permission to access the RegisterCertificate action.
- Parameters:
registerCertificateRequest- The input to the RegisterCertificate operation.- Returns:
- Result of the RegisterCertificate operation returned by the service.
-
registerCertificate
default RegisterCertificateResponse registerCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateValidationException, CertificateStateException, CertificateConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Registers a device certificate with IoT in the same certificate mode as the signing CA. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
Requires permission to access the RegisterCertificate action.
This is a convenience which creates an instance of the
RegisterCertificateRequest.Builderavoiding the need to create one manually viaRegisterCertificateRequest.builder()- Parameters:
registerCertificateRequest- AConsumerthat will call methods onRegisterCertificateRequest.Builderto create a request. The input to the RegisterCertificate operation.- Returns:
- Result of the RegisterCertificate operation returned by the service.
-
registerCertificateWithoutCA
default RegisterCertificateWithoutCaResponse registerCertificateWithoutCA(RegisterCertificateWithoutCaRequest registerCertificateWithoutCaRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateStateException, CertificateValidationException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Register a certificate that does not have a certificate authority (CA). For supported certificates, consult Certificate signing algorithms supported by IoT.
- Parameters:
registerCertificateWithoutCaRequest-- Returns:
- Result of the RegisterCertificateWithoutCA operation returned by the service.
-
registerCertificateWithoutCA
default RegisterCertificateWithoutCaResponse registerCertificateWithoutCA(Consumer<RegisterCertificateWithoutCaRequest.Builder> registerCertificateWithoutCaRequest) throws ResourceAlreadyExistsException, InvalidRequestException, CertificateStateException, CertificateValidationException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Register a certificate that does not have a certificate authority (CA). For supported certificates, consult Certificate signing algorithms supported by IoT.
This is a convenience which creates an instance of the
RegisterCertificateWithoutCaRequest.Builderavoiding the need to create one manually viaRegisterCertificateWithoutCaRequest.builder()- Parameters:
registerCertificateWithoutCaRequest- AConsumerthat will call methods onRegisterCertificateWithoutCaRequest.Builderto create a request.- Returns:
- Result of the RegisterCertificateWithoutCA operation returned by the service.
-
registerThing
default RegisterThingResponse registerThing(RegisterThingRequest registerThingRequest) throws InternalFailureException, ServiceUnavailableException, InvalidRequestException, UnauthorizedException, ThrottlingException, ConflictingResourceUpdateException, ResourceRegistrationFailureException, AwsServiceException, SdkClientException, IotException Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might exceed your account level IoT Throttling Limits and cause throttle errors. Please contact Amazon Web Services Customer Support to raise your throttling limits if necessary.
Requires permission to access the RegisterThing action.
- Parameters:
registerThingRequest-- Returns:
- Result of the RegisterThing operation returned by the service.
-
registerThing
default RegisterThingResponse registerThing(Consumer<RegisterThingRequest.Builder> registerThingRequest) throws InternalFailureException, ServiceUnavailableException, InvalidRequestException, UnauthorizedException, ThrottlingException, ConflictingResourceUpdateException, ResourceRegistrationFailureException, AwsServiceException, SdkClientException, IotException Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might exceed your account level IoT Throttling Limits and cause throttle errors. Please contact Amazon Web Services Customer Support to raise your throttling limits if necessary.
Requires permission to access the RegisterThing action.
This is a convenience which creates an instance of the
RegisterThingRequest.Builderavoiding the need to create one manually viaRegisterThingRequest.builder()- Parameters:
registerThingRequest- AConsumerthat will call methods onRegisterThingRequest.Builderto create a request.- Returns:
- Result of the RegisterThing operation returned by the service.
-
rejectCertificateTransfer
default RejectCertificateTransferResponse rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
Requires permission to access the RejectCertificateTransfer action.
- Parameters:
rejectCertificateTransferRequest- The input for the RejectCertificateTransfer operation.- Returns:
- Result of the RejectCertificateTransfer operation returned by the service.
-
rejectCertificateTransfer
default RejectCertificateTransferResponse rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest) throws ResourceNotFoundException, TransferAlreadyCompletedException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
Requires permission to access the RejectCertificateTransfer action.
This is a convenience which creates an instance of the
RejectCertificateTransferRequest.Builderavoiding the need to create one manually viaRejectCertificateTransferRequest.builder()- Parameters:
rejectCertificateTransferRequest- AConsumerthat will call methods onRejectCertificateTransferRequest.Builderto create a request. The input for the RejectCertificateTransfer operation.- Returns:
- Result of the RejectCertificateTransfer operation returned by the service.
-
removeThingFromBillingGroup
default RemoveThingFromBillingGroupResponse removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Removes the given thing from the billing group.
Requires permission to access the RemoveThingFromBillingGroup action.
This call is asynchronous. It might take several seconds for the detachment to propagate.
- Parameters:
removeThingFromBillingGroupRequest-- Returns:
- Result of the RemoveThingFromBillingGroup operation returned by the service.
-
removeThingFromBillingGroup
default RemoveThingFromBillingGroupResponse removeThingFromBillingGroup(Consumer<RemoveThingFromBillingGroupRequest.Builder> removeThingFromBillingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Removes the given thing from the billing group.
Requires permission to access the RemoveThingFromBillingGroup action.
This call is asynchronous. It might take several seconds for the detachment to propagate.
This is a convenience which creates an instance of the
RemoveThingFromBillingGroupRequest.Builderavoiding the need to create one manually viaRemoveThingFromBillingGroupRequest.builder()- Parameters:
removeThingFromBillingGroupRequest- AConsumerthat will call methods onRemoveThingFromBillingGroupRequest.Builderto create a request.- Returns:
- Result of the RemoveThingFromBillingGroup operation returned by the service.
-
removeThingFromThingGroup
default RemoveThingFromThingGroupResponse removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Remove the specified thing from the specified group.
You must specify either a
thingGroupArnor athingGroupNameto identify the thing group and either athingArnor athingNameto identify the thing to remove from the thing group.Requires permission to access the RemoveThingFromThingGroup action.
- Parameters:
removeThingFromThingGroupRequest-- Returns:
- Result of the RemoveThingFromThingGroup operation returned by the service.
-
removeThingFromThingGroup
default RemoveThingFromThingGroupResponse removeThingFromThingGroup(Consumer<RemoveThingFromThingGroupRequest.Builder> removeThingFromThingGroupRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Remove the specified thing from the specified group.
You must specify either a
thingGroupArnor athingGroupNameto identify the thing group and either athingArnor athingNameto identify the thing to remove from the thing group.Requires permission to access the RemoveThingFromThingGroup action.
This is a convenience which creates an instance of the
RemoveThingFromThingGroupRequest.Builderavoiding the need to create one manually viaRemoveThingFromThingGroupRequest.builder()- Parameters:
removeThingFromThingGroupRequest- AConsumerthat will call methods onRemoveThingFromThingGroupRequest.Builderto create a request.- Returns:
- Result of the RemoveThingFromThingGroup operation returned by the service.
-
replaceTopicRule
default ReplaceTopicRuleResponse replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Requires permission to access the ReplaceTopicRule action.
- Parameters:
replaceTopicRuleRequest- The input for the ReplaceTopicRule operation.- Returns:
- Result of the ReplaceTopicRule operation returned by the service.
-
replaceTopicRule
default ReplaceTopicRuleResponse replaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest) throws SqlParseException, InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Requires permission to access the ReplaceTopicRule action.
This is a convenience which creates an instance of the
ReplaceTopicRuleRequest.Builderavoiding the need to create one manually viaReplaceTopicRuleRequest.builder()- Parameters:
replaceTopicRuleRequest- AConsumerthat will call methods onReplaceTopicRuleRequest.Builderto create a request. The input for the ReplaceTopicRule operation.- Returns:
- Result of the ReplaceTopicRule operation returned by the service.
-
searchIndex
default SearchIndexResponse searchIndex(SearchIndexRequest searchIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException The query search index.
Requires permission to access the SearchIndex action.
- Parameters:
searchIndexRequest-- Returns:
- Result of the SearchIndex operation returned by the service.
-
searchIndex
default SearchIndexResponse searchIndex(Consumer<SearchIndexRequest.Builder> searchIndexRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException The query search index.
Requires permission to access the SearchIndex action.
This is a convenience which creates an instance of the
SearchIndexRequest.Builderavoiding the need to create one manually viaSearchIndexRequest.builder()- Parameters:
searchIndexRequest- AConsumerthat will call methods onSearchIndexRequest.Builderto create a request.- Returns:
- Result of the SearchIndex operation returned by the service.
-
setDefaultAuthorizer
default SetDefaultAuthorizerResponse setDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Requires permission to access the SetDefaultAuthorizer action.
- Parameters:
setDefaultAuthorizerRequest-- Returns:
- Result of the SetDefaultAuthorizer operation returned by the service.
-
setDefaultAuthorizer
default SetDefaultAuthorizerResponse setDefaultAuthorizer(Consumer<SetDefaultAuthorizerRequest.Builder> setDefaultAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotException Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
Requires permission to access the SetDefaultAuthorizer action.
This is a convenience which creates an instance of the
SetDefaultAuthorizerRequest.Builderavoiding the need to create one manually viaSetDefaultAuthorizerRequest.builder()- Parameters:
setDefaultAuthorizerRequest- AConsumerthat will call methods onSetDefaultAuthorizerRequest.Builderto create a request.- Returns:
- Result of the SetDefaultAuthorizer operation returned by the service.
-
setDefaultPolicyVersion
default SetDefaultPolicyVersionResponse setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicies action.
Requires permission to access the SetDefaultPolicyVersion action.
- Parameters:
setDefaultPolicyVersionRequest- The input for the SetDefaultPolicyVersion operation.- Returns:
- Result of the SetDefaultPolicyVersion operation returned by the service.
-
setDefaultPolicyVersion
default SetDefaultPolicyVersionResponse setDefaultPolicyVersion(Consumer<SetDefaultPolicyVersionRequest.Builder> setDefaultPolicyVersionRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicies action.
Requires permission to access the SetDefaultPolicyVersion action.
This is a convenience which creates an instance of the
SetDefaultPolicyVersionRequest.Builderavoiding the need to create one manually viaSetDefaultPolicyVersionRequest.builder()- Parameters:
setDefaultPolicyVersionRequest- AConsumerthat will call methods onSetDefaultPolicyVersionRequest.Builderto create a request. The input for the SetDefaultPolicyVersion operation.- Returns:
- Result of the SetDefaultPolicyVersion operation returned by the service.
-
setLoggingOptions
default SetLoggingOptionsResponse setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Sets the logging options.
NOTE: use of this command is not recommended. Use
SetV2LoggingOptionsinstead.Requires permission to access the SetLoggingOptions action.
- Parameters:
setLoggingOptionsRequest- The input for the SetLoggingOptions operation.- Returns:
- Result of the SetLoggingOptions operation returned by the service.
-
setLoggingOptions
default SetLoggingOptionsResponse setLoggingOptions(Consumer<SetLoggingOptionsRequest.Builder> setLoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Sets the logging options.
NOTE: use of this command is not recommended. Use
SetV2LoggingOptionsinstead.Requires permission to access the SetLoggingOptions action.
This is a convenience which creates an instance of the
SetLoggingOptionsRequest.Builderavoiding the need to create one manually viaSetLoggingOptionsRequest.builder()- Parameters:
setLoggingOptionsRequest- AConsumerthat will call methods onSetLoggingOptionsRequest.Builderto create a request. The input for the SetLoggingOptions operation.- Returns:
- Result of the SetLoggingOptions operation returned by the service.
-
setV2LoggingLevel
default SetV2LoggingLevelResponse setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, LimitExceededException, AwsServiceException, SdkClientException, IotException Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
- Parameters:
setV2LoggingLevelRequest-- Returns:
- Result of the SetV2LoggingLevel operation returned by the service.
-
setV2LoggingLevel
default SetV2LoggingLevelResponse setV2LoggingLevel(Consumer<SetV2LoggingLevelRequest.Builder> setV2LoggingLevelRequest) throws InternalException, NotConfiguredException, InvalidRequestException, ServiceUnavailableException, LimitExceededException, AwsServiceException, SdkClientException, IotException Sets the logging level.
Requires permission to access the SetV2LoggingLevel action.
This is a convenience which creates an instance of the
SetV2LoggingLevelRequest.Builderavoiding the need to create one manually viaSetV2LoggingLevelRequest.builder()- Parameters:
setV2LoggingLevelRequest- AConsumerthat will call methods onSetV2LoggingLevelRequest.Builderto create a request.- Returns:
- Result of the SetV2LoggingLevel operation returned by the service.
-
setV2LoggingOptions
default SetV2LoggingOptionsResponse setV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Sets the logging options for the V2 logging service.
Requires permission to access the SetV2LoggingOptions action.
- Parameters:
setV2LoggingOptionsRequest-- Returns:
- Result of the SetV2LoggingOptions operation returned by the service.
-
setV2LoggingOptions
default SetV2LoggingOptionsResponse setV2LoggingOptions(Consumer<SetV2LoggingOptionsRequest.Builder> setV2LoggingOptionsRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Sets the logging options for the V2 logging service.
Requires permission to access the SetV2LoggingOptions action.
This is a convenience which creates an instance of the
SetV2LoggingOptionsRequest.Builderavoiding the need to create one manually viaSetV2LoggingOptionsRequest.builder()- Parameters:
setV2LoggingOptionsRequest- AConsumerthat will call methods onSetV2LoggingOptionsRequest.Builderto create a request.- Returns:
- Result of the SetV2LoggingOptions operation returned by the service.
-
startAuditMitigationActionsTask
default StartAuditMitigationActionsTaskResponse startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Starts a task that applies a set of mitigation actions to the specified target.
Requires permission to access the StartAuditMitigationActionsTask action.
- Parameters:
startAuditMitigationActionsTaskRequest-- Returns:
- Result of the StartAuditMitigationActionsTask operation returned by the service.
-
startAuditMitigationActionsTask
default StartAuditMitigationActionsTaskResponse startAuditMitigationActionsTask(Consumer<StartAuditMitigationActionsTaskRequest.Builder> startAuditMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Starts a task that applies a set of mitigation actions to the specified target.
Requires permission to access the StartAuditMitigationActionsTask action.
This is a convenience which creates an instance of the
StartAuditMitigationActionsTaskRequest.Builderavoiding the need to create one manually viaStartAuditMitigationActionsTaskRequest.builder()- Parameters:
startAuditMitigationActionsTaskRequest- AConsumerthat will call methods onStartAuditMitigationActionsTaskRequest.Builderto create a request.- Returns:
- Result of the StartAuditMitigationActionsTask operation returned by the service.
-
startDetectMitigationActionsTask
default StartDetectMitigationActionsTaskResponse startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Starts a Device Defender ML Detect mitigation actions task.
Requires permission to access the StartDetectMitigationActionsTask action.
- Parameters:
startDetectMitigationActionsTaskRequest-- Returns:
- Result of the StartDetectMitigationActionsTask operation returned by the service.
-
startDetectMitigationActionsTask
default StartDetectMitigationActionsTaskResponse startDetectMitigationActionsTask(Consumer<StartDetectMitigationActionsTaskRequest.Builder> startDetectMitigationActionsTaskRequest) throws InvalidRequestException, TaskAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Starts a Device Defender ML Detect mitigation actions task.
Requires permission to access the StartDetectMitigationActionsTask action.
This is a convenience which creates an instance of the
StartDetectMitigationActionsTaskRequest.Builderavoiding the need to create one manually viaStartDetectMitigationActionsTaskRequest.builder()- Parameters:
startDetectMitigationActionsTaskRequest- AConsumerthat will call methods onStartDetectMitigationActionsTaskRequest.Builderto create a request.- Returns:
- Result of the StartDetectMitigationActionsTask operation returned by the service.
-
startOnDemandAuditTask
default StartOnDemandAuditTaskResponse startOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Starts an on-demand Device Defender audit.
Requires permission to access the StartOnDemandAuditTask action.
- Parameters:
startOnDemandAuditTaskRequest-- Returns:
- Result of the StartOnDemandAuditTask operation returned by the service.
-
startOnDemandAuditTask
default StartOnDemandAuditTaskResponse startOnDemandAuditTask(Consumer<StartOnDemandAuditTaskRequest.Builder> startOnDemandAuditTaskRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Starts an on-demand Device Defender audit.
Requires permission to access the StartOnDemandAuditTask action.
This is a convenience which creates an instance of the
StartOnDemandAuditTaskRequest.Builderavoiding the need to create one manually viaStartOnDemandAuditTaskRequest.builder()- Parameters:
startOnDemandAuditTaskRequest- AConsumerthat will call methods onStartOnDemandAuditTaskRequest.Builderto create a request.- Returns:
- Result of the StartOnDemandAuditTask operation returned by the service.
-
startThingRegistrationTask
default StartThingRegistrationTaskResponse startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
- Parameters:
startThingRegistrationTaskRequest-- Returns:
- Result of the StartThingRegistrationTask operation returned by the service.
-
startThingRegistrationTask
default StartThingRegistrationTaskResponse startThingRegistrationTask(Consumer<StartThingRegistrationTaskRequest.Builder> startThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, AwsServiceException, SdkClientException, IotException Creates a bulk thing provisioning task.
Requires permission to access the StartThingRegistrationTask action.
This is a convenience which creates an instance of the
StartThingRegistrationTaskRequest.Builderavoiding the need to create one manually viaStartThingRegistrationTaskRequest.builder()- Parameters:
startThingRegistrationTaskRequest- AConsumerthat will call methods onStartThingRegistrationTaskRequest.Builderto create a request.- Returns:
- Result of the StartThingRegistrationTask operation returned by the service.
-
stopThingRegistrationTask
default StopThingRegistrationTaskResponse stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Cancels a bulk thing provisioning task.
Requires permission to access the StopThingRegistrationTask action.
- Parameters:
stopThingRegistrationTaskRequest-- Returns:
- Result of the StopThingRegistrationTask operation returned by the service.
-
stopThingRegistrationTask
default StopThingRegistrationTaskResponse stopThingRegistrationTask(Consumer<StopThingRegistrationTaskRequest.Builder> stopThingRegistrationTaskRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Cancels a bulk thing provisioning task.
Requires permission to access the StopThingRegistrationTask action.
This is a convenience which creates an instance of the
StopThingRegistrationTaskRequest.Builderavoiding the need to create one manually viaStopThingRegistrationTaskRequest.builder()- Parameters:
stopThingRegistrationTaskRequest- AConsumerthat will call methods onStopThingRegistrationTaskRequest.Builderto create a request.- Returns:
- Result of the StopThingRegistrationTask operation returned by the service.
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException, IotException Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
Requires permission to access the TagResource action.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, LimitExceededException, AwsServiceException, SdkClientException, IotException Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
Requires permission to access the TagResource action.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
-
testAuthorization
default TestAuthorizationResponse testAuthorization(TestAuthorizationRequest testAuthorizationRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestAuthorization action.
- Parameters:
testAuthorizationRequest-- Returns:
- Result of the TestAuthorization operation returned by the service.
-
testAuthorization
default TestAuthorizationResponse testAuthorization(Consumer<TestAuthorizationRequest.Builder> testAuthorizationRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, LimitExceededException, AwsServiceException, SdkClientException, IotException Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestAuthorization action.
This is a convenience which creates an instance of the
TestAuthorizationRequest.Builderavoiding the need to create one manually viaTestAuthorizationRequest.builder()- Parameters:
testAuthorizationRequest- AConsumerthat will call methods onTestAuthorizationRequest.Builderto create a request.- Returns:
- Result of the TestAuthorization operation returned by the service.
-
testInvokeAuthorizer
default TestInvokeAuthorizerResponse testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidResponseException, AwsServiceException, SdkClientException, IotException Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestInvokeAuthorizer action.
- Parameters:
testInvokeAuthorizerRequest-- Returns:
- Result of the TestInvokeAuthorizer operation returned by the service.
-
testInvokeAuthorizer
default TestInvokeAuthorizerResponse testInvokeAuthorizer(Consumer<TestInvokeAuthorizerRequest.Builder> testInvokeAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, InvalidResponseException, AwsServiceException, SdkClientException, IotException Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the IoT device gateway.
Requires permission to access the TestInvokeAuthorizer action.
This is a convenience which creates an instance of the
TestInvokeAuthorizerRequest.Builderavoiding the need to create one manually viaTestInvokeAuthorizerRequest.builder()- Parameters:
testInvokeAuthorizerRequest- AConsumerthat will call methods onTestInvokeAuthorizerRequest.Builderto create a request.- Returns:
- Result of the TestInvokeAuthorizer operation returned by the service.
-
transferCertificate
default TransferCertificateResponse transferCertificate(TransferCertificateRequest transferCertificateRequest) throws InvalidRequestException, ResourceNotFoundException, CertificateStateException, TransferConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Transfers the specified certificate to the specified Amazon Web Services account.
Requires permission to access the TransferCertificate action.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate action to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPolicy action to detach them.
- Parameters:
transferCertificateRequest- The input for the TransferCertificate operation.- Returns:
- Result of the TransferCertificate operation returned by the service.
-
transferCertificate
default TransferCertificateResponse transferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest) throws InvalidRequestException, ResourceNotFoundException, CertificateStateException, TransferConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Transfers the specified certificate to the specified Amazon Web Services account.
Requires permission to access the TransferCertificate action.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate action to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPolicy action to detach them.
This is a convenience which creates an instance of the
TransferCertificateRequest.Builderavoiding the need to create one manually viaTransferCertificateRequest.builder()- Parameters:
transferCertificateRequest- AConsumerthat will call methods onTransferCertificateRequest.Builderto create a request. The input for the TransferCertificate operation.- Returns:
- Result of the TransferCertificate operation returned by the service.
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Removes the given tags (metadata) from the resource.
Requires permission to access the UntagResource action.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InvalidRequestException, InternalFailureException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Removes the given tags (metadata) from the resource.
Requires permission to access the UntagResource action.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
-
updateAccountAuditConfiguration
default UpdateAccountAuditConfigurationResponse updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the UpdateAccountAuditConfiguration action.
- Parameters:
updateAccountAuditConfigurationRequest-- Returns:
- Result of the UpdateAccountAuditConfiguration operation returned by the service.
-
updateAccountAuditConfiguration
default UpdateAccountAuditConfigurationResponse updateAccountAuditConfiguration(Consumer<UpdateAccountAuditConfigurationRequest.Builder> updateAccountAuditConfigurationRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit notifications are sent and which audit checks are enabled or disabled.
Requires permission to access the UpdateAccountAuditConfiguration action.
This is a convenience which creates an instance of the
UpdateAccountAuditConfigurationRequest.Builderavoiding the need to create one manually viaUpdateAccountAuditConfigurationRequest.builder()- Parameters:
updateAccountAuditConfigurationRequest- AConsumerthat will call methods onUpdateAccountAuditConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateAccountAuditConfiguration operation returned by the service.
-
updateAuditSuppression
default UpdateAuditSuppressionResponse updateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a Device Defender audit suppression.
- Parameters:
updateAuditSuppressionRequest-- Returns:
- Result of the UpdateAuditSuppression operation returned by the service.
-
updateAuditSuppression
default UpdateAuditSuppressionResponse updateAuditSuppression(Consumer<UpdateAuditSuppressionRequest.Builder> updateAuditSuppressionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a Device Defender audit suppression.
This is a convenience which creates an instance of the
UpdateAuditSuppressionRequest.Builderavoiding the need to create one manually viaUpdateAuditSuppressionRequest.builder()- Parameters:
updateAuditSuppressionRequest- AConsumerthat will call methods onUpdateAuditSuppressionRequest.Builderto create a request.- Returns:
- Result of the UpdateAuditSuppression operation returned by the service.
-
updateAuthorizer
default UpdateAuthorizerResponse updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates an authorizer.
Requires permission to access the UpdateAuthorizer action.
- Parameters:
updateAuthorizerRequest-- Returns:
- Result of the UpdateAuthorizer operation returned by the service.
-
updateAuthorizer
default UpdateAuthorizerResponse updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest) throws ResourceNotFoundException, InvalidRequestException, LimitExceededException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates an authorizer.
Requires permission to access the UpdateAuthorizer action.
This is a convenience which creates an instance of the
UpdateAuthorizerRequest.Builderavoiding the need to create one manually viaUpdateAuthorizerRequest.builder()- Parameters:
updateAuthorizerRequest- AConsumerthat will call methods onUpdateAuthorizerRequest.Builderto create a request.- Returns:
- Result of the UpdateAuthorizer operation returned by the service.
-
updateBillingGroup
default UpdateBillingGroupResponse updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates information about the billing group.
Requires permission to access the UpdateBillingGroup action.
- Parameters:
updateBillingGroupRequest-- Returns:
- Result of the UpdateBillingGroup operation returned by the service.
-
updateBillingGroup
default UpdateBillingGroupResponse updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates information about the billing group.
Requires permission to access the UpdateBillingGroup action.
This is a convenience which creates an instance of the
UpdateBillingGroupRequest.Builderavoiding the need to create one manually viaUpdateBillingGroupRequest.builder()- Parameters:
updateBillingGroupRequest- AConsumerthat will call methods onUpdateBillingGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateBillingGroup operation returned by the service.
-
updateCACertificate
default UpdateCaCertificateResponse updateCACertificate(UpdateCaCertificateRequest updateCaCertificateRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a registered CA certificate.
Requires permission to access the UpdateCACertificate action.
- Parameters:
updateCaCertificateRequest- The input to the UpdateCACertificate operation.- Returns:
- Result of the UpdateCACertificate operation returned by the service.
-
updateCACertificate
default UpdateCaCertificateResponse updateCACertificate(Consumer<UpdateCaCertificateRequest.Builder> updateCaCertificateRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a registered CA certificate.
Requires permission to access the UpdateCACertificate action.
This is a convenience which creates an instance of the
UpdateCaCertificateRequest.Builderavoiding the need to create one manually viaUpdateCaCertificateRequest.builder()- Parameters:
updateCaCertificateRequest- AConsumerthat will call methods onUpdateCaCertificateRequest.Builderto create a request. The input to the UpdateCACertificate operation.- Returns:
- Result of the UpdateCACertificate operation returned by the service.
-
updateCertificate
default UpdateCertificateResponse updateCertificate(UpdateCertificateRequest updateCertificateRequest) throws ResourceNotFoundException, CertificateStateException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates the status of the specified certificate. This operation is idempotent.
Requires permission to access the UpdateCertificate action.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
- Parameters:
updateCertificateRequest- The input for the UpdateCertificate operation.- Returns:
- Result of the UpdateCertificate operation returned by the service.
-
updateCertificate
default UpdateCertificateResponse updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest) throws ResourceNotFoundException, CertificateStateException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates the status of the specified certificate. This operation is idempotent.
Requires permission to access the UpdateCertificate action.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
This is a convenience which creates an instance of the
UpdateCertificateRequest.Builderavoiding the need to create one manually viaUpdateCertificateRequest.builder()- Parameters:
updateCertificateRequest- AConsumerthat will call methods onUpdateCertificateRequest.Builderto create a request. The input for the UpdateCertificate operation.- Returns:
- Result of the UpdateCertificate operation returned by the service.
-
updateCertificateProvider
default UpdateCertificateProviderResponse updateCertificateProvider(UpdateCertificateProviderRequest updateCertificateProviderRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a certificate provider.
Requires permission to access the UpdateCertificateProvider action.
- Parameters:
updateCertificateProviderRequest-- Returns:
- Result of the UpdateCertificateProvider operation returned by the service.
-
updateCertificateProvider
default UpdateCertificateProviderResponse updateCertificateProvider(Consumer<UpdateCertificateProviderRequest.Builder> updateCertificateProviderRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a certificate provider.
Requires permission to access the UpdateCertificateProvider action.
This is a convenience which creates an instance of the
UpdateCertificateProviderRequest.Builderavoiding the need to create one manually viaUpdateCertificateProviderRequest.builder()- Parameters:
updateCertificateProviderRequest- AConsumerthat will call methods onUpdateCertificateProviderRequest.Builderto create a request.- Returns:
- Result of the UpdateCertificateProvider operation returned by the service.
-
updateCustomMetric
default UpdateCustomMetricResponse updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a Device Defender detect custom metric.
Requires permission to access the UpdateCustomMetric action.
- Parameters:
updateCustomMetricRequest-- Returns:
- Result of the UpdateCustomMetric operation returned by the service.
-
updateCustomMetric
default UpdateCustomMetricResponse updateCustomMetric(Consumer<UpdateCustomMetricRequest.Builder> updateCustomMetricRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a Device Defender detect custom metric.
Requires permission to access the UpdateCustomMetric action.
This is a convenience which creates an instance of the
UpdateCustomMetricRequest.Builderavoiding the need to create one manually viaUpdateCustomMetricRequest.builder()- Parameters:
updateCustomMetricRequest- AConsumerthat will call methods onUpdateCustomMetricRequest.Builderto create a request.- Returns:
- Result of the UpdateCustomMetric operation returned by the service.
-
updateDimension
default UpdateDimensionResponse updateDimension(UpdateDimensionRequest updateDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
Requires permission to access the UpdateDimension action.
- Parameters:
updateDimensionRequest-- Returns:
- Result of the UpdateDimension operation returned by the service.
-
updateDimension
default UpdateDimensionResponse updateDimension(Consumer<UpdateDimensionRequest.Builder> updateDimensionRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, IotException Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
Requires permission to access the UpdateDimension action.
This is a convenience which creates an instance of the
UpdateDimensionRequest.Builderavoiding the need to create one manually viaUpdateDimensionRequest.builder()- Parameters:
updateDimensionRequest- AConsumerthat will call methods onUpdateDimensionRequest.Builderto create a request.- Returns:
- Result of the UpdateDimension operation returned by the service.
-
updateDomainConfiguration
default UpdateDomainConfigurationResponse updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest) throws ResourceNotFoundException, CertificateValidationException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
- Parameters:
updateDomainConfigurationRequest-- Returns:
- Result of the UpdateDomainConfiguration operation returned by the service.
-
updateDomainConfiguration
default UpdateDomainConfigurationResponse updateDomainConfiguration(Consumer<UpdateDomainConfigurationRequest.Builder> updateDomainConfigurationRequest) throws ResourceNotFoundException, CertificateValidationException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
Requires permission to access the UpdateDomainConfiguration action.
This is a convenience which creates an instance of the
UpdateDomainConfigurationRequest.Builderavoiding the need to create one manually viaUpdateDomainConfigurationRequest.builder()- Parameters:
updateDomainConfigurationRequest- AConsumerthat will call methods onUpdateDomainConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateDomainConfiguration operation returned by the service.
-
updateDynamicThingGroup
default UpdateDynamicThingGroupResponse updateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, AwsServiceException, SdkClientException, IotException Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
- Parameters:
updateDynamicThingGroupRequest-- Returns:
- Result of the UpdateDynamicThingGroup operation returned by the service.
-
updateDynamicThingGroup
default UpdateDynamicThingGroupResponse updateDynamicThingGroup(Consumer<UpdateDynamicThingGroupRequest.Builder> updateDynamicThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, AwsServiceException, SdkClientException, IotException Updates a dynamic thing group.
Requires permission to access the UpdateDynamicThingGroup action.
This is a convenience which creates an instance of the
UpdateDynamicThingGroupRequest.Builderavoiding the need to create one manually viaUpdateDynamicThingGroupRequest.builder()- Parameters:
updateDynamicThingGroupRequest- AConsumerthat will call methods onUpdateDynamicThingGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateDynamicThingGroup operation returned by the service.
-
updateEventConfigurations
default UpdateEventConfigurationsResponse updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest) throws InvalidRequestException, InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException Updates the event configurations.
Requires permission to access the UpdateEventConfigurations action.
- Parameters:
updateEventConfigurationsRequest-- Returns:
- Result of the UpdateEventConfigurations operation returned by the service.
-
updateEventConfigurations
default UpdateEventConfigurationsResponse updateEventConfigurations(Consumer<UpdateEventConfigurationsRequest.Builder> updateEventConfigurationsRequest) throws InvalidRequestException, InternalFailureException, ThrottlingException, AwsServiceException, SdkClientException, IotException Updates the event configurations.
Requires permission to access the UpdateEventConfigurations action.
This is a convenience which creates an instance of the
UpdateEventConfigurationsRequest.Builderavoiding the need to create one manually viaUpdateEventConfigurationsRequest.builder()- Parameters:
updateEventConfigurationsRequest- AConsumerthat will call methods onUpdateEventConfigurationsRequest.Builderto create a request.- Returns:
- Result of the UpdateEventConfigurations operation returned by the service.
-
updateFleetMetric
default UpdateFleetMetricResponse updateFleetMetric(UpdateFleetMetricRequest updateFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, VersionConflictException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Updates the data for a fleet metric.
Requires permission to access the UpdateFleetMetric action.
- Parameters:
updateFleetMetricRequest-- Returns:
- Result of the UpdateFleetMetric operation returned by the service.
-
updateFleetMetric
default UpdateFleetMetricResponse updateFleetMetric(Consumer<UpdateFleetMetricRequest.Builder> updateFleetMetricRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, InvalidQueryException, InvalidAggregationException, VersionConflictException, IndexNotReadyException, AwsServiceException, SdkClientException, IotException Updates the data for a fleet metric.
Requires permission to access the UpdateFleetMetric action.
This is a convenience which creates an instance of the
UpdateFleetMetricRequest.Builderavoiding the need to create one manually viaUpdateFleetMetricRequest.builder()- Parameters:
updateFleetMetricRequest- AConsumerthat will call methods onUpdateFleetMetricRequest.Builderto create a request.- Returns:
- Result of the UpdateFleetMetric operation returned by the service.
-
updateIndexingConfiguration
default UpdateIndexingConfigurationResponse updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates the search configuration.
Requires permission to access the UpdateIndexingConfiguration action.
- Parameters:
updateIndexingConfigurationRequest-- Returns:
- Result of the UpdateIndexingConfiguration operation returned by the service.
-
updateIndexingConfiguration
default UpdateIndexingConfigurationResponse updateIndexingConfiguration(Consumer<UpdateIndexingConfigurationRequest.Builder> updateIndexingConfigurationRequest) throws InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates the search configuration.
Requires permission to access the UpdateIndexingConfiguration action.
This is a convenience which creates an instance of the
UpdateIndexingConfigurationRequest.Builderavoiding the need to create one manually viaUpdateIndexingConfigurationRequest.builder()- Parameters:
updateIndexingConfigurationRequest- AConsumerthat will call methods onUpdateIndexingConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateIndexingConfiguration operation returned by the service.
-
updateJob
default UpdateJobResponse updateJob(UpdateJobRequest updateJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Updates supported fields of the specified job.
Requires permission to access the UpdateJob action.
- Parameters:
updateJobRequest-- Returns:
- Result of the UpdateJob operation returned by the service.
-
updateJob
default UpdateJobResponse updateJob(Consumer<UpdateJobRequest.Builder> updateJobRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotException Updates supported fields of the specified job.
Requires permission to access the UpdateJob action.
This is a convenience which creates an instance of the
UpdateJobRequest.Builderavoiding the need to create one manually viaUpdateJobRequest.builder()- Parameters:
updateJobRequest- AConsumerthat will call methods onUpdateJobRequest.Builderto create a request.- Returns:
- Result of the UpdateJob operation returned by the service.
-
updateMitigationAction
default UpdateMitigationActionResponse updateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates the definition for the specified mitigation action.
Requires permission to access the UpdateMitigationAction action.
- Parameters:
updateMitigationActionRequest-- Returns:
- Result of the UpdateMitigationAction operation returned by the service.
-
updateMitigationAction
default UpdateMitigationActionResponse updateMitigationAction(Consumer<UpdateMitigationActionRequest.Builder> updateMitigationActionRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates the definition for the specified mitigation action.
Requires permission to access the UpdateMitigationAction action.
This is a convenience which creates an instance of the
UpdateMitigationActionRequest.Builderavoiding the need to create one manually viaUpdateMitigationActionRequest.builder()- Parameters:
updateMitigationActionRequest- AConsumerthat will call methods onUpdateMitigationActionRequest.Builderto create a request.- Returns:
- Result of the UpdateMitigationAction operation returned by the service.
-
updatePackage
default UpdatePackageResponse updatePackage(UpdatePackageRequest updatePackageRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the supported fields for a specific software package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
- Parameters:
updatePackageRequest-- Returns:
- Result of the UpdatePackage operation returned by the service.
-
updatePackage
default UpdatePackageResponse updatePackage(Consumer<UpdatePackageRequest.Builder> updatePackageRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the supported fields for a specific software package.
Requires permission to access the UpdatePackage and GetIndexingConfiguration actions.
This is a convenience which creates an instance of the
UpdatePackageRequest.Builderavoiding the need to create one manually viaUpdatePackageRequest.builder()- Parameters:
updatePackageRequest- AConsumerthat will call methods onUpdatePackageRequest.Builderto create a request.- Returns:
- Result of the UpdatePackage operation returned by the service.
-
updatePackageConfiguration
default UpdatePackageConfigurationResponse updatePackageConfiguration(UpdatePackageConfigurationRequest updatePackageConfigurationRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
- Parameters:
updatePackageConfigurationRequest-- Returns:
- Result of the UpdatePackageConfiguration operation returned by the service.
-
updatePackageConfiguration
default UpdatePackageConfigurationResponse updatePackageConfiguration(Consumer<UpdatePackageConfigurationRequest.Builder> updatePackageConfigurationRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, AwsServiceException, SdkClientException, IotException Updates the software package configuration.
Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions.
This is a convenience which creates an instance of the
UpdatePackageConfigurationRequest.Builderavoiding the need to create one manually viaUpdatePackageConfigurationRequest.builder()- Parameters:
updatePackageConfigurationRequest- AConsumerthat will call methods onUpdatePackageConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdatePackageConfiguration operation returned by the service.
-
updatePackageVersion
default UpdatePackageVersionResponse updatePackageVersion(UpdatePackageVersionRequest updatePackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the supported fields for a specific package version.
Requires permission to access the UpdatePackageVersion and GetIndexingConfiguration actions.
- Parameters:
updatePackageVersionRequest-- Returns:
- Result of the UpdatePackageVersion operation returned by the service.
-
updatePackageVersion
default UpdatePackageVersionResponse updatePackageVersion(Consumer<UpdatePackageVersionRequest.Builder> updatePackageVersionRequest) throws ThrottlingException, ConflictException, InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the supported fields for a specific package version.
Requires permission to access the UpdatePackageVersion and GetIndexingConfiguration actions.
This is a convenience which creates an instance of the
UpdatePackageVersionRequest.Builderavoiding the need to create one manually viaUpdatePackageVersionRequest.builder()- Parameters:
updatePackageVersionRequest- AConsumerthat will call methods onUpdatePackageVersionRequest.Builderto create a request.- Returns:
- Result of the UpdatePackageVersion operation returned by the service.
-
updateProvisioningTemplate
default UpdateProvisioningTemplateResponse updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Updates a provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
- Parameters:
updateProvisioningTemplateRequest-- Returns:
- Result of the UpdateProvisioningTemplate operation returned by the service.
-
updateProvisioningTemplate
default UpdateProvisioningTemplateResponse updateProvisioningTemplate(Consumer<UpdateProvisioningTemplateRequest.Builder> updateProvisioningTemplateRequest) throws InternalFailureException, InvalidRequestException, ResourceNotFoundException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Updates a provisioning template.
Requires permission to access the UpdateProvisioningTemplate action.
This is a convenience which creates an instance of the
UpdateProvisioningTemplateRequest.Builderavoiding the need to create one manually viaUpdateProvisioningTemplateRequest.builder()- Parameters:
updateProvisioningTemplateRequest- AConsumerthat will call methods onUpdateProvisioningTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateProvisioningTemplate operation returned by the service.
-
updateRoleAlias
default UpdateRoleAliasResponse updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a role alias.
Requires permission to access the UpdateRoleAlias action.
The value of
credentialDurationSecondsmust be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.- Parameters:
updateRoleAliasRequest-- Returns:
- Result of the UpdateRoleAlias operation returned by the service.
-
updateRoleAlias
default UpdateRoleAliasResponse updateRoleAlias(Consumer<UpdateRoleAliasRequest.Builder> updateRoleAliasRequest) throws ResourceNotFoundException, InvalidRequestException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a role alias.
Requires permission to access the UpdateRoleAlias action.
The value of
credentialDurationSecondsmust be less than or equal to the maximum session duration of the IAM role that the role alias references. For more information, see Modifying a role maximum session duration (Amazon Web Services API) from the Amazon Web Services Identity and Access Management User Guide.
This is a convenience which creates an instance of the
UpdateRoleAliasRequest.Builderavoiding the need to create one manually viaUpdateRoleAliasRequest.builder()- Parameters:
updateRoleAliasRequest- AConsumerthat will call methods onUpdateRoleAliasRequest.Builderto create a request.- Returns:
- Result of the UpdateRoleAlias operation returned by the service.
-
updateScheduledAudit
default UpdateScheduledAuditResponse updateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Requires permission to access the UpdateScheduledAudit action.
- Parameters:
updateScheduledAuditRequest-- Returns:
- Result of the UpdateScheduledAudit operation returned by the service.
-
updateScheduledAudit
default UpdateScheduledAuditResponse updateScheduledAudit(Consumer<UpdateScheduledAuditRequest.Builder> updateScheduledAuditRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a scheduled audit, including which checks are performed and how often the audit takes place.
Requires permission to access the UpdateScheduledAudit action.
This is a convenience which creates an instance of the
UpdateScheduledAuditRequest.Builderavoiding the need to create one manually viaUpdateScheduledAuditRequest.builder()- Parameters:
updateScheduledAuditRequest- AConsumerthat will call methods onUpdateScheduledAuditRequest.Builderto create a request.- Returns:
- Result of the UpdateScheduledAudit operation returned by the service.
-
updateSecurityProfile
default UpdateSecurityProfileResponse updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a Device Defender security profile.
Requires permission to access the UpdateSecurityProfile action.
- Parameters:
updateSecurityProfileRequest-- Returns:
- Result of the UpdateSecurityProfile operation returned by the service.
-
updateSecurityProfile
default UpdateSecurityProfileResponse updateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest) throws InvalidRequestException, ResourceNotFoundException, VersionConflictException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates a Device Defender security profile.
Requires permission to access the UpdateSecurityProfile action.
This is a convenience which creates an instance of the
UpdateSecurityProfileRequest.Builderavoiding the need to create one manually viaUpdateSecurityProfileRequest.builder()- Parameters:
updateSecurityProfileRequest- AConsumerthat will call methods onUpdateSecurityProfileRequest.Builderto create a request.- Returns:
- Result of the UpdateSecurityProfile operation returned by the service.
-
updateStream
default UpdateStreamResponse updateStream(UpdateStreamRequest updateStreamRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
- Parameters:
updateStreamRequest-- Returns:
- Result of the UpdateStream operation returned by the service.
-
updateStream
default UpdateStreamResponse updateStream(Consumer<UpdateStreamRequest.Builder> updateStreamRequest) throws InvalidRequestException, LimitExceededException, ResourceNotFoundException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, AwsServiceException, SdkClientException, IotException Updates an existing stream. The stream version will be incremented by one.
Requires permission to access the UpdateStream action.
This is a convenience which creates an instance of the
UpdateStreamRequest.Builderavoiding the need to create one manually viaUpdateStreamRequest.builder()- Parameters:
updateStreamRequest- AConsumerthat will call methods onUpdateStreamRequest.Builderto create a request.- Returns:
- Result of the UpdateStream operation returned by the service.
-
updateThing
default UpdateThingResponse updateThing(UpdateThingRequest updateThingRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the data for a thing.
Requires permission to access the UpdateThing action.
- Parameters:
updateThingRequest- The input for the UpdateThing operation.- Returns:
- Result of the UpdateThing operation returned by the service.
-
updateThing
default UpdateThingResponse updateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, UnauthorizedException, ServiceUnavailableException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the data for a thing.
Requires permission to access the UpdateThing action.
This is a convenience which creates an instance of the
UpdateThingRequest.Builderavoiding the need to create one manually viaUpdateThingRequest.builder()- Parameters:
updateThingRequest- AConsumerthat will call methods onUpdateThingRequest.Builderto create a request. The input for the UpdateThing operation.- Returns:
- Result of the UpdateThing operation returned by the service.
-
updateThingGroup
default UpdateThingGroupResponse updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Update a thing group.
Requires permission to access the UpdateThingGroup action.
- Parameters:
updateThingGroupRequest-- Returns:
- Result of the UpdateThingGroup operation returned by the service.
-
updateThingGroup
default UpdateThingGroupResponse updateThingGroup(Consumer<UpdateThingGroupRequest.Builder> updateThingGroupRequest) throws InvalidRequestException, VersionConflictException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Update a thing group.
Requires permission to access the UpdateThingGroup action.
This is a convenience which creates an instance of the
UpdateThingGroupRequest.Builderavoiding the need to create one manually viaUpdateThingGroupRequest.builder()- Parameters:
updateThingGroupRequest- AConsumerthat will call methods onUpdateThingGroupRequest.Builderto create a request.- Returns:
- Result of the UpdateThingGroup operation returned by the service.
-
updateThingGroupsForThing
default UpdateThingGroupsForThingResponse updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the groups to which the thing belongs.
Requires permission to access the UpdateThingGroupsForThing action.
- Parameters:
updateThingGroupsForThingRequest-- Returns:
- Result of the UpdateThingGroupsForThing operation returned by the service.
-
updateThingGroupsForThing
default UpdateThingGroupsForThingResponse updateThingGroupsForThing(Consumer<UpdateThingGroupsForThingRequest.Builder> updateThingGroupsForThingRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotException Updates the groups to which the thing belongs.
Requires permission to access the UpdateThingGroupsForThing action.
This is a convenience which creates an instance of the
UpdateThingGroupsForThingRequest.Builderavoiding the need to create one manually viaUpdateThingGroupsForThingRequest.builder()- Parameters:
updateThingGroupsForThingRequest- AConsumerthat will call methods onUpdateThingGroupsForThingRequest.Builderto create a request.- Returns:
- Result of the UpdateThingGroupsForThing operation returned by the service.
-
updateTopicRuleDestination
default UpdateTopicRuleDestinationResponse updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
Requires permission to access the UpdateTopicRuleDestination action.
- Parameters:
updateTopicRuleDestinationRequest-- Returns:
- Result of the UpdateTopicRuleDestination operation returned by the service.
-
updateTopicRuleDestination
default UpdateTopicRuleDestinationResponse updateTopicRuleDestination(Consumer<UpdateTopicRuleDestinationRequest.Builder> updateTopicRuleDestinationRequest) throws InternalException, InvalidRequestException, ServiceUnavailableException, UnauthorizedException, ConflictingResourceUpdateException, AwsServiceException, SdkClientException, IotException Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
Requires permission to access the UpdateTopicRuleDestination action.
This is a convenience which creates an instance of the
UpdateTopicRuleDestinationRequest.Builderavoiding the need to create one manually viaUpdateTopicRuleDestinationRequest.builder()- Parameters:
updateTopicRuleDestinationRequest- AConsumerthat will call methods onUpdateTopicRuleDestinationRequest.Builderto create a request.- Returns:
- Result of the UpdateTopicRuleDestination operation returned by the service.
-
validateSecurityProfileBehaviors
default ValidateSecurityProfileBehaviorsResponse validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Validates a Device Defender security profile behaviors specification.
Requires permission to access the ValidateSecurityProfileBehaviors action.
- Parameters:
validateSecurityProfileBehaviorsRequest-- Returns:
- Result of the ValidateSecurityProfileBehaviors operation returned by the service.
-
validateSecurityProfileBehaviors
default ValidateSecurityProfileBehaviorsResponse validateSecurityProfileBehaviors(Consumer<ValidateSecurityProfileBehaviorsRequest.Builder> validateSecurityProfileBehaviorsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotException Validates a Device Defender security profile behaviors specification.
Requires permission to access the ValidateSecurityProfileBehaviors action.
This is a convenience which creates an instance of the
ValidateSecurityProfileBehaviorsRequest.Builderavoiding the need to create one manually viaValidateSecurityProfileBehaviorsRequest.builder()- Parameters:
validateSecurityProfileBehaviorsRequest- AConsumerthat will call methods onValidateSecurityProfileBehaviorsRequest.Builderto create a request.- Returns:
- Result of the ValidateSecurityProfileBehaviors operation returned by the service.
-
create
Create aIotClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aIotClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-