@Generated(value="software.amazon.awssdk:codegen") public interface IotAsyncClient extends SdkClient
builder() method.
AWS IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. You can discover your custom IoT-Data endpoint to communicate with, configure rules for data processing and integration with other services, organize resources associated with each device (Registry), configure logging, and create and manage policies and credentials to authenticate devices.
The service endpoints that expose this API are listed in AWS IoT Core Endpoints and Quotas. You must use the endpoint for the region that has the resources you want to access.
The service name used by AWS Signature Version 4 to sign the request is: execute-api.
For more information about how AWS IoT works, see the Developer Guide.
For information about how to use the credentials provider for AWS IoT, see Authorizing Direct Calls to AWS Services.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static IotAsyncClient create()
IotAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static IotAsyncClientBuilder builder()
IotAsyncClient.default CompletableFuture<AcceptCertificateTransferResponse> acceptCertificateTransfer(AcceptCertificateTransferRequest acceptCertificateTransferRequest)
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
acceptCertificateTransferRequest - The input for the AcceptCertificateTransfer operation.default CompletableFuture<AcceptCertificateTransferResponse> acceptCertificateTransfer(Consumer<AcceptCertificateTransferRequest.Builder> acceptCertificateTransferRequest)
Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This is a convenience which creates an instance of the AcceptCertificateTransferRequest.Builder avoiding
the need to create one manually via AcceptCertificateTransferRequest.builder()
acceptCertificateTransferRequest - A Consumer that will call methods on AcceptCertificateTransferRequest.Builder to create a
request. The input for the AcceptCertificateTransfer operation.default CompletableFuture<AddThingToBillingGroupResponse> addThingToBillingGroup(AddThingToBillingGroupRequest addThingToBillingGroupRequest)
Adds a thing to a billing group.
addThingToBillingGroupRequest - default CompletableFuture<AddThingToBillingGroupResponse> addThingToBillingGroup(Consumer<AddThingToBillingGroupRequest.Builder> addThingToBillingGroupRequest)
Adds a thing to a billing group.
This is a convenience which creates an instance of the AddThingToBillingGroupRequest.Builder avoiding the
need to create one manually via AddThingToBillingGroupRequest.builder()
addThingToBillingGroupRequest - A Consumer that will call methods on AddThingToBillingGroupRequest.Builder to create a
request.default CompletableFuture<AddThingToThingGroupResponse> addThingToThingGroup(AddThingToThingGroupRequest addThingToThingGroupRequest)
Adds a thing to a thing group.
addThingToThingGroupRequest - default CompletableFuture<AddThingToThingGroupResponse> addThingToThingGroup(Consumer<AddThingToThingGroupRequest.Builder> addThingToThingGroupRequest)
Adds a thing to a thing group.
This is a convenience which creates an instance of the AddThingToThingGroupRequest.Builder avoiding the
need to create one manually via AddThingToThingGroupRequest.builder()
addThingToThingGroupRequest - A Consumer that will call methods on AddThingToThingGroupRequest.Builder to create a
request.default CompletableFuture<AssociateTargetsWithJobResponse> associateTargetsWithJob(AssociateTargetsWithJobRequest associateTargetsWithJobRequest)
Associates a group with a continuous job. The following criteria must be met:
The job must have been created with the targetSelection field set to "CONTINUOUS".
The job status must currently be "IN_PROGRESS".
The total number of targets associated with a job must not exceed 100.
associateTargetsWithJobRequest - default CompletableFuture<AssociateTargetsWithJobResponse> associateTargetsWithJob(Consumer<AssociateTargetsWithJobRequest.Builder> associateTargetsWithJobRequest)
Associates a group with a continuous job. The following criteria must be met:
The job must have been created with the targetSelection field set to "CONTINUOUS".
The job status must currently be "IN_PROGRESS".
The total number of targets associated with a job must not exceed 100.
This is a convenience which creates an instance of the AssociateTargetsWithJobRequest.Builder avoiding
the need to create one manually via AssociateTargetsWithJobRequest.builder()
associateTargetsWithJobRequest - A Consumer that will call methods on AssociateTargetsWithJobRequest.Builder to create a
request.default CompletableFuture<AttachPolicyResponse> attachPolicy(AttachPolicyRequest attachPolicyRequest)
Attaches a policy to the specified target.
attachPolicyRequest - default CompletableFuture<AttachPolicyResponse> attachPolicy(Consumer<AttachPolicyRequest.Builder> attachPolicyRequest)
Attaches a policy to the specified target.
This is a convenience which creates an instance of the AttachPolicyRequest.Builder avoiding the need to
create one manually via AttachPolicyRequest.builder()
attachPolicyRequest - A Consumer that will call methods on AttachPolicyRequest.Builder to create a request.default CompletableFuture<AttachSecurityProfileResponse> attachSecurityProfile(AttachSecurityProfileRequest attachSecurityProfileRequest)
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.
attachSecurityProfileRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<AttachSecurityProfileResponse> attachSecurityProfile(Consumer<AttachSecurityProfileRequest.Builder> attachSecurityProfileRequest)
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.
This is a convenience which creates an instance of the AttachSecurityProfileRequest.Builder avoiding the
need to create one manually via AttachSecurityProfileRequest.builder()
attachSecurityProfileRequest - A Consumer that will call methods on AttachSecurityProfileRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<AttachThingPrincipalResponse> attachThingPrincipal(AttachThingPrincipalRequest attachThingPrincipalRequest)
Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
attachThingPrincipalRequest - The input for the AttachThingPrincipal operation.default CompletableFuture<AttachThingPrincipalResponse> attachThingPrincipal(Consumer<AttachThingPrincipalRequest.Builder> attachThingPrincipalRequest)
Attaches the specified principal to the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This is a convenience which creates an instance of the AttachThingPrincipalRequest.Builder avoiding the
need to create one manually via AttachThingPrincipalRequest.builder()
attachThingPrincipalRequest - A Consumer that will call methods on AttachThingPrincipalRequest.Builder to create a
request. The input for the AttachThingPrincipal operation.default CompletableFuture<CancelAuditMitigationActionsTaskResponse> cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest)
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
cancelAuditMitigationActionsTaskRequest - default CompletableFuture<CancelAuditMitigationActionsTaskResponse> cancelAuditMitigationActionsTask(Consumer<CancelAuditMitigationActionsTaskRequest.Builder> cancelAuditMitigationActionsTaskRequest)
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
This is a convenience which creates an instance of the CancelAuditMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via CancelAuditMitigationActionsTaskRequest.builder()
cancelAuditMitigationActionsTaskRequest - A Consumer that will call methods on CancelAuditMitigationActionsTaskRequest.Builder to
create a request.default CompletableFuture<CancelAuditTaskResponse> cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest)
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.
cancelAuditTaskRequest - default CompletableFuture<CancelAuditTaskResponse> cancelAuditTask(Consumer<CancelAuditTaskRequest.Builder> cancelAuditTaskRequest)
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.
This is a convenience which creates an instance of the CancelAuditTaskRequest.Builder avoiding the need
to create one manually via CancelAuditTaskRequest.builder()
cancelAuditTaskRequest - A Consumer that will call methods on CancelAuditTaskRequest.Builder to create a request.default CompletableFuture<CancelCertificateTransferResponse> cancelCertificateTransfer(CancelCertificateTransferRequest cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
cancelCertificateTransferRequest - The input for the CancelCertificateTransfer operation.default CompletableFuture<CancelCertificateTransferResponse> cancelCertificateTransfer(Consumer<CancelCertificateTransferRequest.Builder> cancelCertificateTransferRequest)
Cancels a pending transfer for the specified certificate.
Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use RejectCertificateTransfer instead.) After transfer, AWS IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.
After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.
This is a convenience which creates an instance of the CancelCertificateTransferRequest.Builder avoiding
the need to create one manually via CancelCertificateTransferRequest.builder()
cancelCertificateTransferRequest - A Consumer that will call methods on CancelCertificateTransferRequest.Builder to create a
request. The input for the CancelCertificateTransfer operation.default CompletableFuture<CancelDetectMitigationActionsTaskResponse> cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest)
Cancels a Device Defender ML Detect mitigation action.
cancelDetectMitigationActionsTaskRequest - default CompletableFuture<CancelDetectMitigationActionsTaskResponse> cancelDetectMitigationActionsTask(Consumer<CancelDetectMitigationActionsTaskRequest.Builder> cancelDetectMitigationActionsTaskRequest)
Cancels a Device Defender ML Detect mitigation action.
This is a convenience which creates an instance of the CancelDetectMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via CancelDetectMitigationActionsTaskRequest.builder()
cancelDetectMitigationActionsTaskRequest - A Consumer that will call methods on CancelDetectMitigationActionsTaskRequest.Builder to
create a request.default CompletableFuture<CancelJobResponse> cancelJob(CancelJobRequest cancelJobRequest)
Cancels a job.
cancelJobRequest - default CompletableFuture<CancelJobResponse> cancelJob(Consumer<CancelJobRequest.Builder> cancelJobRequest)
Cancels a job.
This is a convenience which creates an instance of the CancelJobRequest.Builder avoiding the need to
create one manually via CancelJobRequest.builder()
cancelJobRequest - A Consumer that will call methods on CancelJobRequest.Builder to create a request.default CompletableFuture<CancelJobExecutionResponse> cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest)
Cancels the execution of a job for a given thing.
cancelJobExecutionRequest - force
parameter.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<CancelJobExecutionResponse> cancelJobExecution(Consumer<CancelJobExecutionRequest.Builder> cancelJobExecutionRequest)
Cancels the execution of a job for a given thing.
This is a convenience which creates an instance of the CancelJobExecutionRequest.Builder avoiding the
need to create one manually via CancelJobExecutionRequest.builder()
cancelJobExecutionRequest - A Consumer that will call methods on CancelJobExecutionRequest.Builder to create a
request.force
parameter.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<ClearDefaultAuthorizerResponse> clearDefaultAuthorizer(ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest)
Clears the default authorizer.
clearDefaultAuthorizerRequest - default CompletableFuture<ClearDefaultAuthorizerResponse> clearDefaultAuthorizer(Consumer<ClearDefaultAuthorizerRequest.Builder> clearDefaultAuthorizerRequest)
Clears the default authorizer.
This is a convenience which creates an instance of the ClearDefaultAuthorizerRequest.Builder avoiding the
need to create one manually via ClearDefaultAuthorizerRequest.builder()
clearDefaultAuthorizerRequest - A Consumer that will call methods on ClearDefaultAuthorizerRequest.Builder to create a
request.default CompletableFuture<ClearDefaultAuthorizerResponse> clearDefaultAuthorizer()
Clears the default authorizer.
default CompletableFuture<ConfirmTopicRuleDestinationResponse> confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest)
Confirms a topic rule destination. When you create a rule requiring a destination, AWS IoT sends a confirmation
message to the endpoint or base address you specify. The message includes a token which you pass back when
calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.
confirmTopicRuleDestinationRequest - default CompletableFuture<ConfirmTopicRuleDestinationResponse> confirmTopicRuleDestination(Consumer<ConfirmTopicRuleDestinationRequest.Builder> confirmTopicRuleDestinationRequest)
Confirms a topic rule destination. When you create a rule requiring a destination, AWS IoT sends a confirmation
message to the endpoint or base address you specify. The message includes a token which you pass back when
calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint.
This is a convenience which creates an instance of the ConfirmTopicRuleDestinationRequest.Builder
avoiding the need to create one manually via ConfirmTopicRuleDestinationRequest.builder()
confirmTopicRuleDestinationRequest - A Consumer that will call methods on ConfirmTopicRuleDestinationRequest.Builder to create
a request.default CompletableFuture<CreateAuditSuppressionResponse> createAuditSuppression(CreateAuditSuppressionRequest createAuditSuppressionRequest)
Creates a Device Defender audit suppression.
createAuditSuppressionRequest - default CompletableFuture<CreateAuditSuppressionResponse> createAuditSuppression(Consumer<CreateAuditSuppressionRequest.Builder> createAuditSuppressionRequest)
Creates a Device Defender audit suppression.
This is a convenience which creates an instance of the CreateAuditSuppressionRequest.Builder avoiding the
need to create one manually via CreateAuditSuppressionRequest.builder()
createAuditSuppressionRequest - A Consumer that will call methods on CreateAuditSuppressionRequest.Builder to create a
request.default CompletableFuture<CreateAuthorizerResponse> createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest)
Creates an authorizer.
createAuthorizerRequest - default CompletableFuture<CreateAuthorizerResponse> createAuthorizer(Consumer<CreateAuthorizerRequest.Builder> createAuthorizerRequest)
Creates an authorizer.
This is a convenience which creates an instance of the CreateAuthorizerRequest.Builder avoiding the need
to create one manually via CreateAuthorizerRequest.builder()
createAuthorizerRequest - A Consumer that will call methods on CreateAuthorizerRequest.Builder to create a request.default CompletableFuture<CreateBillingGroupResponse> createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest)
Creates a billing group.
createBillingGroupRequest - default CompletableFuture<CreateBillingGroupResponse> createBillingGroup(Consumer<CreateBillingGroupRequest.Builder> createBillingGroupRequest)
Creates a billing group.
This is a convenience which creates an instance of the CreateBillingGroupRequest.Builder avoiding the
need to create one manually via CreateBillingGroupRequest.builder()
createBillingGroupRequest - A Consumer that will call methods on CreateBillingGroupRequest.Builder to create a
request.default CompletableFuture<CreateCertificateFromCsrResponse> createCertificateFromCsr(CreateCertificateFromCsrRequest createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
createCertificateFromCsrRequest - The input for the CreateCertificateFromCsr operation.default CompletableFuture<CreateCertificateFromCsrResponse> createCertificateFromCsr(Consumer<CreateCertificateFromCsrRequest.Builder> createCertificateFromCsrRequest)
Creates an X.509 certificate using the specified certificate signing request.
Note: The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256 or NIST P-384 curves.
Note: Reusing the same certificate signing request (CSR) results in a distinct certificate.
You can create multiple certificates in a batch by creating a directory, copying multiple .csr files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs.
Assuming a set of CSRs are located inside of the directory my-csr-directory:
On Linux and OS X, the command is:
$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the aws iot create-certificate-from-csr AWS CLI command to create a certificate for the corresponding CSR.
The aws iot create-certificate-from-csr part of the command can also be run in parallel to speed up the certificate creation process:
$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}
On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:
> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_}
On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:
> forfiles /p my-csr-directory /c "cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path"
This is a convenience which creates an instance of the CreateCertificateFromCsrRequest.Builder avoiding
the need to create one manually via CreateCertificateFromCsrRequest.builder()
createCertificateFromCsrRequest - A Consumer that will call methods on CreateCertificateFromCsrRequest.Builder to create a
request. The input for the CreateCertificateFromCsr operation.default CompletableFuture<CreateCustomMetricResponse> createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest)
Use this API to define a Custom Metric published by your devices to Device Defender.
createCustomMetricRequest - default CompletableFuture<CreateCustomMetricResponse> createCustomMetric(Consumer<CreateCustomMetricRequest.Builder> createCustomMetricRequest)
Use this API to define a Custom Metric published by your devices to Device Defender.
This is a convenience which creates an instance of the CreateCustomMetricRequest.Builder avoiding the
need to create one manually via CreateCustomMetricRequest.builder()
createCustomMetricRequest - A Consumer that will call methods on CreateCustomMetricRequest.Builder to create a
request.default CompletableFuture<CreateDimensionResponse> createDimension(CreateDimensionRequest createDimensionRequest)
Create a dimension that you can use to limit the scope of a metric used in a security profile for AWS IoT Device
Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric
only to MQTT topics whose name match the pattern specified in the dimension.
createDimensionRequest - default CompletableFuture<CreateDimensionResponse> createDimension(Consumer<CreateDimensionRequest.Builder> createDimensionRequest)
Create a dimension that you can use to limit the scope of a metric used in a security profile for AWS IoT Device
Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric
only to MQTT topics whose name match the pattern specified in the dimension.
This is a convenience which creates an instance of the CreateDimensionRequest.Builder avoiding the need
to create one manually via CreateDimensionRequest.builder()
createDimensionRequest - A Consumer that will call methods on CreateDimensionRequest.Builder to create a request.default CompletableFuture<CreateDomainConfigurationResponse> createDomainConfiguration(CreateDomainConfigurationRequest createDomainConfigurationRequest)
Creates a domain configuration.
The domain configuration feature is in public preview and is subject to change.
createDomainConfigurationRequest - default CompletableFuture<CreateDomainConfigurationResponse> createDomainConfiguration(Consumer<CreateDomainConfigurationRequest.Builder> createDomainConfigurationRequest)
Creates a domain configuration.
The domain configuration feature is in public preview and is subject to change.
This is a convenience which creates an instance of the CreateDomainConfigurationRequest.Builder avoiding
the need to create one manually via CreateDomainConfigurationRequest.builder()
createDomainConfigurationRequest - A Consumer that will call methods on CreateDomainConfigurationRequest.Builder to create a
request.default CompletableFuture<CreateDynamicThingGroupResponse> createDynamicThingGroup(CreateDynamicThingGroupRequest createDynamicThingGroupRequest)
Creates a dynamic thing group.
createDynamicThingGroupRequest - default CompletableFuture<CreateDynamicThingGroupResponse> createDynamicThingGroup(Consumer<CreateDynamicThingGroupRequest.Builder> createDynamicThingGroupRequest)
Creates a dynamic thing group.
This is a convenience which creates an instance of the CreateDynamicThingGroupRequest.Builder avoiding
the need to create one manually via CreateDynamicThingGroupRequest.builder()
createDynamicThingGroupRequest - A Consumer that will call methods on CreateDynamicThingGroupRequest.Builder to create a
request.default CompletableFuture<CreateJobResponse> createJob(CreateJobRequest createJobRequest)
Creates a job.
createJobRequest - default CompletableFuture<CreateJobResponse> createJob(Consumer<CreateJobRequest.Builder> createJobRequest)
Creates a job.
This is a convenience which creates an instance of the CreateJobRequest.Builder avoiding the need to
create one manually via CreateJobRequest.builder()
createJobRequest - A Consumer that will call methods on CreateJobRequest.Builder to create a request.default CompletableFuture<CreateKeysAndCertificateResponse> createKeysAndCertificate(CreateKeysAndCertificateRequest createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call
CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
createKeysAndCertificateRequest - The input for the CreateKeysAndCertificate operation.default CompletableFuture<CreateKeysAndCertificateResponse> createKeysAndCertificate(Consumer<CreateKeysAndCertificateRequest.Builder> createKeysAndCertificateRequest)
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call
CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
This is a convenience which creates an instance of the CreateKeysAndCertificateRequest.Builder avoiding
the need to create one manually via CreateKeysAndCertificateRequest.builder()
createKeysAndCertificateRequest - A Consumer that will call methods on CreateKeysAndCertificateRequest.Builder to create a
request. The input for the CreateKeysAndCertificate operation.default CompletableFuture<CreateKeysAndCertificateResponse> createKeysAndCertificate()
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call
CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
default CompletableFuture<CreateMitigationActionResponse> createMitigationAction(CreateMitigationActionRequest createMitigationActionRequest)
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.
createMitigationActionRequest - default CompletableFuture<CreateMitigationActionResponse> createMitigationAction(Consumer<CreateMitigationActionRequest.Builder> createMitigationActionRequest)
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.
This is a convenience which creates an instance of the CreateMitigationActionRequest.Builder avoiding the
need to create one manually via CreateMitigationActionRequest.builder()
createMitigationActionRequest - A Consumer that will call methods on CreateMitigationActionRequest.Builder to create a
request.default CompletableFuture<CreateOtaUpdateResponse> createOTAUpdate(CreateOtaUpdateRequest createOtaUpdateRequest)
Creates an AWS IoT OTAUpdate on a target group of things or groups.
createOtaUpdateRequest - default CompletableFuture<CreateOtaUpdateResponse> createOTAUpdate(Consumer<CreateOtaUpdateRequest.Builder> createOtaUpdateRequest)
Creates an AWS IoT OTAUpdate on a target group of things or groups.
This is a convenience which creates an instance of the CreateOtaUpdateRequest.Builder avoiding the need
to create one manually via CreateOtaUpdateRequest.builder()
createOtaUpdateRequest - A Consumer that will call methods on CreateOTAUpdateRequest.Builder to create a request.default CompletableFuture<CreatePolicyResponse> createPolicy(CreatePolicyRequest createPolicyRequest)
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
createPolicyRequest - The input for the CreatePolicy operation.default CompletableFuture<CreatePolicyResponse> createPolicy(Consumer<CreatePolicyRequest.Builder> createPolicyRequest)
Creates an AWS IoT policy.
The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.
This is a convenience which creates an instance of the CreatePolicyRequest.Builder avoiding the need to
create one manually via CreatePolicyRequest.builder()
createPolicyRequest - A Consumer that will call methods on CreatePolicyRequest.Builder to create a request. The
input for the CreatePolicy operation.default CompletableFuture<CreatePolicyVersionResponse> createPolicyVersion(CreatePolicyVersionRequest createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
createPolicyVersionRequest - The input for the CreatePolicyVersion operation.default CompletableFuture<CreatePolicyVersionResponse> createPolicyVersion(Consumer<CreatePolicyVersionRequest.Builder> createPolicyVersionRequest)
Creates a new version of the specified AWS IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.
Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
This is a convenience which creates an instance of the CreatePolicyVersionRequest.Builder avoiding the
need to create one manually via CreatePolicyVersionRequest.builder()
createPolicyVersionRequest - A Consumer that will call methods on CreatePolicyVersionRequest.Builder to create a
request. The input for the CreatePolicyVersion operation.default CompletableFuture<CreateProvisioningClaimResponse> createProvisioningClaim(CreateProvisioningClaimRequest createProvisioningClaimRequest)
Creates a provisioning claim.
createProvisioningClaimRequest - default CompletableFuture<CreateProvisioningClaimResponse> createProvisioningClaim(Consumer<CreateProvisioningClaimRequest.Builder> createProvisioningClaimRequest)
Creates a provisioning claim.
This is a convenience which creates an instance of the CreateProvisioningClaimRequest.Builder avoiding
the need to create one manually via CreateProvisioningClaimRequest.builder()
createProvisioningClaimRequest - A Consumer that will call methods on CreateProvisioningClaimRequest.Builder to create a
request.default CompletableFuture<CreateProvisioningTemplateResponse> createProvisioningTemplate(CreateProvisioningTemplateRequest createProvisioningTemplateRequest)
Creates a fleet provisioning template.
createProvisioningTemplateRequest - default CompletableFuture<CreateProvisioningTemplateResponse> createProvisioningTemplate(Consumer<CreateProvisioningTemplateRequest.Builder> createProvisioningTemplateRequest)
Creates a fleet provisioning template.
This is a convenience which creates an instance of the CreateProvisioningTemplateRequest.Builder avoiding
the need to create one manually via CreateProvisioningTemplateRequest.builder()
createProvisioningTemplateRequest - A Consumer that will call methods on CreateProvisioningTemplateRequest.Builder to create a
request.default CompletableFuture<CreateProvisioningTemplateVersionResponse> createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest)
Creates a new version of a fleet provisioning template.
createProvisioningTemplateVersionRequest - default CompletableFuture<CreateProvisioningTemplateVersionResponse> createProvisioningTemplateVersion(Consumer<CreateProvisioningTemplateVersionRequest.Builder> createProvisioningTemplateVersionRequest)
Creates a new version of a fleet provisioning template.
This is a convenience which creates an instance of the CreateProvisioningTemplateVersionRequest.Builder
avoiding the need to create one manually via CreateProvisioningTemplateVersionRequest.builder()
createProvisioningTemplateVersionRequest - A Consumer that will call methods on CreateProvisioningTemplateVersionRequest.Builder to
create a request.default CompletableFuture<CreateRoleAliasResponse> createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest)
Creates a role alias.
createRoleAliasRequest - default CompletableFuture<CreateRoleAliasResponse> createRoleAlias(Consumer<CreateRoleAliasRequest.Builder> createRoleAliasRequest)
Creates a role alias.
This is a convenience which creates an instance of the CreateRoleAliasRequest.Builder avoiding the need
to create one manually via CreateRoleAliasRequest.builder()
createRoleAliasRequest - A Consumer that will call methods on CreateRoleAliasRequest.Builder to create a request.default CompletableFuture<CreateScheduledAuditResponse> createScheduledAudit(CreateScheduledAuditRequest createScheduledAuditRequest)
Creates a scheduled audit that is run at a specified time interval.
createScheduledAuditRequest - default CompletableFuture<CreateScheduledAuditResponse> createScheduledAudit(Consumer<CreateScheduledAuditRequest.Builder> createScheduledAuditRequest)
Creates a scheduled audit that is run at a specified time interval.
This is a convenience which creates an instance of the CreateScheduledAuditRequest.Builder avoiding the
need to create one manually via CreateScheduledAuditRequest.builder()
createScheduledAuditRequest - A Consumer that will call methods on CreateScheduledAuditRequest.Builder to create a
request.default CompletableFuture<CreateSecurityProfileResponse> createSecurityProfile(CreateSecurityProfileRequest createSecurityProfileRequest)
Creates a Device Defender security profile.
createSecurityProfileRequest - default CompletableFuture<CreateSecurityProfileResponse> createSecurityProfile(Consumer<CreateSecurityProfileRequest.Builder> createSecurityProfileRequest)
Creates a Device Defender security profile.
This is a convenience which creates an instance of the CreateSecurityProfileRequest.Builder avoiding the
need to create one manually via CreateSecurityProfileRequest.builder()
createSecurityProfileRequest - A Consumer that will call methods on CreateSecurityProfileRequest.Builder to create a
request.default CompletableFuture<CreateStreamResponse> createStream(CreateStreamRequest createStreamRequest)
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.
createStreamRequest - default CompletableFuture<CreateStreamResponse> createStream(Consumer<CreateStreamRequest.Builder> createStreamRequest)
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.
This is a convenience which creates an instance of the CreateStreamRequest.Builder avoiding the need to
create one manually via CreateStreamRequest.builder()
createStreamRequest - A Consumer that will call methods on CreateStreamRequest.Builder to create a request.default CompletableFuture<CreateThingResponse> createThing(CreateThingRequest createThingRequest)
Creates a thing record in the registry. If this call is made multiple times using the same thing name and
configuration, the call will succeed. If this call is made with the same thing name but different configuration a
ResourceAlreadyExistsException is thrown.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
createThingRequest - The input for the CreateThing operation.default CompletableFuture<CreateThingResponse> createThing(Consumer<CreateThingRequest.Builder> createThingRequest)
Creates a thing record in the registry. If this call is made multiple times using the same thing name and
configuration, the call will succeed. If this call is made with the same thing name but different configuration a
ResourceAlreadyExistsException is thrown.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
This is a convenience which creates an instance of the CreateThingRequest.Builder avoiding the need to
create one manually via CreateThingRequest.builder()
createThingRequest - A Consumer that will call methods on CreateThingRequest.Builder to create a request. The
input for the CreateThing operation.default CompletableFuture<CreateThingGroupResponse> createThingGroup(CreateThingGroupRequest createThingGroupRequest)
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
createThingGroupRequest - default CompletableFuture<CreateThingGroupResponse> createThingGroup(Consumer<CreateThingGroupRequest.Builder> createThingGroupRequest)
Create a thing group.
This is a control plane operation. See Authorization for information about authorizing control plane actions.
This is a convenience which creates an instance of the CreateThingGroupRequest.Builder avoiding the need
to create one manually via CreateThingGroupRequest.builder()
createThingGroupRequest - A Consumer that will call methods on CreateThingGroupRequest.Builder to create a request.default CompletableFuture<CreateThingTypeResponse> createThingType(CreateThingTypeRequest createThingTypeRequest)
Creates a new thing type.
createThingTypeRequest - The input for the CreateThingType operation.default CompletableFuture<CreateThingTypeResponse> createThingType(Consumer<CreateThingTypeRequest.Builder> createThingTypeRequest)
Creates a new thing type.
This is a convenience which creates an instance of the CreateThingTypeRequest.Builder avoiding the need
to create one manually via CreateThingTypeRequest.builder()
createThingTypeRequest - A Consumer that will call methods on CreateThingTypeRequest.Builder to create a request.
The input for the CreateThingType operation.default CompletableFuture<CreateTopicRuleResponse> createTopicRule(CreateTopicRuleRequest createTopicRuleRequest)
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
createTopicRuleRequest - The input for the CreateTopicRule operation.default CompletableFuture<CreateTopicRuleResponse> createTopicRule(Consumer<CreateTopicRuleRequest.Builder> createTopicRuleRequest)
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
This is a convenience which creates an instance of the CreateTopicRuleRequest.Builder avoiding the need
to create one manually via CreateTopicRuleRequest.builder()
createTopicRuleRequest - A Consumer that will call methods on CreateTopicRuleRequest.Builder to create a request.
The input for the CreateTopicRule operation.default CompletableFuture<CreateTopicRuleDestinationResponse> createTopicRuleDestination(CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest)
Creates a topic rule destination. The destination must be confirmed prior to use.
createTopicRuleDestinationRequest - default CompletableFuture<CreateTopicRuleDestinationResponse> createTopicRuleDestination(Consumer<CreateTopicRuleDestinationRequest.Builder> createTopicRuleDestinationRequest)
Creates a topic rule destination. The destination must be confirmed prior to use.
This is a convenience which creates an instance of the CreateTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via CreateTopicRuleDestinationRequest.builder()
createTopicRuleDestinationRequest - A Consumer that will call methods on CreateTopicRuleDestinationRequest.Builder to create a
request.default CompletableFuture<DeleteAccountAuditConfigurationResponse> deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest)
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.
deleteAccountAuditConfigurationRequest - default CompletableFuture<DeleteAccountAuditConfigurationResponse> deleteAccountAuditConfiguration(Consumer<DeleteAccountAuditConfigurationRequest.Builder> deleteAccountAuditConfigurationRequest)
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.
This is a convenience which creates an instance of the DeleteAccountAuditConfigurationRequest.Builder
avoiding the need to create one manually via DeleteAccountAuditConfigurationRequest.builder()
deleteAccountAuditConfigurationRequest - A Consumer that will call methods on DeleteAccountAuditConfigurationRequest.Builder to
create a request.default CompletableFuture<DeleteAccountAuditConfigurationResponse> deleteAccountAuditConfiguration()
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.
default CompletableFuture<DeleteAuditSuppressionResponse> deleteAuditSuppression(DeleteAuditSuppressionRequest deleteAuditSuppressionRequest)
Deletes a Device Defender audit suppression.
deleteAuditSuppressionRequest - default CompletableFuture<DeleteAuditSuppressionResponse> deleteAuditSuppression(Consumer<DeleteAuditSuppressionRequest.Builder> deleteAuditSuppressionRequest)
Deletes a Device Defender audit suppression.
This is a convenience which creates an instance of the DeleteAuditSuppressionRequest.Builder avoiding the
need to create one manually via DeleteAuditSuppressionRequest.builder()
deleteAuditSuppressionRequest - A Consumer that will call methods on DeleteAuditSuppressionRequest.Builder to create a
request.default CompletableFuture<DeleteAuthorizerResponse> deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest)
Deletes an authorizer.
deleteAuthorizerRequest - default CompletableFuture<DeleteAuthorizerResponse> deleteAuthorizer(Consumer<DeleteAuthorizerRequest.Builder> deleteAuthorizerRequest)
Deletes an authorizer.
This is a convenience which creates an instance of the DeleteAuthorizerRequest.Builder avoiding the need
to create one manually via DeleteAuthorizerRequest.builder()
deleteAuthorizerRequest - A Consumer that will call methods on DeleteAuthorizerRequest.Builder to create a request.default CompletableFuture<DeleteBillingGroupResponse> deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest)
Deletes the billing group.
deleteBillingGroupRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteBillingGroupResponse> deleteBillingGroup(Consumer<DeleteBillingGroupRequest.Builder> deleteBillingGroupRequest)
Deletes the billing group.
This is a convenience which creates an instance of the DeleteBillingGroupRequest.Builder avoiding the
need to create one manually via DeleteBillingGroupRequest.builder()
deleteBillingGroupRequest - A Consumer that will call methods on DeleteBillingGroupRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteCaCertificateResponse> deleteCACertificate(DeleteCaCertificateRequest deleteCaCertificateRequest)
Deletes a registered CA certificate.
deleteCaCertificateRequest - Input for the DeleteCACertificate operation.default CompletableFuture<DeleteCaCertificateResponse> deleteCACertificate(Consumer<DeleteCaCertificateRequest.Builder> deleteCaCertificateRequest)
Deletes a registered CA certificate.
This is a convenience which creates an instance of the DeleteCaCertificateRequest.Builder avoiding the
need to create one manually via DeleteCaCertificateRequest.builder()
deleteCaCertificateRequest - A Consumer that will call methods on DeleteCACertificateRequest.Builder to create a
request. Input for the DeleteCACertificate operation.default CompletableFuture<DeleteCertificateResponse> deleteCertificate(DeleteCertificateRequest deleteCertificateRequest)
Deletes the specified certificate.
A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
deleteCertificateRequest - The input for the DeleteCertificate operation.default CompletableFuture<DeleteCertificateResponse> deleteCertificate(Consumer<DeleteCertificateRequest.Builder> deleteCertificateRequest)
Deletes the specified certificate.
A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPrincipalPolicy API to detach all policies. Next, use the UpdateCertificate API to set the certificate to the INACTIVE status.
This is a convenience which creates an instance of the DeleteCertificateRequest.Builder avoiding the need
to create one manually via DeleteCertificateRequest.builder()
deleteCertificateRequest - A Consumer that will call methods on DeleteCertificateRequest.Builder to create a request.
The input for the DeleteCertificate operation.default CompletableFuture<DeleteCustomMetricResponse> deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest)
Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a
part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles
API with metricName set to your custom metric name.
Deletes a Device Defender detect custom metric.
deleteCustomMetricRequest - default CompletableFuture<DeleteCustomMetricResponse> deleteCustomMetric(Consumer<DeleteCustomMetricRequest.Builder> deleteCustomMetricRequest)
Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a
part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles
API with metricName set to your custom metric name.
Deletes a Device Defender detect custom metric.
This is a convenience which creates an instance of the DeleteCustomMetricRequest.Builder avoiding the
need to create one manually via DeleteCustomMetricRequest.builder()
deleteCustomMetricRequest - A Consumer that will call methods on DeleteCustomMetricRequest.Builder to create a
request.default CompletableFuture<DeleteDimensionResponse> deleteDimension(DeleteDimensionRequest deleteDimensionRequest)
Removes the specified dimension from your AWS account.
deleteDimensionRequest - default CompletableFuture<DeleteDimensionResponse> deleteDimension(Consumer<DeleteDimensionRequest.Builder> deleteDimensionRequest)
Removes the specified dimension from your AWS account.
This is a convenience which creates an instance of the DeleteDimensionRequest.Builder avoiding the need
to create one manually via DeleteDimensionRequest.builder()
deleteDimensionRequest - A Consumer that will call methods on DeleteDimensionRequest.Builder to create a request.default CompletableFuture<DeleteDomainConfigurationResponse> deleteDomainConfiguration(DeleteDomainConfigurationRequest deleteDomainConfigurationRequest)
Deletes the specified domain configuration.
The domain configuration feature is in public preview and is subject to change.
deleteDomainConfigurationRequest - default CompletableFuture<DeleteDomainConfigurationResponse> deleteDomainConfiguration(Consumer<DeleteDomainConfigurationRequest.Builder> deleteDomainConfigurationRequest)
Deletes the specified domain configuration.
The domain configuration feature is in public preview and is subject to change.
This is a convenience which creates an instance of the DeleteDomainConfigurationRequest.Builder avoiding
the need to create one manually via DeleteDomainConfigurationRequest.builder()
deleteDomainConfigurationRequest - A Consumer that will call methods on DeleteDomainConfigurationRequest.Builder to create a
request.default CompletableFuture<DeleteDynamicThingGroupResponse> deleteDynamicThingGroup(DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest)
Deletes a dynamic thing group.
deleteDynamicThingGroupRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteDynamicThingGroupResponse> deleteDynamicThingGroup(Consumer<DeleteDynamicThingGroupRequest.Builder> deleteDynamicThingGroupRequest)
Deletes a dynamic thing group.
This is a convenience which creates an instance of the DeleteDynamicThingGroupRequest.Builder avoiding
the need to create one manually via DeleteDynamicThingGroupRequest.builder()
deleteDynamicThingGroupRequest - A Consumer that will call methods on DeleteDynamicThingGroupRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest deleteJobRequest)
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.
deleteJobRequest - force
parameter.default CompletableFuture<DeleteJobResponse> deleteJob(Consumer<DeleteJobRequest.Builder> deleteJobRequest)
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.
This is a convenience which creates an instance of the DeleteJobRequest.Builder avoiding the need to
create one manually via DeleteJobRequest.builder()
deleteJobRequest - A Consumer that will call methods on DeleteJobRequest.Builder to create a request.force
parameter.default CompletableFuture<DeleteJobExecutionResponse> deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest)
Deletes a job execution.
deleteJobExecutionRequest - force
parameter.default CompletableFuture<DeleteJobExecutionResponse> deleteJobExecution(Consumer<DeleteJobExecutionRequest.Builder> deleteJobExecutionRequest)
Deletes a job execution.
This is a convenience which creates an instance of the DeleteJobExecutionRequest.Builder avoiding the
need to create one manually via DeleteJobExecutionRequest.builder()
deleteJobExecutionRequest - A Consumer that will call methods on DeleteJobExecutionRequest.Builder to create a
request.force
parameter.default CompletableFuture<DeleteMitigationActionResponse> deleteMitigationAction(DeleteMitigationActionRequest deleteMitigationActionRequest)
Deletes a defined mitigation action from your AWS account.
deleteMitigationActionRequest - default CompletableFuture<DeleteMitigationActionResponse> deleteMitigationAction(Consumer<DeleteMitigationActionRequest.Builder> deleteMitigationActionRequest)
Deletes a defined mitigation action from your AWS account.
This is a convenience which creates an instance of the DeleteMitigationActionRequest.Builder avoiding the
need to create one manually via DeleteMitigationActionRequest.builder()
deleteMitigationActionRequest - A Consumer that will call methods on DeleteMitigationActionRequest.Builder to create a
request.default CompletableFuture<DeleteOtaUpdateResponse> deleteOTAUpdate(DeleteOtaUpdateRequest deleteOtaUpdateRequest)
Delete an OTA update.
deleteOtaUpdateRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteOtaUpdateResponse> deleteOTAUpdate(Consumer<DeleteOtaUpdateRequest.Builder> deleteOtaUpdateRequest)
Delete an OTA update.
This is a convenience which creates an instance of the DeleteOtaUpdateRequest.Builder avoiding the need
to create one manually via DeleteOtaUpdateRequest.builder()
deleteOtaUpdateRequest - A Consumer that will call methods on DeleteOTAUpdateRequest.Builder to create a request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeletePolicyResponse> deletePolicy(DeletePolicyRequest deletePolicyRequest)
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
deletePolicyRequest - The input for the DeletePolicy operation.default CompletableFuture<DeletePolicyResponse> deletePolicy(Consumer<DeletePolicyRequest.Builder> deletePolicyRequest)
Deletes the specified policy.
A policy cannot be deleted if it has non-default versions or it is attached to any certificate.
To delete a policy, use the DeletePolicyVersion API to delete all non-default versions of the policy; use the DetachPrincipalPolicy API to detach the policy from any certificate; and then use the DeletePolicy API to delete the policy.
When a policy is deleted using DeletePolicy, its default version is deleted with it.
This is a convenience which creates an instance of the DeletePolicyRequest.Builder avoiding the need to
create one manually via DeletePolicyRequest.builder()
deletePolicyRequest - A Consumer that will call methods on DeletePolicyRequest.Builder to create a request. The
input for the DeletePolicy operation.default CompletableFuture<DeletePolicyVersionResponse> deletePolicyVersion(DeletePolicyVersionRequest deletePolicyVersionRequest)
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
deletePolicyVersionRequest - The input for the DeletePolicyVersion operation.default CompletableFuture<DeletePolicyVersionResponse> deletePolicyVersion(Consumer<DeletePolicyVersionRequest.Builder> deletePolicyVersionRequest)
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this API. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
This is a convenience which creates an instance of the DeletePolicyVersionRequest.Builder avoiding the
need to create one manually via DeletePolicyVersionRequest.builder()
deletePolicyVersionRequest - A Consumer that will call methods on DeletePolicyVersionRequest.Builder to create a
request. The input for the DeletePolicyVersion operation.default CompletableFuture<DeleteProvisioningTemplateResponse> deleteProvisioningTemplate(DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest)
Deletes a fleet provisioning template.
deleteProvisioningTemplateRequest - default CompletableFuture<DeleteProvisioningTemplateResponse> deleteProvisioningTemplate(Consumer<DeleteProvisioningTemplateRequest.Builder> deleteProvisioningTemplateRequest)
Deletes a fleet provisioning template.
This is a convenience which creates an instance of the DeleteProvisioningTemplateRequest.Builder avoiding
the need to create one manually via DeleteProvisioningTemplateRequest.builder()
deleteProvisioningTemplateRequest - A Consumer that will call methods on DeleteProvisioningTemplateRequest.Builder to create a
request.default CompletableFuture<DeleteProvisioningTemplateVersionResponse> deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest)
Deletes a fleet provisioning template version.
deleteProvisioningTemplateVersionRequest - default CompletableFuture<DeleteProvisioningTemplateVersionResponse> deleteProvisioningTemplateVersion(Consumer<DeleteProvisioningTemplateVersionRequest.Builder> deleteProvisioningTemplateVersionRequest)
Deletes a fleet provisioning template version.
This is a convenience which creates an instance of the DeleteProvisioningTemplateVersionRequest.Builder
avoiding the need to create one manually via DeleteProvisioningTemplateVersionRequest.builder()
deleteProvisioningTemplateVersionRequest - A Consumer that will call methods on DeleteProvisioningTemplateVersionRequest.Builder to
create a request.default CompletableFuture<DeleteRegistrationCodeResponse> deleteRegistrationCode(DeleteRegistrationCodeRequest deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
deleteRegistrationCodeRequest - The input for the DeleteRegistrationCode operation.default CompletableFuture<DeleteRegistrationCodeResponse> deleteRegistrationCode(Consumer<DeleteRegistrationCodeRequest.Builder> deleteRegistrationCodeRequest)
Deletes a CA certificate registration code.
This is a convenience which creates an instance of the DeleteRegistrationCodeRequest.Builder avoiding the
need to create one manually via DeleteRegistrationCodeRequest.builder()
deleteRegistrationCodeRequest - A Consumer that will call methods on DeleteRegistrationCodeRequest.Builder to create a
request. The input for the DeleteRegistrationCode operation.default CompletableFuture<DeleteRegistrationCodeResponse> deleteRegistrationCode()
Deletes a CA certificate registration code.
default CompletableFuture<DeleteRoleAliasResponse> deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest)
Deletes a role alias
deleteRoleAliasRequest - default CompletableFuture<DeleteRoleAliasResponse> deleteRoleAlias(Consumer<DeleteRoleAliasRequest.Builder> deleteRoleAliasRequest)
Deletes a role alias
This is a convenience which creates an instance of the DeleteRoleAliasRequest.Builder avoiding the need
to create one manually via DeleteRoleAliasRequest.builder()
deleteRoleAliasRequest - A Consumer that will call methods on DeleteRoleAliasRequest.Builder to create a request.default CompletableFuture<DeleteScheduledAuditResponse> deleteScheduledAudit(DeleteScheduledAuditRequest deleteScheduledAuditRequest)
Deletes a scheduled audit.
deleteScheduledAuditRequest - default CompletableFuture<DeleteScheduledAuditResponse> deleteScheduledAudit(Consumer<DeleteScheduledAuditRequest.Builder> deleteScheduledAuditRequest)
Deletes a scheduled audit.
This is a convenience which creates an instance of the DeleteScheduledAuditRequest.Builder avoiding the
need to create one manually via DeleteScheduledAuditRequest.builder()
deleteScheduledAuditRequest - A Consumer that will call methods on DeleteScheduledAuditRequest.Builder to create a
request.default CompletableFuture<DeleteSecurityProfileResponse> deleteSecurityProfile(DeleteSecurityProfileRequest deleteSecurityProfileRequest)
Deletes a Device Defender security profile.
deleteSecurityProfileRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteSecurityProfileResponse> deleteSecurityProfile(Consumer<DeleteSecurityProfileRequest.Builder> deleteSecurityProfileRequest)
Deletes a Device Defender security profile.
This is a convenience which creates an instance of the DeleteSecurityProfileRequest.Builder avoiding the
need to create one manually via DeleteSecurityProfileRequest.builder()
deleteSecurityProfileRequest - A Consumer that will call methods on DeleteSecurityProfileRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteStreamResponse> deleteStream(DeleteStreamRequest deleteStreamRequest)
Deletes a stream.
deleteStreamRequest - default CompletableFuture<DeleteStreamResponse> deleteStream(Consumer<DeleteStreamRequest.Builder> deleteStreamRequest)
Deletes a stream.
This is a convenience which creates an instance of the DeleteStreamRequest.Builder avoiding the need to
create one manually via DeleteStreamRequest.builder()
deleteStreamRequest - A Consumer that will call methods on DeleteStreamRequest.Builder to create a request.default CompletableFuture<DeleteThingResponse> deleteThing(DeleteThingRequest deleteThingRequest)
Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
deleteThingRequest - The input for the DeleteThing operation.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteThingResponse> deleteThing(Consumer<DeleteThingRequest.Builder> deleteThingRequest)
Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a thing that doesn't exist.
This is a convenience which creates an instance of the DeleteThingRequest.Builder avoiding the need to
create one manually via DeleteThingRequest.builder()
deleteThingRequest - A Consumer that will call methods on DeleteThingRequest.Builder to create a request. The
input for the DeleteThing operation.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteThingGroupResponse> deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest)
Deletes a thing group.
deleteThingGroupRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteThingGroupResponse> deleteThingGroup(Consumer<DeleteThingGroupRequest.Builder> deleteThingGroupRequest)
Deletes a thing group.
This is a convenience which creates an instance of the DeleteThingGroupRequest.Builder avoiding the need
to create one manually via DeleteThingGroupRequest.builder()
deleteThingGroupRequest - A Consumer that will call methods on DeleteThingGroupRequest.Builder to create a request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<DeleteThingTypeResponse> deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest)
Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
deleteThingTypeRequest - The input for the DeleteThingType operation.default CompletableFuture<DeleteThingTypeResponse> deleteThingType(Consumer<DeleteThingTypeRequest.Builder> deleteThingTypeRequest)
Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things by calling UpdateThing to change the thing type on any associated thing, and finally use DeleteThingType to delete the thing type.
This is a convenience which creates an instance of the DeleteThingTypeRequest.Builder avoiding the need
to create one manually via DeleteThingTypeRequest.builder()
deleteThingTypeRequest - A Consumer that will call methods on DeleteThingTypeRequest.Builder to create a request.
The input for the DeleteThingType operation.default CompletableFuture<DeleteTopicRuleResponse> deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest)
Deletes the rule.
deleteTopicRuleRequest - The input for the DeleteTopicRule operation.default CompletableFuture<DeleteTopicRuleResponse> deleteTopicRule(Consumer<DeleteTopicRuleRequest.Builder> deleteTopicRuleRequest)
Deletes the rule.
This is a convenience which creates an instance of the DeleteTopicRuleRequest.Builder avoiding the need
to create one manually via DeleteTopicRuleRequest.builder()
deleteTopicRuleRequest - A Consumer that will call methods on DeleteTopicRuleRequest.Builder to create a request.
The input for the DeleteTopicRule operation.default CompletableFuture<DeleteTopicRuleDestinationResponse> deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest)
Deletes a topic rule destination.
deleteTopicRuleDestinationRequest - default CompletableFuture<DeleteTopicRuleDestinationResponse> deleteTopicRuleDestination(Consumer<DeleteTopicRuleDestinationRequest.Builder> deleteTopicRuleDestinationRequest)
Deletes a topic rule destination.
This is a convenience which creates an instance of the DeleteTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via DeleteTopicRuleDestinationRequest.builder()
deleteTopicRuleDestinationRequest - A Consumer that will call methods on DeleteTopicRuleDestinationRequest.Builder to create a
request.default CompletableFuture<DeleteV2LoggingLevelResponse> deleteV2LoggingLevel(DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest)
Deletes a logging level.
deleteV2LoggingLevelRequest - default CompletableFuture<DeleteV2LoggingLevelResponse> deleteV2LoggingLevel(Consumer<DeleteV2LoggingLevelRequest.Builder> deleteV2LoggingLevelRequest)
Deletes a logging level.
This is a convenience which creates an instance of the DeleteV2LoggingLevelRequest.Builder avoiding the
need to create one manually via DeleteV2LoggingLevelRequest.builder()
deleteV2LoggingLevelRequest - A Consumer that will call methods on DeleteV2LoggingLevelRequest.Builder to create a
request.default CompletableFuture<DeprecateThingTypeResponse> deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest)
Deprecates a thing type. You can not associate new things with deprecated thing type.
deprecateThingTypeRequest - The input for the DeprecateThingType operation.default CompletableFuture<DeprecateThingTypeResponse> deprecateThingType(Consumer<DeprecateThingTypeRequest.Builder> deprecateThingTypeRequest)
Deprecates a thing type. You can not associate new things with deprecated thing type.
This is a convenience which creates an instance of the DeprecateThingTypeRequest.Builder avoiding the
need to create one manually via DeprecateThingTypeRequest.builder()
deprecateThingTypeRequest - A Consumer that will call methods on DeprecateThingTypeRequest.Builder to create a
request. The input for the DeprecateThingType operation.default CompletableFuture<DescribeAccountAuditConfigurationResponse> describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest)
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.
describeAccountAuditConfigurationRequest - default CompletableFuture<DescribeAccountAuditConfigurationResponse> describeAccountAuditConfiguration(Consumer<DescribeAccountAuditConfigurationRequest.Builder> describeAccountAuditConfigurationRequest)
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.
This is a convenience which creates an instance of the DescribeAccountAuditConfigurationRequest.Builder
avoiding the need to create one manually via DescribeAccountAuditConfigurationRequest.builder()
describeAccountAuditConfigurationRequest - A Consumer that will call methods on DescribeAccountAuditConfigurationRequest.Builder to
create a request.default CompletableFuture<DescribeAccountAuditConfigurationResponse> describeAccountAuditConfiguration()
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.
default CompletableFuture<DescribeAuditFindingResponse> describeAuditFinding(DescribeAuditFindingRequest describeAuditFindingRequest)
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.
describeAuditFindingRequest - default CompletableFuture<DescribeAuditFindingResponse> describeAuditFinding(Consumer<DescribeAuditFindingRequest.Builder> describeAuditFindingRequest)
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.
This is a convenience which creates an instance of the DescribeAuditFindingRequest.Builder avoiding the
need to create one manually via DescribeAuditFindingRequest.builder()
describeAuditFindingRequest - A Consumer that will call methods on DescribeAuditFindingRequest.Builder to create a
request.default CompletableFuture<DescribeAuditMitigationActionsTaskResponse> describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest)
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
describeAuditMitigationActionsTaskRequest - default CompletableFuture<DescribeAuditMitigationActionsTaskResponse> describeAuditMitigationActionsTask(Consumer<DescribeAuditMitigationActionsTaskRequest.Builder> describeAuditMitigationActionsTaskRequest)
Gets information about an audit mitigation task that is used to apply mitigation actions to a set of audit findings. Properties include the actions being applied, the audit checks to which they're being applied, the task status, and aggregated task statistics.
This is a convenience which creates an instance of the DescribeAuditMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via DescribeAuditMitigationActionsTaskRequest.builder()
describeAuditMitigationActionsTaskRequest - A Consumer that will call methods on DescribeAuditMitigationActionsTaskRequest.Builder to
create a request.default CompletableFuture<DescribeAuditSuppressionResponse> describeAuditSuppression(DescribeAuditSuppressionRequest describeAuditSuppressionRequest)
Gets information about a Device Defender audit suppression.
describeAuditSuppressionRequest - default CompletableFuture<DescribeAuditSuppressionResponse> describeAuditSuppression(Consumer<DescribeAuditSuppressionRequest.Builder> describeAuditSuppressionRequest)
Gets information about a Device Defender audit suppression.
This is a convenience which creates an instance of the DescribeAuditSuppressionRequest.Builder avoiding
the need to create one manually via DescribeAuditSuppressionRequest.builder()
describeAuditSuppressionRequest - A Consumer that will call methods on DescribeAuditSuppressionRequest.Builder to create a
request.default CompletableFuture<DescribeAuditTaskResponse> describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest)
Gets information about a Device Defender audit.
describeAuditTaskRequest - default CompletableFuture<DescribeAuditTaskResponse> describeAuditTask(Consumer<DescribeAuditTaskRequest.Builder> describeAuditTaskRequest)
Gets information about a Device Defender audit.
This is a convenience which creates an instance of the DescribeAuditTaskRequest.Builder avoiding the need
to create one manually via DescribeAuditTaskRequest.builder()
describeAuditTaskRequest - A Consumer that will call methods on DescribeAuditTaskRequest.Builder to create a request.default CompletableFuture<DescribeAuthorizerResponse> describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest)
Describes an authorizer.
describeAuthorizerRequest - default CompletableFuture<DescribeAuthorizerResponse> describeAuthorizer(Consumer<DescribeAuthorizerRequest.Builder> describeAuthorizerRequest)
Describes an authorizer.
This is a convenience which creates an instance of the DescribeAuthorizerRequest.Builder avoiding the
need to create one manually via DescribeAuthorizerRequest.builder()
describeAuthorizerRequest - A Consumer that will call methods on DescribeAuthorizerRequest.Builder to create a
request.default CompletableFuture<DescribeBillingGroupResponse> describeBillingGroup(DescribeBillingGroupRequest describeBillingGroupRequest)
Returns information about a billing group.
describeBillingGroupRequest - default CompletableFuture<DescribeBillingGroupResponse> describeBillingGroup(Consumer<DescribeBillingGroupRequest.Builder> describeBillingGroupRequest)
Returns information about a billing group.
This is a convenience which creates an instance of the DescribeBillingGroupRequest.Builder avoiding the
need to create one manually via DescribeBillingGroupRequest.builder()
describeBillingGroupRequest - A Consumer that will call methods on DescribeBillingGroupRequest.Builder to create a
request.default CompletableFuture<DescribeCaCertificateResponse> describeCACertificate(DescribeCaCertificateRequest describeCaCertificateRequest)
Describes a registered CA certificate.
describeCaCertificateRequest - The input for the DescribeCACertificate operation.default CompletableFuture<DescribeCaCertificateResponse> describeCACertificate(Consumer<DescribeCaCertificateRequest.Builder> describeCaCertificateRequest)
Describes a registered CA certificate.
This is a convenience which creates an instance of the DescribeCaCertificateRequest.Builder avoiding the
need to create one manually via DescribeCaCertificateRequest.builder()
describeCaCertificateRequest - A Consumer that will call methods on DescribeCACertificateRequest.Builder to create a
request. The input for the DescribeCACertificate operation.default CompletableFuture<DescribeCertificateResponse> describeCertificate(DescribeCertificateRequest describeCertificateRequest)
Gets information about the specified certificate.
describeCertificateRequest - The input for the DescribeCertificate operation.default CompletableFuture<DescribeCertificateResponse> describeCertificate(Consumer<DescribeCertificateRequest.Builder> describeCertificateRequest)
Gets information about the specified certificate.
This is a convenience which creates an instance of the DescribeCertificateRequest.Builder avoiding the
need to create one manually via DescribeCertificateRequest.builder()
describeCertificateRequest - A Consumer that will call methods on DescribeCertificateRequest.Builder to create a
request. The input for the DescribeCertificate operation.default CompletableFuture<DescribeCustomMetricResponse> describeCustomMetric(DescribeCustomMetricRequest describeCustomMetricRequest)
Gets information about a Device Defender detect custom metric.
describeCustomMetricRequest - default CompletableFuture<DescribeCustomMetricResponse> describeCustomMetric(Consumer<DescribeCustomMetricRequest.Builder> describeCustomMetricRequest)
Gets information about a Device Defender detect custom metric.
This is a convenience which creates an instance of the DescribeCustomMetricRequest.Builder avoiding the
need to create one manually via DescribeCustomMetricRequest.builder()
describeCustomMetricRequest - A Consumer that will call methods on DescribeCustomMetricRequest.Builder to create a
request.default CompletableFuture<DescribeDefaultAuthorizerResponse> describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest)
Describes the default authorizer.
describeDefaultAuthorizerRequest - default CompletableFuture<DescribeDefaultAuthorizerResponse> describeDefaultAuthorizer(Consumer<DescribeDefaultAuthorizerRequest.Builder> describeDefaultAuthorizerRequest)
Describes the default authorizer.
This is a convenience which creates an instance of the DescribeDefaultAuthorizerRequest.Builder avoiding
the need to create one manually via DescribeDefaultAuthorizerRequest.builder()
describeDefaultAuthorizerRequest - A Consumer that will call methods on DescribeDefaultAuthorizerRequest.Builder to create a
request.default CompletableFuture<DescribeDetectMitigationActionsTaskResponse> describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest)
Gets information about a Device Defender ML Detect mitigation action.
describeDetectMitigationActionsTaskRequest - default CompletableFuture<DescribeDetectMitigationActionsTaskResponse> describeDetectMitigationActionsTask(Consumer<DescribeDetectMitigationActionsTaskRequest.Builder> describeDetectMitigationActionsTaskRequest)
Gets information about a Device Defender ML Detect mitigation action.
This is a convenience which creates an instance of the DescribeDetectMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via DescribeDetectMitigationActionsTaskRequest.builder()
describeDetectMitigationActionsTaskRequest - A Consumer that will call methods on DescribeDetectMitigationActionsTaskRequest.Builder to
create a request.default CompletableFuture<DescribeDimensionResponse> describeDimension(DescribeDimensionRequest describeDimensionRequest)
Provides details about a dimension that is defined in your AWS account.
describeDimensionRequest - default CompletableFuture<DescribeDimensionResponse> describeDimension(Consumer<DescribeDimensionRequest.Builder> describeDimensionRequest)
Provides details about a dimension that is defined in your AWS account.
This is a convenience which creates an instance of the DescribeDimensionRequest.Builder avoiding the need
to create one manually via DescribeDimensionRequest.builder()
describeDimensionRequest - A Consumer that will call methods on DescribeDimensionRequest.Builder to create a request.default CompletableFuture<DescribeDomainConfigurationResponse> describeDomainConfiguration(DescribeDomainConfigurationRequest describeDomainConfigurationRequest)
Gets summary information about a domain configuration.
The domain configuration feature is in public preview and is subject to change.
describeDomainConfigurationRequest - default CompletableFuture<DescribeDomainConfigurationResponse> describeDomainConfiguration(Consumer<DescribeDomainConfigurationRequest.Builder> describeDomainConfigurationRequest)
Gets summary information about a domain configuration.
The domain configuration feature is in public preview and is subject to change.
This is a convenience which creates an instance of the DescribeDomainConfigurationRequest.Builder
avoiding the need to create one manually via DescribeDomainConfigurationRequest.builder()
describeDomainConfigurationRequest - A Consumer that will call methods on DescribeDomainConfigurationRequest.Builder to create
a request.default CompletableFuture<DescribeEndpointResponse> describeEndpoint(DescribeEndpointRequest describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
describeEndpointRequest - The input for the DescribeEndpoint operation.default CompletableFuture<DescribeEndpointResponse> describeEndpoint(Consumer<DescribeEndpointRequest.Builder> describeEndpointRequest)
Returns a unique endpoint specific to the AWS account making the call.
This is a convenience which creates an instance of the DescribeEndpointRequest.Builder avoiding the need
to create one manually via DescribeEndpointRequest.builder()
describeEndpointRequest - A Consumer that will call methods on DescribeEndpointRequest.Builder to create a request.
The input for the DescribeEndpoint operation.default CompletableFuture<DescribeEndpointResponse> describeEndpoint()
Returns a unique endpoint specific to the AWS account making the call.
default CompletableFuture<DescribeEventConfigurationsResponse> describeEventConfigurations(DescribeEventConfigurationsRequest describeEventConfigurationsRequest)
Describes event configurations.
describeEventConfigurationsRequest - default CompletableFuture<DescribeEventConfigurationsResponse> describeEventConfigurations(Consumer<DescribeEventConfigurationsRequest.Builder> describeEventConfigurationsRequest)
Describes event configurations.
This is a convenience which creates an instance of the DescribeEventConfigurationsRequest.Builder
avoiding the need to create one manually via DescribeEventConfigurationsRequest.builder()
describeEventConfigurationsRequest - A Consumer that will call methods on DescribeEventConfigurationsRequest.Builder to create
a request.default CompletableFuture<DescribeEventConfigurationsResponse> describeEventConfigurations()
Describes event configurations.
default CompletableFuture<DescribeIndexResponse> describeIndex(DescribeIndexRequest describeIndexRequest)
Describes a search index.
describeIndexRequest - default CompletableFuture<DescribeIndexResponse> describeIndex(Consumer<DescribeIndexRequest.Builder> describeIndexRequest)
Describes a search index.
This is a convenience which creates an instance of the DescribeIndexRequest.Builder avoiding the need to
create one manually via DescribeIndexRequest.builder()
describeIndexRequest - A Consumer that will call methods on DescribeIndexRequest.Builder to create a request.default CompletableFuture<DescribeJobResponse> describeJob(DescribeJobRequest describeJobRequest)
Describes a job.
describeJobRequest - default CompletableFuture<DescribeJobResponse> describeJob(Consumer<DescribeJobRequest.Builder> describeJobRequest)
Describes a job.
This is a convenience which creates an instance of the DescribeJobRequest.Builder avoiding the need to
create one manually via DescribeJobRequest.builder()
describeJobRequest - A Consumer that will call methods on DescribeJobRequest.Builder to create a request.default CompletableFuture<DescribeJobExecutionResponse> describeJobExecution(DescribeJobExecutionRequest describeJobExecutionRequest)
Describes a job execution.
describeJobExecutionRequest - default CompletableFuture<DescribeJobExecutionResponse> describeJobExecution(Consumer<DescribeJobExecutionRequest.Builder> describeJobExecutionRequest)
Describes a job execution.
This is a convenience which creates an instance of the DescribeJobExecutionRequest.Builder avoiding the
need to create one manually via DescribeJobExecutionRequest.builder()
describeJobExecutionRequest - A Consumer that will call methods on DescribeJobExecutionRequest.Builder to create a
request.default CompletableFuture<DescribeMitigationActionResponse> describeMitigationAction(DescribeMitigationActionRequest describeMitigationActionRequest)
Gets information about a mitigation action.
describeMitigationActionRequest - default CompletableFuture<DescribeMitigationActionResponse> describeMitigationAction(Consumer<DescribeMitigationActionRequest.Builder> describeMitigationActionRequest)
Gets information about a mitigation action.
This is a convenience which creates an instance of the DescribeMitigationActionRequest.Builder avoiding
the need to create one manually via DescribeMitigationActionRequest.builder()
describeMitigationActionRequest - A Consumer that will call methods on DescribeMitigationActionRequest.Builder to create a
request.default CompletableFuture<DescribeProvisioningTemplateResponse> describeProvisioningTemplate(DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest)
Returns information about a fleet provisioning template.
describeProvisioningTemplateRequest - default CompletableFuture<DescribeProvisioningTemplateResponse> describeProvisioningTemplate(Consumer<DescribeProvisioningTemplateRequest.Builder> describeProvisioningTemplateRequest)
Returns information about a fleet provisioning template.
This is a convenience which creates an instance of the DescribeProvisioningTemplateRequest.Builder
avoiding the need to create one manually via DescribeProvisioningTemplateRequest.builder()
describeProvisioningTemplateRequest - A Consumer that will call methods on DescribeProvisioningTemplateRequest.Builder to create
a request.default CompletableFuture<DescribeProvisioningTemplateVersionResponse> describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest)
Returns information about a fleet provisioning template version.
describeProvisioningTemplateVersionRequest - default CompletableFuture<DescribeProvisioningTemplateVersionResponse> describeProvisioningTemplateVersion(Consumer<DescribeProvisioningTemplateVersionRequest.Builder> describeProvisioningTemplateVersionRequest)
Returns information about a fleet provisioning template version.
This is a convenience which creates an instance of the DescribeProvisioningTemplateVersionRequest.Builder
avoiding the need to create one manually via DescribeProvisioningTemplateVersionRequest.builder()
describeProvisioningTemplateVersionRequest - A Consumer that will call methods on DescribeProvisioningTemplateVersionRequest.Builder to
create a request.default CompletableFuture<DescribeRoleAliasResponse> describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest)
Describes a role alias.
describeRoleAliasRequest - default CompletableFuture<DescribeRoleAliasResponse> describeRoleAlias(Consumer<DescribeRoleAliasRequest.Builder> describeRoleAliasRequest)
Describes a role alias.
This is a convenience which creates an instance of the DescribeRoleAliasRequest.Builder avoiding the need
to create one manually via DescribeRoleAliasRequest.builder()
describeRoleAliasRequest - A Consumer that will call methods on DescribeRoleAliasRequest.Builder to create a request.default CompletableFuture<DescribeScheduledAuditResponse> describeScheduledAudit(DescribeScheduledAuditRequest describeScheduledAuditRequest)
Gets information about a scheduled audit.
describeScheduledAuditRequest - default CompletableFuture<DescribeScheduledAuditResponse> describeScheduledAudit(Consumer<DescribeScheduledAuditRequest.Builder> describeScheduledAuditRequest)
Gets information about a scheduled audit.
This is a convenience which creates an instance of the DescribeScheduledAuditRequest.Builder avoiding the
need to create one manually via DescribeScheduledAuditRequest.builder()
describeScheduledAuditRequest - A Consumer that will call methods on DescribeScheduledAuditRequest.Builder to create a
request.default CompletableFuture<DescribeSecurityProfileResponse> describeSecurityProfile(DescribeSecurityProfileRequest describeSecurityProfileRequest)
Gets information about a Device Defender security profile.
describeSecurityProfileRequest - default CompletableFuture<DescribeSecurityProfileResponse> describeSecurityProfile(Consumer<DescribeSecurityProfileRequest.Builder> describeSecurityProfileRequest)
Gets information about a Device Defender security profile.
This is a convenience which creates an instance of the DescribeSecurityProfileRequest.Builder avoiding
the need to create one manually via DescribeSecurityProfileRequest.builder()
describeSecurityProfileRequest - A Consumer that will call methods on DescribeSecurityProfileRequest.Builder to create a
request.default CompletableFuture<DescribeStreamResponse> describeStream(DescribeStreamRequest describeStreamRequest)
Gets information about a stream.
describeStreamRequest - default CompletableFuture<DescribeStreamResponse> describeStream(Consumer<DescribeStreamRequest.Builder> describeStreamRequest)
Gets information about a stream.
This is a convenience which creates an instance of the DescribeStreamRequest.Builder avoiding the need to
create one manually via DescribeStreamRequest.builder()
describeStreamRequest - A Consumer that will call methods on DescribeStreamRequest.Builder to create a request.default CompletableFuture<DescribeThingResponse> describeThing(DescribeThingRequest describeThingRequest)
Gets information about the specified thing.
describeThingRequest - The input for the DescribeThing operation.default CompletableFuture<DescribeThingResponse> describeThing(Consumer<DescribeThingRequest.Builder> describeThingRequest)
Gets information about the specified thing.
This is a convenience which creates an instance of the DescribeThingRequest.Builder avoiding the need to
create one manually via DescribeThingRequest.builder()
describeThingRequest - A Consumer that will call methods on DescribeThingRequest.Builder to create a request. The
input for the DescribeThing operation.default CompletableFuture<DescribeThingGroupResponse> describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest)
Describe a thing group.
describeThingGroupRequest - default CompletableFuture<DescribeThingGroupResponse> describeThingGroup(Consumer<DescribeThingGroupRequest.Builder> describeThingGroupRequest)
Describe a thing group.
This is a convenience which creates an instance of the DescribeThingGroupRequest.Builder avoiding the
need to create one manually via DescribeThingGroupRequest.builder()
describeThingGroupRequest - A Consumer that will call methods on DescribeThingGroupRequest.Builder to create a
request.default CompletableFuture<DescribeThingRegistrationTaskResponse> describeThingRegistrationTask(DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest)
Describes a bulk thing provisioning task.
describeThingRegistrationTaskRequest - default CompletableFuture<DescribeThingRegistrationTaskResponse> describeThingRegistrationTask(Consumer<DescribeThingRegistrationTaskRequest.Builder> describeThingRegistrationTaskRequest)
Describes a bulk thing provisioning task.
This is a convenience which creates an instance of the DescribeThingRegistrationTaskRequest.Builder
avoiding the need to create one manually via DescribeThingRegistrationTaskRequest.builder()
describeThingRegistrationTaskRequest - A Consumer that will call methods on DescribeThingRegistrationTaskRequest.Builder to
create a request.default CompletableFuture<DescribeThingTypeResponse> describeThingType(DescribeThingTypeRequest describeThingTypeRequest)
Gets information about the specified thing type.
describeThingTypeRequest - The input for the DescribeThingType operation.default CompletableFuture<DescribeThingTypeResponse> describeThingType(Consumer<DescribeThingTypeRequest.Builder> describeThingTypeRequest)
Gets information about the specified thing type.
This is a convenience which creates an instance of the DescribeThingTypeRequest.Builder avoiding the need
to create one manually via DescribeThingTypeRequest.builder()
describeThingTypeRequest - A Consumer that will call methods on DescribeThingTypeRequest.Builder to create a request.
The input for the DescribeThingType operation.default CompletableFuture<DetachPolicyResponse> detachPolicy(DetachPolicyRequest detachPolicyRequest)
Detaches a policy from the specified target.
detachPolicyRequest - default CompletableFuture<DetachPolicyResponse> detachPolicy(Consumer<DetachPolicyRequest.Builder> detachPolicyRequest)
Detaches a policy from the specified target.
This is a convenience which creates an instance of the DetachPolicyRequest.Builder avoiding the need to
create one manually via DetachPolicyRequest.builder()
detachPolicyRequest - A Consumer that will call methods on DetachPolicyRequest.Builder to create a request.default CompletableFuture<DetachSecurityProfileResponse> detachSecurityProfile(DetachSecurityProfileRequest detachSecurityProfileRequest)
Disassociates a Device Defender security profile from a thing group or from this account.
detachSecurityProfileRequest - default CompletableFuture<DetachSecurityProfileResponse> detachSecurityProfile(Consumer<DetachSecurityProfileRequest.Builder> detachSecurityProfileRequest)
Disassociates a Device Defender security profile from a thing group or from this account.
This is a convenience which creates an instance of the DetachSecurityProfileRequest.Builder avoiding the
need to create one manually via DetachSecurityProfileRequest.builder()
detachSecurityProfileRequest - A Consumer that will call methods on DetachSecurityProfileRequest.Builder to create a
request.default CompletableFuture<DetachThingPrincipalResponse> detachThingPrincipal(DetachThingPrincipalRequest detachThingPrincipalRequest)
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.
detachThingPrincipalRequest - The input for the DetachThingPrincipal operation.default CompletableFuture<DetachThingPrincipalResponse> detachThingPrincipal(Consumer<DetachThingPrincipalRequest.Builder> detachThingPrincipalRequest)
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.
This is a convenience which creates an instance of the DetachThingPrincipalRequest.Builder avoiding the
need to create one manually via DetachThingPrincipalRequest.builder()
detachThingPrincipalRequest - A Consumer that will call methods on DetachThingPrincipalRequest.Builder to create a
request. The input for the DetachThingPrincipal operation.default CompletableFuture<DisableTopicRuleResponse> disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest)
Disables the rule.
disableTopicRuleRequest - The input for the DisableTopicRuleRequest operation.default CompletableFuture<DisableTopicRuleResponse> disableTopicRule(Consumer<DisableTopicRuleRequest.Builder> disableTopicRuleRequest)
Disables the rule.
This is a convenience which creates an instance of the DisableTopicRuleRequest.Builder avoiding the need
to create one manually via DisableTopicRuleRequest.builder()
disableTopicRuleRequest - A Consumer that will call methods on DisableTopicRuleRequest.Builder to create a request.
The input for the DisableTopicRuleRequest operation.default CompletableFuture<EnableTopicRuleResponse> enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest)
Enables the rule.
enableTopicRuleRequest - The input for the EnableTopicRuleRequest operation.default CompletableFuture<EnableTopicRuleResponse> enableTopicRule(Consumer<EnableTopicRuleRequest.Builder> enableTopicRuleRequest)
Enables the rule.
This is a convenience which creates an instance of the EnableTopicRuleRequest.Builder avoiding the need
to create one manually via EnableTopicRuleRequest.builder()
enableTopicRuleRequest - A Consumer that will call methods on EnableTopicRuleRequest.Builder to create a request.
The input for the EnableTopicRuleRequest operation.default CompletableFuture<GetBehaviorModelTrainingSummariesResponse> getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
getBehaviorModelTrainingSummariesRequest - default CompletableFuture<GetBehaviorModelTrainingSummariesResponse> getBehaviorModelTrainingSummaries(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
This is a convenience which creates an instance of the GetBehaviorModelTrainingSummariesRequest.Builder
avoiding the need to create one manually via GetBehaviorModelTrainingSummariesRequest.builder()
getBehaviorModelTrainingSummariesRequest - A Consumer that will call methods on GetBehaviorModelTrainingSummariesRequest.Builder to
create a request.default GetBehaviorModelTrainingSummariesPublisher getBehaviorModelTrainingSummariesPaginator(GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
This is a variant of
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation.
getBehaviorModelTrainingSummariesRequest - default GetBehaviorModelTrainingSummariesPublisher getBehaviorModelTrainingSummariesPaginator(Consumer<GetBehaviorModelTrainingSummariesRequest.Builder> getBehaviorModelTrainingSummariesRequest)
Returns a Device Defender's ML Detect Security Profile training model's status.
This is a variant of
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)
operation.
This is a convenience which creates an instance of the GetBehaviorModelTrainingSummariesRequest.Builder
avoiding the need to create one manually via GetBehaviorModelTrainingSummariesRequest.builder()
getBehaviorModelTrainingSummariesRequest - A Consumer that will call methods on GetBehaviorModelTrainingSummariesRequest.Builder to
create a request.default CompletableFuture<GetCardinalityResponse> getCardinality(GetCardinalityRequest getCardinalityRequest)
Returns the approximate count of unique values that match the query.
getCardinalityRequest - default CompletableFuture<GetCardinalityResponse> getCardinality(Consumer<GetCardinalityRequest.Builder> getCardinalityRequest)
Returns the approximate count of unique values that match the query.
This is a convenience which creates an instance of the GetCardinalityRequest.Builder avoiding the need to
create one manually via GetCardinalityRequest.builder()
getCardinalityRequest - A Consumer that will call methods on GetCardinalityRequest.Builder to create a request.default CompletableFuture<GetEffectivePoliciesResponse> getEffectivePolicies(GetEffectivePoliciesRequest getEffectivePoliciesRequest)
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.
getEffectivePoliciesRequest - default CompletableFuture<GetEffectivePoliciesResponse> getEffectivePolicies(Consumer<GetEffectivePoliciesRequest.Builder> getEffectivePoliciesRequest)
Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the AWS IoT device gateway.
This is a convenience which creates an instance of the GetEffectivePoliciesRequest.Builder avoiding the
need to create one manually via GetEffectivePoliciesRequest.builder()
getEffectivePoliciesRequest - A Consumer that will call methods on GetEffectivePoliciesRequest.Builder to create a
request.default CompletableFuture<GetIndexingConfigurationResponse> getIndexingConfiguration(GetIndexingConfigurationRequest getIndexingConfigurationRequest)
Gets the indexing configuration.
getIndexingConfigurationRequest - default CompletableFuture<GetIndexingConfigurationResponse> getIndexingConfiguration(Consumer<GetIndexingConfigurationRequest.Builder> getIndexingConfigurationRequest)
Gets the indexing configuration.
This is a convenience which creates an instance of the GetIndexingConfigurationRequest.Builder avoiding
the need to create one manually via GetIndexingConfigurationRequest.builder()
getIndexingConfigurationRequest - A Consumer that will call methods on GetIndexingConfigurationRequest.Builder to create a
request.default CompletableFuture<GetIndexingConfigurationResponse> getIndexingConfiguration()
Gets the indexing configuration.
default CompletableFuture<GetJobDocumentResponse> getJobDocument(GetJobDocumentRequest getJobDocumentRequest)
Gets a job document.
getJobDocumentRequest - default CompletableFuture<GetJobDocumentResponse> getJobDocument(Consumer<GetJobDocumentRequest.Builder> getJobDocumentRequest)
Gets a job document.
This is a convenience which creates an instance of the GetJobDocumentRequest.Builder avoiding the need to
create one manually via GetJobDocumentRequest.builder()
getJobDocumentRequest - A Consumer that will call methods on GetJobDocumentRequest.Builder to create a request.default CompletableFuture<GetLoggingOptionsResponse> getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest)
Gets the logging options.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
getLoggingOptionsRequest - The input for the GetLoggingOptions operation.default CompletableFuture<GetLoggingOptionsResponse> getLoggingOptions(Consumer<GetLoggingOptionsRequest.Builder> getLoggingOptionsRequest)
Gets the logging options.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
This is a convenience which creates an instance of the GetLoggingOptionsRequest.Builder avoiding the need
to create one manually via GetLoggingOptionsRequest.builder()
getLoggingOptionsRequest - A Consumer that will call methods on GetLoggingOptionsRequest.Builder to create a request.
The input for the GetLoggingOptions operation.default CompletableFuture<GetLoggingOptionsResponse> getLoggingOptions()
Gets the logging options.
NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead.
default CompletableFuture<GetOtaUpdateResponse> getOTAUpdate(GetOtaUpdateRequest getOtaUpdateRequest)
Gets an OTA update.
getOtaUpdateRequest - default CompletableFuture<GetOtaUpdateResponse> getOTAUpdate(Consumer<GetOtaUpdateRequest.Builder> getOtaUpdateRequest)
Gets an OTA update.
This is a convenience which creates an instance of the GetOtaUpdateRequest.Builder avoiding the need to
create one manually via GetOtaUpdateRequest.builder()
getOtaUpdateRequest - A Consumer that will call methods on GetOTAUpdateRequest.Builder to create a request.default CompletableFuture<GetPercentilesResponse> getPercentiles(GetPercentilesRequest getPercentilesRequest)
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.
getPercentilesRequest - default CompletableFuture<GetPercentilesResponse> getPercentiles(Consumer<GetPercentilesRequest.Builder> getPercentilesRequest)
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.
This is a convenience which creates an instance of the GetPercentilesRequest.Builder avoiding the need to
create one manually via GetPercentilesRequest.builder()
getPercentilesRequest - A Consumer that will call methods on GetPercentilesRequest.Builder to create a request.default CompletableFuture<GetPolicyResponse> getPolicy(GetPolicyRequest getPolicyRequest)
Gets information about the specified policy with the policy document of the default version.
getPolicyRequest - The input for the GetPolicy operation.default CompletableFuture<GetPolicyResponse> getPolicy(Consumer<GetPolicyRequest.Builder> getPolicyRequest)
Gets information about the specified policy with the policy document of the default version.
This is a convenience which creates an instance of the GetPolicyRequest.Builder avoiding the need to
create one manually via GetPolicyRequest.builder()
getPolicyRequest - A Consumer that will call methods on GetPolicyRequest.Builder to create a request. The
input for the GetPolicy operation.default CompletableFuture<GetPolicyVersionResponse> getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest)
Gets information about the specified policy version.
getPolicyVersionRequest - The input for the GetPolicyVersion operation.default CompletableFuture<GetPolicyVersionResponse> getPolicyVersion(Consumer<GetPolicyVersionRequest.Builder> getPolicyVersionRequest)
Gets information about the specified policy version.
This is a convenience which creates an instance of the GetPolicyVersionRequest.Builder avoiding the need
to create one manually via GetPolicyVersionRequest.builder()
getPolicyVersionRequest - A Consumer that will call methods on GetPolicyVersionRequest.Builder to create a request.
The input for the GetPolicyVersion operation.default CompletableFuture<GetRegistrationCodeResponse> getRegistrationCode(GetRegistrationCodeRequest getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
getRegistrationCodeRequest - The input to the GetRegistrationCode operation.default CompletableFuture<GetRegistrationCodeResponse> getRegistrationCode(Consumer<GetRegistrationCodeRequest.Builder> getRegistrationCodeRequest)
Gets a registration code used to register a CA certificate with AWS IoT.
This is a convenience which creates an instance of the GetRegistrationCodeRequest.Builder avoiding the
need to create one manually via GetRegistrationCodeRequest.builder()
getRegistrationCodeRequest - A Consumer that will call methods on GetRegistrationCodeRequest.Builder to create a
request. The input to the GetRegistrationCode operation.default CompletableFuture<GetRegistrationCodeResponse> getRegistrationCode()
Gets a registration code used to register a CA certificate with AWS IoT.
default CompletableFuture<GetStatisticsResponse> getStatistics(GetStatisticsRequest getStatisticsRequest)
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.
getStatisticsRequest - default CompletableFuture<GetStatisticsResponse> getStatistics(Consumer<GetStatisticsRequest.Builder> getStatisticsRequest)
Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the
specified aggregated field. If the aggregation field is of type String, only the count statistic is
returned.
This is a convenience which creates an instance of the GetStatisticsRequest.Builder avoiding the need to
create one manually via GetStatisticsRequest.builder()
getStatisticsRequest - A Consumer that will call methods on GetStatisticsRequest.Builder to create a request.default CompletableFuture<GetTopicRuleResponse> getTopicRule(GetTopicRuleRequest getTopicRuleRequest)
Gets information about the rule.
getTopicRuleRequest - The input for the GetTopicRule operation.default CompletableFuture<GetTopicRuleResponse> getTopicRule(Consumer<GetTopicRuleRequest.Builder> getTopicRuleRequest)
Gets information about the rule.
This is a convenience which creates an instance of the GetTopicRuleRequest.Builder avoiding the need to
create one manually via GetTopicRuleRequest.builder()
getTopicRuleRequest - A Consumer that will call methods on GetTopicRuleRequest.Builder to create a request. The
input for the GetTopicRule operation.default CompletableFuture<GetTopicRuleDestinationResponse> getTopicRuleDestination(GetTopicRuleDestinationRequest getTopicRuleDestinationRequest)
Gets information about a topic rule destination.
getTopicRuleDestinationRequest - default CompletableFuture<GetTopicRuleDestinationResponse> getTopicRuleDestination(Consumer<GetTopicRuleDestinationRequest.Builder> getTopicRuleDestinationRequest)
Gets information about a topic rule destination.
This is a convenience which creates an instance of the GetTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via GetTopicRuleDestinationRequest.builder()
getTopicRuleDestinationRequest - A Consumer that will call methods on GetTopicRuleDestinationRequest.Builder to create a
request.default CompletableFuture<GetV2LoggingOptionsResponse> getV2LoggingOptions(GetV2LoggingOptionsRequest getV2LoggingOptionsRequest)
Gets the fine grained logging options.
getV2LoggingOptionsRequest - default CompletableFuture<GetV2LoggingOptionsResponse> getV2LoggingOptions(Consumer<GetV2LoggingOptionsRequest.Builder> getV2LoggingOptionsRequest)
Gets the fine grained logging options.
This is a convenience which creates an instance of the GetV2LoggingOptionsRequest.Builder avoiding the
need to create one manually via GetV2LoggingOptionsRequest.builder()
getV2LoggingOptionsRequest - A Consumer that will call methods on GetV2LoggingOptionsRequest.Builder to create a
request.default CompletableFuture<ListActiveViolationsResponse> listActiveViolations(ListActiveViolationsRequest listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
listActiveViolationsRequest - default CompletableFuture<ListActiveViolationsResponse> listActiveViolations(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
This is a convenience which creates an instance of the ListActiveViolationsRequest.Builder avoiding the
need to create one manually via ListActiveViolationsRequest.builder()
listActiveViolationsRequest - A Consumer that will call methods on ListActiveViolationsRequest.Builder to create a
request.default CompletableFuture<ListActiveViolationsResponse> listActiveViolations()
Lists the active violations for a given Device Defender security profile.
default ListActiveViolationsPublisher listActiveViolationsPaginator()
Lists the active violations for a given Device Defender security profile.
This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListActiveViolationsPublisher listActiveViolationsPaginator(ListActiveViolationsRequest listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)
operation.
listActiveViolationsRequest - default ListActiveViolationsPublisher listActiveViolationsPaginator(Consumer<ListActiveViolationsRequest.Builder> listActiveViolationsRequest)
Lists the active violations for a given Device Defender security profile.
This is a variant of
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)
operation.
This is a convenience which creates an instance of the ListActiveViolationsRequest.Builder avoiding the
need to create one manually via ListActiveViolationsRequest.builder()
listActiveViolationsRequest - A Consumer that will call methods on ListActiveViolationsRequest.Builder to create a
request.default CompletableFuture<ListAttachedPoliciesResponse> listAttachedPolicies(ListAttachedPoliciesRequest listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
listAttachedPoliciesRequest - default CompletableFuture<ListAttachedPoliciesResponse> listAttachedPolicies(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
This is a convenience which creates an instance of the ListAttachedPoliciesRequest.Builder avoiding the
need to create one manually via ListAttachedPoliciesRequest.builder()
listAttachedPoliciesRequest - A Consumer that will call methods on ListAttachedPoliciesRequest.Builder to create a
request.default ListAttachedPoliciesPublisher listAttachedPoliciesPaginator(ListAttachedPoliciesRequest listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
This is a variant of
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)
operation.
listAttachedPoliciesRequest - default ListAttachedPoliciesPublisher listAttachedPoliciesPaginator(Consumer<ListAttachedPoliciesRequest.Builder> listAttachedPoliciesRequest)
Lists the policies attached to the specified thing group.
This is a variant of
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)
operation.
This is a convenience which creates an instance of the ListAttachedPoliciesRequest.Builder avoiding the
need to create one manually via ListAttachedPoliciesRequest.builder()
listAttachedPoliciesRequest - A Consumer that will call methods on ListAttachedPoliciesRequest.Builder to create a
request.default CompletableFuture<ListAuditFindingsResponse> listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest)
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.)
listAuditFindingsRequest - default CompletableFuture<ListAuditFindingsResponse> listAuditFindings(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest)
Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time period. (Findings are retained for 90 days.)
This is a convenience which creates an instance of the ListAuditFindingsRequest.Builder avoiding the need
to create one manually via ListAuditFindingsRequest.builder()
listAuditFindingsRequest - A Consumer that will call methods on ListAuditFindingsRequest.Builder to create a request.default ListAuditFindingsPublisher listAuditFindingsPaginator(ListAuditFindingsRequest listAuditFindingsRequest)
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.)
This is a variant of
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation.
listAuditFindingsRequest - default ListAuditFindingsPublisher listAuditFindingsPaginator(Consumer<ListAuditFindingsRequest.Builder> listAuditFindingsRequest)
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.)
This is a variant of
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest) operation.
This is a convenience which creates an instance of the ListAuditFindingsRequest.Builder avoiding the need
to create one manually via ListAuditFindingsRequest.builder()
listAuditFindingsRequest - A Consumer that will call methods on ListAuditFindingsRequest.Builder to create a request.default CompletableFuture<ListAuditMitigationActionsExecutionsResponse> listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
listAuditMitigationActionsExecutionsRequest - default CompletableFuture<ListAuditMitigationActionsExecutionsResponse> listAuditMitigationActionsExecutions(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
This is a convenience which creates an instance of the
ListAuditMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListAuditMitigationActionsExecutionsRequest.builder()
listAuditMitigationActionsExecutionsRequest - A Consumer that will call methods on ListAuditMitigationActionsExecutionsRequest.Builder
to create a request.default ListAuditMitigationActionsExecutionsPublisher listAuditMitigationActionsExecutionsPaginator(ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
This is a variant of
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation.
listAuditMitigationActionsExecutionsRequest - default ListAuditMitigationActionsExecutionsPublisher listAuditMitigationActionsExecutionsPaginator(Consumer<ListAuditMitigationActionsExecutionsRequest.Builder> listAuditMitigationActionsExecutionsRequest)
Gets the status of audit mitigation action tasks that were executed.
This is a variant of
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListAuditMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListAuditMitigationActionsExecutionsRequest.builder()
listAuditMitigationActionsExecutionsRequest - A Consumer that will call methods on ListAuditMitigationActionsExecutionsRequest.Builder
to create a request.default CompletableFuture<ListAuditMitigationActionsTasksResponse> listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
listAuditMitigationActionsTasksRequest - default CompletableFuture<ListAuditMitigationActionsTasksResponse> listAuditMitigationActionsTasks(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
This is a convenience which creates an instance of the ListAuditMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListAuditMitigationActionsTasksRequest.builder()
listAuditMitigationActionsTasksRequest - A Consumer that will call methods on ListAuditMitigationActionsTasksRequest.Builder to
create a request.default ListAuditMitigationActionsTasksPublisher listAuditMitigationActionsTasksPaginator(ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
This is a variant of
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation.
listAuditMitigationActionsTasksRequest - default ListAuditMitigationActionsTasksPublisher listAuditMitigationActionsTasksPaginator(Consumer<ListAuditMitigationActionsTasksRequest.Builder> listAuditMitigationActionsTasksRequest)
Gets a list of audit mitigation action tasks that match the specified filters.
This is a variant of
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)
operation.
This is a convenience which creates an instance of the ListAuditMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListAuditMitigationActionsTasksRequest.builder()
listAuditMitigationActionsTasksRequest - A Consumer that will call methods on ListAuditMitigationActionsTasksRequest.Builder to
create a request.default CompletableFuture<ListAuditSuppressionsResponse> listAuditSuppressions(ListAuditSuppressionsRequest listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
listAuditSuppressionsRequest - default CompletableFuture<ListAuditSuppressionsResponse> listAuditSuppressions(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
This is a convenience which creates an instance of the ListAuditSuppressionsRequest.Builder avoiding the
need to create one manually via ListAuditSuppressionsRequest.builder()
listAuditSuppressionsRequest - A Consumer that will call methods on ListAuditSuppressionsRequest.Builder to create a
request.default ListAuditSuppressionsPublisher listAuditSuppressionsPaginator(ListAuditSuppressionsRequest listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
This is a variant of
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)
operation.
listAuditSuppressionsRequest - default ListAuditSuppressionsPublisher listAuditSuppressionsPaginator(Consumer<ListAuditSuppressionsRequest.Builder> listAuditSuppressionsRequest)
Lists your Device Defender audit listings.
This is a variant of
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)
operation.
This is a convenience which creates an instance of the ListAuditSuppressionsRequest.Builder avoiding the
need to create one manually via ListAuditSuppressionsRequest.builder()
listAuditSuppressionsRequest - A Consumer that will call methods on ListAuditSuppressionsRequest.Builder to create a
request.default CompletableFuture<ListAuditTasksResponse> listAuditTasks(ListAuditTasksRequest listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
listAuditTasksRequest - default CompletableFuture<ListAuditTasksResponse> listAuditTasks(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
This is a convenience which creates an instance of the ListAuditTasksRequest.Builder avoiding the need to
create one manually via ListAuditTasksRequest.builder()
listAuditTasksRequest - A Consumer that will call methods on ListAuditTasksRequest.Builder to create a request.default ListAuditTasksPublisher listAuditTasksPaginator(ListAuditTasksRequest listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
This is a variant of listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest) operation.
listAuditTasksRequest - default ListAuditTasksPublisher listAuditTasksPaginator(Consumer<ListAuditTasksRequest.Builder> listAuditTasksRequest)
Lists the Device Defender audits that have been performed during a given time period.
This is a variant of listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuditTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuditTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest) operation.
This is a convenience which creates an instance of the ListAuditTasksRequest.Builder avoiding the need to
create one manually via ListAuditTasksRequest.builder()
listAuditTasksRequest - A Consumer that will call methods on ListAuditTasksRequest.Builder to create a request.default CompletableFuture<ListAuthorizersResponse> listAuthorizers(ListAuthorizersRequest listAuthorizersRequest)
Lists the authorizers registered in your account.
listAuthorizersRequest - default CompletableFuture<ListAuthorizersResponse> listAuthorizers(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest)
Lists the authorizers registered in your account.
This is a convenience which creates an instance of the ListAuthorizersRequest.Builder avoiding the need
to create one manually via ListAuthorizersRequest.builder()
listAuthorizersRequest - A Consumer that will call methods on ListAuthorizersRequest.Builder to create a request.default CompletableFuture<ListAuthorizersResponse> listAuthorizers()
Lists the authorizers registered in your account.
default ListAuthorizersPublisher listAuthorizersPaginator()
Lists the authorizers registered in your account.
This is a variant of listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuthorizersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListAuthorizersPublisher listAuthorizersPaginator(ListAuthorizersRequest listAuthorizersRequest)
Lists the authorizers registered in your account.
This is a variant of listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuthorizersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest) operation.
listAuthorizersRequest - default ListAuthorizersPublisher listAuthorizersPaginator(Consumer<ListAuthorizersRequest.Builder> listAuthorizersRequest)
Lists the authorizers registered in your account.
This is a variant of listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListAuthorizersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListAuthorizersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest) operation.
This is a convenience which creates an instance of the ListAuthorizersRequest.Builder avoiding the need
to create one manually via ListAuthorizersRequest.builder()
listAuthorizersRequest - A Consumer that will call methods on ListAuthorizersRequest.Builder to create a request.default CompletableFuture<ListBillingGroupsResponse> listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest)
Lists the billing groups you have created.
listBillingGroupsRequest - default CompletableFuture<ListBillingGroupsResponse> listBillingGroups(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest)
Lists the billing groups you have created.
This is a convenience which creates an instance of the ListBillingGroupsRequest.Builder avoiding the need
to create one manually via ListBillingGroupsRequest.builder()
listBillingGroupsRequest - A Consumer that will call methods on ListBillingGroupsRequest.Builder to create a request.default CompletableFuture<ListBillingGroupsResponse> listBillingGroups()
Lists the billing groups you have created.
default ListBillingGroupsPublisher listBillingGroupsPaginator()
Lists the billing groups you have created.
This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListBillingGroupsPublisher listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest)
Lists the billing groups you have created.
This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation.
listBillingGroupsRequest - default ListBillingGroupsPublisher listBillingGroupsPaginator(Consumer<ListBillingGroupsRequest.Builder> listBillingGroupsRequest)
Lists the billing groups you have created.
This is a variant of
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest) operation.
This is a convenience which creates an instance of the ListBillingGroupsRequest.Builder avoiding the need
to create one manually via ListBillingGroupsRequest.builder()
listBillingGroupsRequest - A Consumer that will call methods on ListBillingGroupsRequest.Builder to create a request.default CompletableFuture<ListCaCertificatesResponse> listCACertificates(ListCaCertificatesRequest listCaCertificatesRequest)
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCaCertificatesRequest - Input for the ListCACertificates operation.default CompletableFuture<ListCaCertificatesResponse> listCACertificates(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest)
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a convenience which creates an instance of the ListCaCertificatesRequest.Builder avoiding the
need to create one manually via ListCaCertificatesRequest.builder()
listCaCertificatesRequest - A Consumer that will call methods on ListCACertificatesRequest.Builder to create a
request. Input for the ListCACertificates operation.default CompletableFuture<ListCaCertificatesResponse> listCACertificates()
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
default ListCACertificatesPublisher listCACertificatesPaginator()
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListCACertificatesPublisher listCACertificatesPaginator(ListCaCertificatesRequest listCaCertificatesRequest)
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation.
listCaCertificatesRequest - Input for the ListCACertificates operation.default ListCACertificatesPublisher listCACertificatesPaginator(Consumer<ListCaCertificatesRequest.Builder> listCaCertificatesRequest)
Lists the CA certificates registered for your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a variant of
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest) operation.
This is a convenience which creates an instance of the ListCaCertificatesRequest.Builder avoiding the
need to create one manually via ListCaCertificatesRequest.builder()
listCaCertificatesRequest - A Consumer that will call methods on ListCACertificatesRequest.Builder to create a
request. Input for the ListCACertificates operation.default CompletableFuture<ListCertificatesResponse> listCertificates(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
listCertificatesRequest - The input for the ListCertificates operation.default CompletableFuture<ListCertificatesResponse> listCertificates(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need
to create one manually via ListCertificatesRequest.builder()
listCertificatesRequest - A Consumer that will call methods on ListCertificatesRequest.Builder to create a request.
The input for the ListCertificates operation.default CompletableFuture<ListCertificatesResponse> listCertificates()
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
default CompletableFuture<ListCertificatesByCaResponse> listCertificatesByCA(ListCertificatesByCaRequest listCertificatesByCaRequest)
List the device certificates signed by the specified CA certificate.
listCertificatesByCaRequest - The input to the ListCertificatesByCA operation.default CompletableFuture<ListCertificatesByCaResponse> listCertificatesByCA(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest)
List the device certificates signed by the specified CA certificate.
This is a convenience which creates an instance of the ListCertificatesByCaRequest.Builder avoiding the
need to create one manually via ListCertificatesByCaRequest.builder()
listCertificatesByCaRequest - A Consumer that will call methods on ListCertificatesByCARequest.Builder to create a
request. The input to the ListCertificatesByCA operation.default ListCertificatesByCAPublisher listCertificatesByCAPaginator(ListCertificatesByCaRequest listCertificatesByCaRequest)
List the device certificates signed by the specified CA certificate.
This is a variant of
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)
operation.
listCertificatesByCaRequest - The input to the ListCertificatesByCA operation.default ListCertificatesByCAPublisher listCertificatesByCAPaginator(Consumer<ListCertificatesByCaRequest.Builder> listCertificatesByCaRequest)
List the device certificates signed by the specified CA certificate.
This is a variant of
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)
operation.
This is a convenience which creates an instance of the ListCertificatesByCaRequest.Builder avoiding the
need to create one manually via ListCertificatesByCaRequest.builder()
listCertificatesByCaRequest - A Consumer that will call methods on ListCertificatesByCARequest.Builder to create a
request. The input to the ListCertificatesByCA operation.default ListCertificatesPublisher listCertificatesPaginator()
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a variant of listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListCertificatesPublisher listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest)
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a variant of listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest) operation.
listCertificatesRequest - The input for the ListCertificates operation.default ListCertificatesPublisher listCertificatesPaginator(Consumer<ListCertificatesRequest.Builder> listCertificatesRequest)
Lists the certificates registered in your AWS account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
This is a variant of listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest) operation.
This is a convenience which creates an instance of the ListCertificatesRequest.Builder avoiding the need
to create one manually via ListCertificatesRequest.builder()
listCertificatesRequest - A Consumer that will call methods on ListCertificatesRequest.Builder to create a request.
The input for the ListCertificates operation.default CompletableFuture<ListCustomMetricsResponse> listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
listCustomMetricsRequest - default CompletableFuture<ListCustomMetricsResponse> listCustomMetrics(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
This is a convenience which creates an instance of the ListCustomMetricsRequest.Builder avoiding the need
to create one manually via ListCustomMetricsRequest.builder()
listCustomMetricsRequest - A Consumer that will call methods on ListCustomMetricsRequest.Builder to create a request.default ListCustomMetricsPublisher listCustomMetricsPaginator(ListCustomMetricsRequest listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
This is a variant of
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation.
listCustomMetricsRequest - default ListCustomMetricsPublisher listCustomMetricsPaginator(Consumer<ListCustomMetricsRequest.Builder> listCustomMetricsRequest)
Lists your Device Defender detect custom metrics.
This is a variant of
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest) operation.
This is a convenience which creates an instance of the ListCustomMetricsRequest.Builder avoiding the need
to create one manually via ListCustomMetricsRequest.builder()
listCustomMetricsRequest - A Consumer that will call methods on ListCustomMetricsRequest.Builder to create a request.default CompletableFuture<ListDetectMitigationActionsExecutionsResponse> listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
listDetectMitigationActionsExecutionsRequest - default CompletableFuture<ListDetectMitigationActionsExecutionsResponse> listDetectMitigationActionsExecutions(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
This is a convenience which creates an instance of the
ListDetectMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListDetectMitigationActionsExecutionsRequest.builder()
listDetectMitigationActionsExecutionsRequest - A Consumer that will call methods on ListDetectMitigationActionsExecutionsRequest.Builder
to create a request.default ListDetectMitigationActionsExecutionsPublisher listDetectMitigationActionsExecutionsPaginator(ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
This is a variant of
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation.
listDetectMitigationActionsExecutionsRequest - default ListDetectMitigationActionsExecutionsPublisher listDetectMitigationActionsExecutionsPaginator(Consumer<ListDetectMitigationActionsExecutionsRequest.Builder> listDetectMitigationActionsExecutionsRequest)
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
This is a variant of
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListDetectMitigationActionsExecutionsRequest.Builder avoiding the need to create one manually via
ListDetectMitigationActionsExecutionsRequest.builder()
listDetectMitigationActionsExecutionsRequest - A Consumer that will call methods on ListDetectMitigationActionsExecutionsRequest.Builder
to create a request.default CompletableFuture<ListDetectMitigationActionsTasksResponse> listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
listDetectMitigationActionsTasksRequest - default CompletableFuture<ListDetectMitigationActionsTasksResponse> listDetectMitigationActionsTasks(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
This is a convenience which creates an instance of the ListDetectMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListDetectMitigationActionsTasksRequest.builder()
listDetectMitigationActionsTasksRequest - A Consumer that will call methods on ListDetectMitigationActionsTasksRequest.Builder to
create a request.default ListDetectMitigationActionsTasksPublisher listDetectMitigationActionsTasksPaginator(ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
This is a variant of
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation.
listDetectMitigationActionsTasksRequest - default ListDetectMitigationActionsTasksPublisher listDetectMitigationActionsTasksPaginator(Consumer<ListDetectMitigationActionsTasksRequest.Builder> listDetectMitigationActionsTasksRequest)
List of Device Defender ML Detect mitigation actions tasks.
This is a variant of
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)
operation.
This is a convenience which creates an instance of the ListDetectMitigationActionsTasksRequest.Builder
avoiding the need to create one manually via ListDetectMitigationActionsTasksRequest.builder()
listDetectMitigationActionsTasksRequest - A Consumer that will call methods on ListDetectMitigationActionsTasksRequest.Builder to
create a request.default CompletableFuture<ListDimensionsResponse> listDimensions(ListDimensionsRequest listDimensionsRequest)
List the set of dimensions that are defined for your AWS account.
listDimensionsRequest - default CompletableFuture<ListDimensionsResponse> listDimensions(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest)
List the set of dimensions that are defined for your AWS account.
This is a convenience which creates an instance of the ListDimensionsRequest.Builder avoiding the need to
create one manually via ListDimensionsRequest.builder()
listDimensionsRequest - A Consumer that will call methods on ListDimensionsRequest.Builder to create a request.default ListDimensionsPublisher listDimensionsPaginator(ListDimensionsRequest listDimensionsRequest)
List the set of dimensions that are defined for your AWS account.
This is a variant of listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDimensionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDimensionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest) operation.
listDimensionsRequest - default ListDimensionsPublisher listDimensionsPaginator(Consumer<ListDimensionsRequest.Builder> listDimensionsRequest)
List the set of dimensions that are defined for your AWS account.
This is a variant of listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDimensionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDimensionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest) operation.
This is a convenience which creates an instance of the ListDimensionsRequest.Builder avoiding the need to
create one manually via ListDimensionsRequest.builder()
listDimensionsRequest - A Consumer that will call methods on ListDimensionsRequest.Builder to create a request.default CompletableFuture<ListDomainConfigurationsResponse> listDomainConfigurations(ListDomainConfigurationsRequest listDomainConfigurationsRequest)
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
The domain configuration feature is in public preview and is subject to change.
listDomainConfigurationsRequest - default CompletableFuture<ListDomainConfigurationsResponse> listDomainConfigurations(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest)
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
The domain configuration feature is in public preview and is subject to change.
This is a convenience which creates an instance of the ListDomainConfigurationsRequest.Builder avoiding
the need to create one manually via ListDomainConfigurationsRequest.builder()
listDomainConfigurationsRequest - A Consumer that will call methods on ListDomainConfigurationsRequest.Builder to create a
request.default ListDomainConfigurationsPublisher listDomainConfigurationsPaginator(ListDomainConfigurationsRequest listDomainConfigurationsRequest)
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
The domain configuration feature is in public preview and is subject to change.
This is a variant of
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation.
listDomainConfigurationsRequest - default ListDomainConfigurationsPublisher listDomainConfigurationsPaginator(Consumer<ListDomainConfigurationsRequest.Builder> listDomainConfigurationsRequest)
Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration name.
The domain configuration feature is in public preview and is subject to change.
This is a variant of
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)
operation.
This is a convenience which creates an instance of the ListDomainConfigurationsRequest.Builder avoiding
the need to create one manually via ListDomainConfigurationsRequest.builder()
listDomainConfigurationsRequest - A Consumer that will call methods on ListDomainConfigurationsRequest.Builder to create a
request.default CompletableFuture<ListIndicesResponse> listIndices(ListIndicesRequest listIndicesRequest)
Lists the search indices.
listIndicesRequest - default CompletableFuture<ListIndicesResponse> listIndices(Consumer<ListIndicesRequest.Builder> listIndicesRequest)
Lists the search indices.
This is a convenience which creates an instance of the ListIndicesRequest.Builder avoiding the need to
create one manually via ListIndicesRequest.builder()
listIndicesRequest - A Consumer that will call methods on ListIndicesRequest.Builder to create a request.default CompletableFuture<ListIndicesResponse> listIndices()
Lists the search indices.
default ListIndicesPublisher listIndicesPaginator()
Lists the search indices.
This is a variant of listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListIndicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListIndicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListIndicesPublisher listIndicesPaginator(ListIndicesRequest listIndicesRequest)
Lists the search indices.
This is a variant of listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListIndicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListIndicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest) operation.
listIndicesRequest - default ListIndicesPublisher listIndicesPaginator(Consumer<ListIndicesRequest.Builder> listIndicesRequest)
Lists the search indices.
This is a variant of listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListIndicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListIndicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest) operation.
This is a convenience which creates an instance of the ListIndicesRequest.Builder avoiding the need to
create one manually via ListIndicesRequest.builder()
listIndicesRequest - A Consumer that will call methods on ListIndicesRequest.Builder to create a request.default CompletableFuture<ListJobExecutionsForJobResponse> listJobExecutionsForJob(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest)
Lists the job executions for a job.
listJobExecutionsForJobRequest - default CompletableFuture<ListJobExecutionsForJobResponse> listJobExecutionsForJob(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest)
Lists the job executions for a job.
This is a convenience which creates an instance of the ListJobExecutionsForJobRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForJobRequest.builder()
listJobExecutionsForJobRequest - A Consumer that will call methods on ListJobExecutionsForJobRequest.Builder to create a
request.default ListJobExecutionsForJobPublisher listJobExecutionsForJobPaginator(ListJobExecutionsForJobRequest listJobExecutionsForJobRequest)
Lists the job executions for a job.
This is a variant of
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation.
listJobExecutionsForJobRequest - default ListJobExecutionsForJobPublisher listJobExecutionsForJobPaginator(Consumer<ListJobExecutionsForJobRequest.Builder> listJobExecutionsForJobRequest)
Lists the job executions for a job.
This is a variant of
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)
operation.
This is a convenience which creates an instance of the ListJobExecutionsForJobRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForJobRequest.builder()
listJobExecutionsForJobRequest - A Consumer that will call methods on ListJobExecutionsForJobRequest.Builder to create a
request.default CompletableFuture<ListJobExecutionsForThingResponse> listJobExecutionsForThing(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
listJobExecutionsForThingRequest - default CompletableFuture<ListJobExecutionsForThingResponse> listJobExecutionsForThing(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
This is a convenience which creates an instance of the ListJobExecutionsForThingRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForThingRequest.builder()
listJobExecutionsForThingRequest - A Consumer that will call methods on ListJobExecutionsForThingRequest.Builder to create a
request.default ListJobExecutionsForThingPublisher listJobExecutionsForThingPaginator(ListJobExecutionsForThingRequest listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
This is a variant of
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation.
listJobExecutionsForThingRequest - default ListJobExecutionsForThingPublisher listJobExecutionsForThingPaginator(Consumer<ListJobExecutionsForThingRequest.Builder> listJobExecutionsForThingRequest)
Lists the job executions for the specified thing.
This is a variant of
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)
operation.
This is a convenience which creates an instance of the ListJobExecutionsForThingRequest.Builder avoiding
the need to create one manually via ListJobExecutionsForThingRequest.builder()
listJobExecutionsForThingRequest - A Consumer that will call methods on ListJobExecutionsForThingRequest.Builder to create a
request.default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)
Lists jobs.
listJobsRequest - default CompletableFuture<ListJobsResponse> listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
Lists jobs.
This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.default CompletableFuture<ListJobsResponse> listJobs()
Lists jobs.
default ListJobsPublisher listJobsPaginator()
Lists jobs.
This is a variant of listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest)
Lists jobs.
This is a variant of listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation.
listJobsRequest - default ListJobsPublisher listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)
Lists jobs.
This is a variant of listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest) operation.
This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request.default CompletableFuture<ListMitigationActionsResponse> listMitigationActions(ListMitigationActionsRequest listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
listMitigationActionsRequest - default CompletableFuture<ListMitigationActionsResponse> listMitigationActions(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
This is a convenience which creates an instance of the ListMitigationActionsRequest.Builder avoiding the
need to create one manually via ListMitigationActionsRequest.builder()
listMitigationActionsRequest - A Consumer that will call methods on ListMitigationActionsRequest.Builder to create a
request.default ListMitigationActionsPublisher listMitigationActionsPaginator(ListMitigationActionsRequest listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
This is a variant of
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)
operation.
listMitigationActionsRequest - default ListMitigationActionsPublisher listMitigationActionsPaginator(Consumer<ListMitigationActionsRequest.Builder> listMitigationActionsRequest)
Gets a list of all mitigation actions that match the specified filter criteria.
This is a variant of
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)
operation.
This is a convenience which creates an instance of the ListMitigationActionsRequest.Builder avoiding the
need to create one manually via ListMitigationActionsRequest.builder()
listMitigationActionsRequest - A Consumer that will call methods on ListMitigationActionsRequest.Builder to create a
request.default CompletableFuture<ListOtaUpdatesResponse> listOTAUpdates(ListOtaUpdatesRequest listOtaUpdatesRequest)
Lists OTA updates.
listOtaUpdatesRequest - default CompletableFuture<ListOtaUpdatesResponse> listOTAUpdates(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest)
Lists OTA updates.
This is a convenience which creates an instance of the ListOtaUpdatesRequest.Builder avoiding the need to
create one manually via ListOtaUpdatesRequest.builder()
listOtaUpdatesRequest - A Consumer that will call methods on ListOTAUpdatesRequest.Builder to create a request.default CompletableFuture<ListOtaUpdatesResponse> listOTAUpdates()
Lists OTA updates.
default ListOTAUpdatesPublisher listOTAUpdatesPaginator()
Lists OTA updates.
This is a variant of listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListOTAUpdatesPublisher listOTAUpdatesPaginator(ListOtaUpdatesRequest listOtaUpdatesRequest)
Lists OTA updates.
This is a variant of listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest) operation.
listOtaUpdatesRequest - default ListOTAUpdatesPublisher listOTAUpdatesPaginator(Consumer<ListOtaUpdatesRequest.Builder> listOtaUpdatesRequest)
Lists OTA updates.
This is a variant of listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest) operation.
This is a convenience which creates an instance of the ListOtaUpdatesRequest.Builder avoiding the need to
create one manually via ListOtaUpdatesRequest.builder()
listOtaUpdatesRequest - A Consumer that will call methods on ListOTAUpdatesRequest.Builder to create a request.default CompletableFuture<ListOutgoingCertificatesResponse> listOutgoingCertificates(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
listOutgoingCertificatesRequest - The input to the ListOutgoingCertificates operation.default CompletableFuture<ListOutgoingCertificatesResponse> listOutgoingCertificates(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
This is a convenience which creates an instance of the ListOutgoingCertificatesRequest.Builder avoiding
the need to create one manually via ListOutgoingCertificatesRequest.builder()
listOutgoingCertificatesRequest - A Consumer that will call methods on ListOutgoingCertificatesRequest.Builder to create a
request. The input to the ListOutgoingCertificates operation.default CompletableFuture<ListOutgoingCertificatesResponse> listOutgoingCertificates()
Lists certificates that are being transferred but not yet accepted.
default ListOutgoingCertificatesPublisher listOutgoingCertificatesPaginator()
Lists certificates that are being transferred but not yet accepted.
This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListOutgoingCertificatesPublisher listOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation.
listOutgoingCertificatesRequest - The input to the ListOutgoingCertificates operation.default ListOutgoingCertificatesPublisher listOutgoingCertificatesPaginator(Consumer<ListOutgoingCertificatesRequest.Builder> listOutgoingCertificatesRequest)
Lists certificates that are being transferred but not yet accepted.
This is a variant of
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)
operation.
This is a convenience which creates an instance of the ListOutgoingCertificatesRequest.Builder avoiding
the need to create one manually via ListOutgoingCertificatesRequest.builder()
listOutgoingCertificatesRequest - A Consumer that will call methods on ListOutgoingCertificatesRequest.Builder to create a
request. The input to the ListOutgoingCertificates operation.default CompletableFuture<ListPoliciesResponse> listPolicies(ListPoliciesRequest listPoliciesRequest)
Lists your policies.
listPoliciesRequest - The input for the ListPolicies operation.default CompletableFuture<ListPoliciesResponse> listPolicies(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Lists your policies.
This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to
create one manually via ListPoliciesRequest.builder()
listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request. The
input for the ListPolicies operation.default CompletableFuture<ListPoliciesResponse> listPolicies()
Lists your policies.
default ListPoliciesPublisher listPoliciesPaginator()
Lists your policies.
This is a variant of listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListPoliciesPublisher listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest)
Lists your policies.
This is a variant of listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest) operation.
listPoliciesRequest - The input for the ListPolicies operation.default ListPoliciesPublisher listPoliciesPaginator(Consumer<ListPoliciesRequest.Builder> listPoliciesRequest)
Lists your policies.
This is a variant of listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListPoliciesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListPoliciesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest) operation.
This is a convenience which creates an instance of the ListPoliciesRequest.Builder avoiding the need to
create one manually via ListPoliciesRequest.builder()
listPoliciesRequest - A Consumer that will call methods on ListPoliciesRequest.Builder to create a request. The
input for the ListPolicies operation.default CompletableFuture<ListPolicyVersionsResponse> listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default version.
listPolicyVersionsRequest - The input for the ListPolicyVersions operation.default CompletableFuture<ListPolicyVersionsResponse> listPolicyVersions(Consumer<ListPolicyVersionsRequest.Builder> listPolicyVersionsRequest)
Lists the versions of the specified policy and identifies the default version.
This is a convenience which creates an instance of the ListPolicyVersionsRequest.Builder avoiding the
need to create one manually via ListPolicyVersionsRequest.builder()
listPolicyVersionsRequest - A Consumer that will call methods on ListPolicyVersionsRequest.Builder to create a
request. The input for the ListPolicyVersions operation.default CompletableFuture<ListPrincipalThingsResponse> listPrincipalThings(ListPrincipalThingsRequest listPrincipalThingsRequest)
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.
listPrincipalThingsRequest - The input for the ListPrincipalThings operation.default CompletableFuture<ListPrincipalThingsResponse> listPrincipalThings(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest)
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.
This is a convenience which creates an instance of the ListPrincipalThingsRequest.Builder avoiding the
need to create one manually via ListPrincipalThingsRequest.builder()
listPrincipalThingsRequest - A Consumer that will call methods on ListPrincipalThingsRequest.Builder to create a
request. The input for the ListPrincipalThings operation.default ListPrincipalThingsPublisher listPrincipalThingsPaginator(ListPrincipalThingsRequest listPrincipalThingsRequest)
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.
This is a variant of
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation.
listPrincipalThingsRequest - The input for the ListPrincipalThings operation.default ListPrincipalThingsPublisher listPrincipalThingsPaginator(Consumer<ListPrincipalThingsRequest.Builder> listPrincipalThingsRequest)
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.
This is a variant of
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest) operation.
This is a convenience which creates an instance of the ListPrincipalThingsRequest.Builder avoiding the
need to create one manually via ListPrincipalThingsRequest.builder()
listPrincipalThingsRequest - A Consumer that will call methods on ListPrincipalThingsRequest.Builder to create a
request. The input for the ListPrincipalThings operation.default CompletableFuture<ListProvisioningTemplateVersionsResponse> listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
listProvisioningTemplateVersionsRequest - default CompletableFuture<ListProvisioningTemplateVersionsResponse> listProvisioningTemplateVersions(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
This is a convenience which creates an instance of the ListProvisioningTemplateVersionsRequest.Builder
avoiding the need to create one manually via ListProvisioningTemplateVersionsRequest.builder()
listProvisioningTemplateVersionsRequest - A Consumer that will call methods on ListProvisioningTemplateVersionsRequest.Builder to
create a request.default ListProvisioningTemplateVersionsPublisher listProvisioningTemplateVersionsPaginator(ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
This is a variant of
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation.
listProvisioningTemplateVersionsRequest - default ListProvisioningTemplateVersionsPublisher listProvisioningTemplateVersionsPaginator(Consumer<ListProvisioningTemplateVersionsRequest.Builder> listProvisioningTemplateVersionsRequest)
A list of fleet provisioning template versions.
This is a variant of
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)
operation.
This is a convenience which creates an instance of the ListProvisioningTemplateVersionsRequest.Builder
avoiding the need to create one manually via ListProvisioningTemplateVersionsRequest.builder()
listProvisioningTemplateVersionsRequest - A Consumer that will call methods on ListProvisioningTemplateVersionsRequest.Builder to
create a request.default CompletableFuture<ListProvisioningTemplatesResponse> listProvisioningTemplates(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your AWS account.
listProvisioningTemplatesRequest - default CompletableFuture<ListProvisioningTemplatesResponse> listProvisioningTemplates(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your AWS account.
This is a convenience which creates an instance of the ListProvisioningTemplatesRequest.Builder avoiding
the need to create one manually via ListProvisioningTemplatesRequest.builder()
listProvisioningTemplatesRequest - A Consumer that will call methods on ListProvisioningTemplatesRequest.Builder to create a
request.default ListProvisioningTemplatesPublisher listProvisioningTemplatesPaginator(ListProvisioningTemplatesRequest listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your AWS account.
This is a variant of
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation.
listProvisioningTemplatesRequest - default ListProvisioningTemplatesPublisher listProvisioningTemplatesPaginator(Consumer<ListProvisioningTemplatesRequest.Builder> listProvisioningTemplatesRequest)
Lists the fleet provisioning templates in your AWS account.
This is a variant of
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListProvisioningTemplatesRequest.Builder avoiding
the need to create one manually via ListProvisioningTemplatesRequest.builder()
listProvisioningTemplatesRequest - A Consumer that will call methods on ListProvisioningTemplatesRequest.Builder to create a
request.default CompletableFuture<ListRoleAliasesResponse> listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest)
Lists the role aliases registered in your account.
listRoleAliasesRequest - default CompletableFuture<ListRoleAliasesResponse> listRoleAliases(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest)
Lists the role aliases registered in your account.
This is a convenience which creates an instance of the ListRoleAliasesRequest.Builder avoiding the need
to create one manually via ListRoleAliasesRequest.builder()
listRoleAliasesRequest - A Consumer that will call methods on ListRoleAliasesRequest.Builder to create a request.default CompletableFuture<ListRoleAliasesResponse> listRoleAliases()
Lists the role aliases registered in your account.
default ListRoleAliasesPublisher listRoleAliasesPaginator()
Lists the role aliases registered in your account.
This is a variant of listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListRoleAliasesPublisher listRoleAliasesPaginator(ListRoleAliasesRequest listRoleAliasesRequest)
Lists the role aliases registered in your account.
This is a variant of listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest) operation.
listRoleAliasesRequest - default ListRoleAliasesPublisher listRoleAliasesPaginator(Consumer<ListRoleAliasesRequest.Builder> listRoleAliasesRequest)
Lists the role aliases registered in your account.
This is a variant of listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest) operation.
This is a convenience which creates an instance of the ListRoleAliasesRequest.Builder avoiding the need
to create one manually via ListRoleAliasesRequest.builder()
listRoleAliasesRequest - A Consumer that will call methods on ListRoleAliasesRequest.Builder to create a request.default CompletableFuture<ListScheduledAuditsResponse> listScheduledAudits(ListScheduledAuditsRequest listScheduledAuditsRequest)
Lists all of your scheduled audits.
listScheduledAuditsRequest - default CompletableFuture<ListScheduledAuditsResponse> listScheduledAudits(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest)
Lists all of your scheduled audits.
This is a convenience which creates an instance of the ListScheduledAuditsRequest.Builder avoiding the
need to create one manually via ListScheduledAuditsRequest.builder()
listScheduledAuditsRequest - A Consumer that will call methods on ListScheduledAuditsRequest.Builder to create a
request.default CompletableFuture<ListScheduledAuditsResponse> listScheduledAudits()
Lists all of your scheduled audits.
default ListScheduledAuditsPublisher listScheduledAuditsPaginator()
Lists all of your scheduled audits.
This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListScheduledAuditsPublisher listScheduledAuditsPaginator(ListScheduledAuditsRequest listScheduledAuditsRequest)
Lists all of your scheduled audits.
This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation.
listScheduledAuditsRequest - default ListScheduledAuditsPublisher listScheduledAuditsPaginator(Consumer<ListScheduledAuditsRequest.Builder> listScheduledAuditsRequest)
Lists all of your scheduled audits.
This is a variant of
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest) operation.
This is a convenience which creates an instance of the ListScheduledAuditsRequest.Builder avoiding the
need to create one manually via ListScheduledAuditsRequest.builder()
listScheduledAuditsRequest - A Consumer that will call methods on ListScheduledAuditsRequest.Builder to create a
request.default CompletableFuture<ListSecurityProfilesResponse> listSecurityProfiles(ListSecurityProfilesRequest listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName and metricName cannot be used in the same request.
listSecurityProfilesRequest - default CompletableFuture<ListSecurityProfilesResponse> listSecurityProfiles(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName and metricName cannot be used in the same request.
This is a convenience which creates an instance of the ListSecurityProfilesRequest.Builder avoiding the
need to create one manually via ListSecurityProfilesRequest.builder()
listSecurityProfilesRequest - A Consumer that will call methods on ListSecurityProfilesRequest.Builder to create a
request.default CompletableFuture<ListSecurityProfilesResponse> listSecurityProfiles()
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName and metricName cannot be used in the same request.
default CompletableFuture<ListSecurityProfilesForTargetResponse> listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
listSecurityProfilesForTargetRequest - default CompletableFuture<ListSecurityProfilesForTargetResponse> listSecurityProfilesForTarget(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
This is a convenience which creates an instance of the ListSecurityProfilesForTargetRequest.Builder
avoiding the need to create one manually via ListSecurityProfilesForTargetRequest.builder()
listSecurityProfilesForTargetRequest - A Consumer that will call methods on ListSecurityProfilesForTargetRequest.Builder to
create a request.default ListSecurityProfilesForTargetPublisher listSecurityProfilesForTargetPaginator(ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
This is a variant of
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation.
listSecurityProfilesForTargetRequest - default ListSecurityProfilesForTargetPublisher listSecurityProfilesForTargetPaginator(Consumer<ListSecurityProfilesForTargetRequest.Builder> listSecurityProfilesForTargetRequest)
Lists the Device Defender security profiles attached to a target (thing group).
This is a variant of
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)
operation.
This is a convenience which creates an instance of the ListSecurityProfilesForTargetRequest.Builder
avoiding the need to create one manually via ListSecurityProfilesForTargetRequest.builder()
listSecurityProfilesForTargetRequest - A Consumer that will call methods on ListSecurityProfilesForTargetRequest.Builder to
create a request.default ListSecurityProfilesPublisher listSecurityProfilesPaginator()
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName and metricName cannot be used in the same request.
This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListSecurityProfilesPublisher listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName and metricName cannot be used in the same request.
This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)
operation.
listSecurityProfilesRequest - default ListSecurityProfilesPublisher listSecurityProfilesPaginator(Consumer<ListSecurityProfilesRequest.Builder> listSecurityProfilesRequest)
Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
dimensionName and metricName cannot be used in the same request.
This is a variant of
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)
operation.
This is a convenience which creates an instance of the ListSecurityProfilesRequest.Builder avoiding the
need to create one manually via ListSecurityProfilesRequest.builder()
listSecurityProfilesRequest - A Consumer that will call methods on ListSecurityProfilesRequest.Builder to create a
request.default CompletableFuture<ListStreamsResponse> listStreams(ListStreamsRequest listStreamsRequest)
Lists all of the streams in your AWS account.
listStreamsRequest - default CompletableFuture<ListStreamsResponse> listStreams(Consumer<ListStreamsRequest.Builder> listStreamsRequest)
Lists all of the streams in your AWS account.
This is a convenience which creates an instance of the ListStreamsRequest.Builder avoiding the need to
create one manually via ListStreamsRequest.builder()
listStreamsRequest - A Consumer that will call methods on ListStreamsRequest.Builder to create a request.default CompletableFuture<ListStreamsResponse> listStreams()
Lists all of the streams in your AWS account.
default ListStreamsPublisher listStreamsPaginator()
Lists all of the streams in your AWS account.
This is a variant of listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListStreamsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListStreamsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListStreamsPublisher listStreamsPaginator(ListStreamsRequest listStreamsRequest)
Lists all of the streams in your AWS account.
This is a variant of listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListStreamsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListStreamsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest) operation.
listStreamsRequest - default ListStreamsPublisher listStreamsPaginator(Consumer<ListStreamsRequest.Builder> listStreamsRequest)
Lists all of the streams in your AWS account.
This is a variant of listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListStreamsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListStreamsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest) operation.
This is a convenience which creates an instance of the ListStreamsRequest.Builder avoiding the need to
create one manually via ListStreamsRequest.builder()
listStreamsRequest - A Consumer that will call methods on ListStreamsRequest.Builder to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
listTagsForResourceRequest - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation.
listTagsForResourceRequest - default ListTagsForResourcePublisher listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest) operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.default CompletableFuture<ListTargetsForPolicyResponse> listTargetsForPolicy(ListTargetsForPolicyRequest listTargetsForPolicyRequest)
List targets for the specified policy.
listTargetsForPolicyRequest - default CompletableFuture<ListTargetsForPolicyResponse> listTargetsForPolicy(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest)
List targets for the specified policy.
This is a convenience which creates an instance of the ListTargetsForPolicyRequest.Builder avoiding the
need to create one manually via ListTargetsForPolicyRequest.builder()
listTargetsForPolicyRequest - A Consumer that will call methods on ListTargetsForPolicyRequest.Builder to create a
request.default ListTargetsForPolicyPublisher listTargetsForPolicyPaginator(ListTargetsForPolicyRequest listTargetsForPolicyRequest)
List targets for the specified policy.
This is a variant of
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)
operation.
listTargetsForPolicyRequest - default ListTargetsForPolicyPublisher listTargetsForPolicyPaginator(Consumer<ListTargetsForPolicyRequest.Builder> listTargetsForPolicyRequest)
List targets for the specified policy.
This is a variant of
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of pageSize won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)
operation.
This is a convenience which creates an instance of the ListTargetsForPolicyRequest.Builder avoiding the
need to create one manually via ListTargetsForPolicyRequest.builder()
listTargetsForPolicyRequest - A Consumer that will call methods on ListTargetsForPolicyRequest.Builder to create a
request.default CompletableFuture<ListTargetsForSecurityProfileResponse> listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
listTargetsForSecurityProfileRequest - default CompletableFuture<ListTargetsForSecurityProfileResponse> listTargetsForSecurityProfile(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
This is a convenience which creates an instance of the ListTargetsForSecurityProfileRequest.Builder
avoiding the need to create one manually via ListTargetsForSecurityProfileRequest.builder()
listTargetsForSecurityProfileRequest - A Consumer that will call methods on ListTargetsForSecurityProfileRequest.Builder to
create a request.default ListTargetsForSecurityProfilePublisher listTargetsForSecurityProfilePaginator(ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
This is a variant of
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation.
listTargetsForSecurityProfileRequest - default ListTargetsForSecurityProfilePublisher listTargetsForSecurityProfilePaginator(Consumer<ListTargetsForSecurityProfileRequest.Builder> listTargetsForSecurityProfileRequest)
Lists the targets (thing groups) associated with a given Device Defender security profile.
This is a variant of
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)
operation.
This is a convenience which creates an instance of the ListTargetsForSecurityProfileRequest.Builder
avoiding the need to create one manually via ListTargetsForSecurityProfileRequest.builder()
listTargetsForSecurityProfileRequest - A Consumer that will call methods on ListTargetsForSecurityProfileRequest.Builder to
create a request.default CompletableFuture<ListThingGroupsResponse> listThingGroups(ListThingGroupsRequest listThingGroupsRequest)
List the thing groups in your account.
listThingGroupsRequest - default CompletableFuture<ListThingGroupsResponse> listThingGroups(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest)
List the thing groups in your account.
This is a convenience which creates an instance of the ListThingGroupsRequest.Builder avoiding the need
to create one manually via ListThingGroupsRequest.builder()
listThingGroupsRequest - A Consumer that will call methods on ListThingGroupsRequest.Builder to create a request.default CompletableFuture<ListThingGroupsResponse> listThingGroups()
List the thing groups in your account.
default CompletableFuture<ListThingGroupsForThingResponse> listThingGroupsForThing(ListThingGroupsForThingRequest listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
listThingGroupsForThingRequest - default CompletableFuture<ListThingGroupsForThingResponse> listThingGroupsForThing(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
This is a convenience which creates an instance of the ListThingGroupsForThingRequest.Builder avoiding
the need to create one manually via ListThingGroupsForThingRequest.builder()
listThingGroupsForThingRequest - A Consumer that will call methods on ListThingGroupsForThingRequest.Builder to create a
request.default ListThingGroupsForThingPublisher listThingGroupsForThingPaginator(ListThingGroupsForThingRequest listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
This is a variant of
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation.
listThingGroupsForThingRequest - default ListThingGroupsForThingPublisher listThingGroupsForThingPaginator(Consumer<ListThingGroupsForThingRequest.Builder> listThingGroupsForThingRequest)
List the thing groups to which the specified thing belongs.
This is a variant of
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)
operation.
This is a convenience which creates an instance of the ListThingGroupsForThingRequest.Builder avoiding
the need to create one manually via ListThingGroupsForThingRequest.builder()
listThingGroupsForThingRequest - A Consumer that will call methods on ListThingGroupsForThingRequest.Builder to create a
request.default ListThingGroupsPublisher listThingGroupsPaginator()
List the thing groups in your account.
This is a variant of listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListThingGroupsPublisher listThingGroupsPaginator(ListThingGroupsRequest listThingGroupsRequest)
List the thing groups in your account.
This is a variant of listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest) operation.
listThingGroupsRequest - default ListThingGroupsPublisher listThingGroupsPaginator(Consumer<ListThingGroupsRequest.Builder> listThingGroupsRequest)
List the thing groups in your account.
This is a variant of listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingGroupsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingGroupsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest) operation.
This is a convenience which creates an instance of the ListThingGroupsRequest.Builder avoiding the need
to create one manually via ListThingGroupsRequest.builder()
listThingGroupsRequest - A Consumer that will call methods on ListThingGroupsRequest.Builder to create a request.default CompletableFuture<ListThingPrincipalsResponse> listThingPrincipals(ListThingPrincipalsRequest listThingPrincipalsRequest)
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.
listThingPrincipalsRequest - The input for the ListThingPrincipal operation.default CompletableFuture<ListThingPrincipalsResponse> listThingPrincipals(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest)
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.
This is a convenience which creates an instance of the ListThingPrincipalsRequest.Builder avoiding the
need to create one manually via ListThingPrincipalsRequest.builder()
listThingPrincipalsRequest - A Consumer that will call methods on ListThingPrincipalsRequest.Builder to create a
request. The input for the ListThingPrincipal operation.default ListThingPrincipalsPublisher listThingPrincipalsPaginator(ListThingPrincipalsRequest listThingPrincipalsRequest)
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.
This is a variant of
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation.
listThingPrincipalsRequest - The input for the ListThingPrincipal operation.default ListThingPrincipalsPublisher listThingPrincipalsPaginator(Consumer<ListThingPrincipalsRequest.Builder> listThingPrincipalsRequest)
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.
This is a variant of
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest) operation.
This is a convenience which creates an instance of the ListThingPrincipalsRequest.Builder avoiding the
need to create one manually via ListThingPrincipalsRequest.builder()
listThingPrincipalsRequest - A Consumer that will call methods on ListThingPrincipalsRequest.Builder to create a
request. The input for the ListThingPrincipal operation.default CompletableFuture<ListThingRegistrationTaskReportsResponse> listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
listThingRegistrationTaskReportsRequest - default CompletableFuture<ListThingRegistrationTaskReportsResponse> listThingRegistrationTaskReports(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
This is a convenience which creates an instance of the ListThingRegistrationTaskReportsRequest.Builder
avoiding the need to create one manually via ListThingRegistrationTaskReportsRequest.builder()
listThingRegistrationTaskReportsRequest - A Consumer that will call methods on ListThingRegistrationTaskReportsRequest.Builder to
create a request.default ListThingRegistrationTaskReportsPublisher listThingRegistrationTaskReportsPaginator(ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
This is a variant of
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation.
listThingRegistrationTaskReportsRequest - default ListThingRegistrationTaskReportsPublisher listThingRegistrationTaskReportsPaginator(Consumer<ListThingRegistrationTaskReportsRequest.Builder> listThingRegistrationTaskReportsRequest)
Information about the thing registration tasks.
This is a variant of
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)
operation.
This is a convenience which creates an instance of the ListThingRegistrationTaskReportsRequest.Builder
avoiding the need to create one manually via ListThingRegistrationTaskReportsRequest.builder()
listThingRegistrationTaskReportsRequest - A Consumer that will call methods on ListThingRegistrationTaskReportsRequest.Builder to
create a request.default CompletableFuture<ListThingRegistrationTasksResponse> listThingRegistrationTasks(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
listThingRegistrationTasksRequest - default CompletableFuture<ListThingRegistrationTasksResponse> listThingRegistrationTasks(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
This is a convenience which creates an instance of the ListThingRegistrationTasksRequest.Builder avoiding
the need to create one manually via ListThingRegistrationTasksRequest.builder()
listThingRegistrationTasksRequest - A Consumer that will call methods on ListThingRegistrationTasksRequest.Builder to create a
request.default CompletableFuture<ListThingRegistrationTasksResponse> listThingRegistrationTasks()
List bulk thing provisioning tasks.
default ListThingRegistrationTasksPublisher listThingRegistrationTasksPaginator()
List bulk thing provisioning tasks.
This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListThingRegistrationTasksPublisher listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation.
listThingRegistrationTasksRequest - default ListThingRegistrationTasksPublisher listThingRegistrationTasksPaginator(Consumer<ListThingRegistrationTasksRequest.Builder> listThingRegistrationTasksRequest)
List bulk thing provisioning tasks.
This is a variant of
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)
operation.
This is a convenience which creates an instance of the ListThingRegistrationTasksRequest.Builder avoiding
the need to create one manually via ListThingRegistrationTasksRequest.builder()
listThingRegistrationTasksRequest - A Consumer that will call methods on ListThingRegistrationTasksRequest.Builder to create a
request.default CompletableFuture<ListThingTypesResponse> listThingTypes(ListThingTypesRequest listThingTypesRequest)
Lists the existing thing types.
listThingTypesRequest - The input for the ListThingTypes operation.default CompletableFuture<ListThingTypesResponse> listThingTypes(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest)
Lists the existing thing types.
This is a convenience which creates an instance of the ListThingTypesRequest.Builder avoiding the need to
create one manually via ListThingTypesRequest.builder()
listThingTypesRequest - A Consumer that will call methods on ListThingTypesRequest.Builder to create a request.
The input for the ListThingTypes operation.default CompletableFuture<ListThingTypesResponse> listThingTypes()
Lists the existing thing types.
default ListThingTypesPublisher listThingTypesPaginator()
Lists the existing thing types.
This is a variant of listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingTypesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListThingTypesPublisher listThingTypesPaginator(ListThingTypesRequest listThingTypesRequest)
Lists the existing thing types.
This is a variant of listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingTypesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest) operation.
listThingTypesRequest - The input for the ListThingTypes operation.default ListThingTypesPublisher listThingTypesPaginator(Consumer<ListThingTypesRequest.Builder> listThingTypesRequest)
Lists the existing thing types.
This is a variant of listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingTypesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingTypesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest) operation.
This is a convenience which creates an instance of the ListThingTypesRequest.Builder avoiding the need to
create one manually via ListThingTypesRequest.builder()
listThingTypesRequest - A Consumer that will call methods on ListThingTypesRequest.Builder to create a request.
The input for the ListThingTypes operation.default CompletableFuture<ListThingsResponse> listThings(ListThingsRequest listThingsRequest)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
listThingsRequest - The input for the ListThings operation.default CompletableFuture<ListThingsResponse> listThings(Consumer<ListThingsRequest.Builder> listThingsRequest)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a convenience which creates an instance of the ListThingsRequest.Builder avoiding the need to
create one manually via ListThingsRequest.builder()
listThingsRequest - A Consumer that will call methods on ListThingsRequest.Builder to create a request. The
input for the ListThings operation.default CompletableFuture<ListThingsResponse> listThings()
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
default CompletableFuture<ListThingsInBillingGroupResponse> listThingsInBillingGroup(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
listThingsInBillingGroupRequest - default CompletableFuture<ListThingsInBillingGroupResponse> listThingsInBillingGroup(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
This is a convenience which creates an instance of the ListThingsInBillingGroupRequest.Builder avoiding
the need to create one manually via ListThingsInBillingGroupRequest.builder()
listThingsInBillingGroupRequest - A Consumer that will call methods on ListThingsInBillingGroupRequest.Builder to create a
request.default ListThingsInBillingGroupPublisher listThingsInBillingGroupPaginator(ListThingsInBillingGroupRequest listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
This is a variant of
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation.
listThingsInBillingGroupRequest - default ListThingsInBillingGroupPublisher listThingsInBillingGroupPaginator(Consumer<ListThingsInBillingGroupRequest.Builder> listThingsInBillingGroupRequest)
Lists the things you have added to the given billing group.
This is a variant of
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)
operation.
This is a convenience which creates an instance of the ListThingsInBillingGroupRequest.Builder avoiding
the need to create one manually via ListThingsInBillingGroupRequest.builder()
listThingsInBillingGroupRequest - A Consumer that will call methods on ListThingsInBillingGroupRequest.Builder to create a
request.default CompletableFuture<ListThingsInThingGroupResponse> listThingsInThingGroup(ListThingsInThingGroupRequest listThingsInThingGroupRequest)
Lists the things in the specified group.
listThingsInThingGroupRequest - default CompletableFuture<ListThingsInThingGroupResponse> listThingsInThingGroup(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest)
Lists the things in the specified group.
This is a convenience which creates an instance of the ListThingsInThingGroupRequest.Builder avoiding the
need to create one manually via ListThingsInThingGroupRequest.builder()
listThingsInThingGroupRequest - A Consumer that will call methods on ListThingsInThingGroupRequest.Builder to create a
request.default ListThingsInThingGroupPublisher listThingsInThingGroupPaginator(ListThingsInThingGroupRequest listThingsInThingGroupRequest)
Lists the things in the specified group.
This is a variant of
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation.
listThingsInThingGroupRequest - default ListThingsInThingGroupPublisher listThingsInThingGroupPaginator(Consumer<ListThingsInThingGroupRequest.Builder> listThingsInThingGroupRequest)
Lists the things in the specified group.
This is a variant of
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)
operation.
This is a convenience which creates an instance of the ListThingsInThingGroupRequest.Builder avoiding the
need to create one manually via ListThingsInThingGroupRequest.builder()
listThingsInThingGroupRequest - A Consumer that will call methods on ListThingsInThingGroupRequest.Builder to create a
request.default ListThingsPublisher listThingsPaginator()
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a variant of listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListThingsPublisher listThingsPaginator(ListThingsRequest listThingsRequest)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a variant of listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
listThingsRequest - The input for the ListThings operation.default ListThingsPublisher listThingsPaginator(Consumer<ListThingsRequest.Builder> listThingsRequest)
Lists your things. Use the attributeName and attributeValue parameters to filter your things. For
example, calling ListThings with attributeName=Color and attributeValue=Red retrieves all things in
the registry that contain an attribute Color with the value Red.
You will not be charged for calling this API if an Access denied error is returned. You will also
not be charged if no attributes or pagination token was provided in request and no pagination token and no
results were returned.
This is a variant of listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListThingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListThingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest) operation.
This is a convenience which creates an instance of the ListThingsRequest.Builder avoiding the need to
create one manually via ListThingsRequest.builder()
listThingsRequest - A Consumer that will call methods on ListThingsRequest.Builder to create a request. The
input for the ListThings operation.default CompletableFuture<ListTopicRuleDestinationsResponse> listTopicRuleDestinations(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your AWS account.
listTopicRuleDestinationsRequest - default CompletableFuture<ListTopicRuleDestinationsResponse> listTopicRuleDestinations(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your AWS account.
This is a convenience which creates an instance of the ListTopicRuleDestinationsRequest.Builder avoiding
the need to create one manually via ListTopicRuleDestinationsRequest.builder()
listTopicRuleDestinationsRequest - A Consumer that will call methods on ListTopicRuleDestinationsRequest.Builder to create a
request.default ListTopicRuleDestinationsPublisher listTopicRuleDestinationsPaginator(ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your AWS account.
This is a variant of
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation.
listTopicRuleDestinationsRequest - default ListTopicRuleDestinationsPublisher listTopicRuleDestinationsPaginator(Consumer<ListTopicRuleDestinationsRequest.Builder> listTopicRuleDestinationsRequest)
Lists all the topic rule destinations in your AWS account.
This is a variant of
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)
operation.
This is a convenience which creates an instance of the ListTopicRuleDestinationsRequest.Builder avoiding
the need to create one manually via ListTopicRuleDestinationsRequest.builder()
listTopicRuleDestinationsRequest - A Consumer that will call methods on ListTopicRuleDestinationsRequest.Builder to create a
request.default CompletableFuture<ListTopicRulesResponse> listTopicRules(ListTopicRulesRequest listTopicRulesRequest)
Lists the rules for the specific topic.
listTopicRulesRequest - The input for the ListTopicRules operation.default CompletableFuture<ListTopicRulesResponse> listTopicRules(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest)
Lists the rules for the specific topic.
This is a convenience which creates an instance of the ListTopicRulesRequest.Builder avoiding the need to
create one manually via ListTopicRulesRequest.builder()
listTopicRulesRequest - A Consumer that will call methods on ListTopicRulesRequest.Builder to create a request.
The input for the ListTopicRules operation.default CompletableFuture<ListTopicRulesResponse> listTopicRules()
Lists the rules for the specific topic.
default ListTopicRulesPublisher listTopicRulesPaginator()
Lists the rules for the specific topic.
This is a variant of listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTopicRulesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListTopicRulesPublisher listTopicRulesPaginator(ListTopicRulesRequest listTopicRulesRequest)
Lists the rules for the specific topic.
This is a variant of listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTopicRulesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest) operation.
listTopicRulesRequest - The input for the ListTopicRules operation.default ListTopicRulesPublisher listTopicRulesPaginator(Consumer<ListTopicRulesRequest.Builder> listTopicRulesRequest)
Lists the rules for the specific topic.
This is a variant of listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListTopicRulesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListTopicRulesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest) operation.
This is a convenience which creates an instance of the ListTopicRulesRequest.Builder avoiding the need to
create one manually via ListTopicRulesRequest.builder()
listTopicRulesRequest - A Consumer that will call methods on ListTopicRulesRequest.Builder to create a request.
The input for the ListTopicRules operation.default CompletableFuture<ListV2LoggingLevelsResponse> listV2LoggingLevels(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest)
Lists logging levels.
listV2LoggingLevelsRequest - default CompletableFuture<ListV2LoggingLevelsResponse> listV2LoggingLevels(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest)
Lists logging levels.
This is a convenience which creates an instance of the ListV2LoggingLevelsRequest.Builder avoiding the
need to create one manually via ListV2LoggingLevelsRequest.builder()
listV2LoggingLevelsRequest - A Consumer that will call methods on ListV2LoggingLevelsRequest.Builder to create a
request.default ListV2LoggingLevelsPublisher listV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest)
Lists logging levels.
This is a variant of
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation.
listV2LoggingLevelsRequest - default ListV2LoggingLevelsPublisher listV2LoggingLevelsPaginator(Consumer<ListV2LoggingLevelsRequest.Builder> listV2LoggingLevelsRequest)
Lists logging levels.
This is a variant of
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest) operation.
This is a convenience which creates an instance of the ListV2LoggingLevelsRequest.Builder avoiding the
need to create one manually via ListV2LoggingLevelsRequest.builder()
listV2LoggingLevelsRequest - A Consumer that will call methods on ListV2LoggingLevelsRequest.Builder to create a
request.default CompletableFuture<ListViolationEventsResponse> listViolationEvents(ListViolationEventsRequest listViolationEventsRequest)
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).
listViolationEventsRequest - default CompletableFuture<ListViolationEventsResponse> listViolationEvents(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest)
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).
This is a convenience which creates an instance of the ListViolationEventsRequest.Builder avoiding the
need to create one manually via ListViolationEventsRequest.builder()
listViolationEventsRequest - A Consumer that will call methods on ListViolationEventsRequest.Builder to create a
request.default ListViolationEventsPublisher listViolationEventsPaginator(ListViolationEventsRequest listViolationEventsRequest)
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).
This is a variant of
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListViolationEventsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListViolationEventsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation.
listViolationEventsRequest - default ListViolationEventsPublisher listViolationEventsPaginator(Consumer<ListViolationEventsRequest.Builder> listViolationEventsRequest)
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).
This is a variant of
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iot.model.ListViolationEventsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.iot.model.ListViolationEventsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest) operation.
This is a convenience which creates an instance of the ListViolationEventsRequest.Builder avoiding the
need to create one manually via ListViolationEventsRequest.builder()
listViolationEventsRequest - A Consumer that will call methods on ListViolationEventsRequest.Builder to create a
request.default CompletableFuture<RegisterCaCertificateResponse> registerCACertificate(RegisterCaCertificateRequest registerCaCertificateRequest)
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
registerCaCertificateRequest - The input to the RegisterCACertificate operation.default CompletableFuture<RegisterCaCertificateResponse> registerCACertificate(Consumer<RegisterCaCertificateRequest.Builder> registerCaCertificateRequest)
Registers a CA certificate with AWS IoT. This CA certificate can then be used to sign device certificates, which can be then registered with AWS IoT. You can register up to 10 CA certificates per AWS account that have the same subject field. This enables you to have up to 10 certificate authorities sign your device certificates. If you have more than one CA certificate registered, make sure you pass the CA certificate when you register your device certificates with the RegisterCertificate API.
This is a convenience which creates an instance of the RegisterCaCertificateRequest.Builder avoiding the
need to create one manually via RegisterCaCertificateRequest.builder()
registerCaCertificateRequest - A Consumer that will call methods on RegisterCACertificateRequest.Builder to create a
request. The input to the RegisterCACertificate operation.default CompletableFuture<RegisterCertificateResponse> registerCertificate(RegisterCertificateRequest registerCertificateRequest)
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
registerCertificateRequest - The input to the RegisterCertificate operation.default CompletableFuture<RegisterCertificateResponse> registerCertificate(Consumer<RegisterCertificateRequest.Builder> registerCertificateRequest)
Registers a device certificate with AWS IoT. If you have more than one CA certificate that has the same subject field, you must specify the CA certificate that was used to sign the device certificate being registered.
This is a convenience which creates an instance of the RegisterCertificateRequest.Builder avoiding the
need to create one manually via RegisterCertificateRequest.builder()
registerCertificateRequest - A Consumer that will call methods on RegisterCertificateRequest.Builder to create a
request. The input to the RegisterCertificate operation.default CompletableFuture<RegisterCertificateWithoutCaResponse> registerCertificateWithoutCA(RegisterCertificateWithoutCaRequest registerCertificateWithoutCaRequest)
Register a certificate that does not have a certificate authority (CA).
registerCertificateWithoutCaRequest - default CompletableFuture<RegisterCertificateWithoutCaResponse> registerCertificateWithoutCA(Consumer<RegisterCertificateWithoutCaRequest.Builder> registerCertificateWithoutCaRequest)
Register a certificate that does not have a certificate authority (CA).
This is a convenience which creates an instance of the RegisterCertificateWithoutCaRequest.Builder
avoiding the need to create one manually via RegisterCertificateWithoutCaRequest.builder()
registerCertificateWithoutCaRequest - A Consumer that will call methods on RegisterCertificateWithoutCARequest.Builder to create
a request.default CompletableFuture<RegisterThingResponse> registerThing(RegisterThingRequest registerThingRequest)
Provisions a thing in the device registry. RegisterThing calls other AWS IoT control plane APIs. These calls might exceed your account level AWS IoT Throttling Limits and cause throttle errors. Please contact AWS Customer Support to raise your throttling limits if necessary.
registerThingRequest - default CompletableFuture<RegisterThingResponse> registerThing(Consumer<RegisterThingRequest.Builder> registerThingRequest)
Provisions a thing in the device registry. RegisterThing calls other AWS IoT control plane APIs. These calls might exceed your account level AWS IoT Throttling Limits and cause throttle errors. Please contact AWS Customer Support to raise your throttling limits if necessary.
This is a convenience which creates an instance of the RegisterThingRequest.Builder avoiding the need to
create one manually via RegisterThingRequest.builder()
registerThingRequest - A Consumer that will call methods on RegisterThingRequest.Builder to create a request.default CompletableFuture<RejectCertificateTransferResponse> rejectCertificateTransfer(RejectCertificateTransferRequest rejectCertificateTransferRequest)
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
rejectCertificateTransferRequest - The input for the RejectCertificateTransfer operation.default CompletableFuture<RejectCertificateTransferResponse> rejectCertificateTransfer(Consumer<RejectCertificateTransferRequest.Builder> rejectCertificateTransferRequest)
Rejects a pending certificate transfer. After AWS IoT rejects a certificate transfer, the certificate status changes from PENDING_TRANSFER to INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
This operation can only be called by the transfer destination. After it is called, the certificate will be returned to the source's account in the INACTIVE state.
This is a convenience which creates an instance of the RejectCertificateTransferRequest.Builder avoiding
the need to create one manually via RejectCertificateTransferRequest.builder()
rejectCertificateTransferRequest - A Consumer that will call methods on RejectCertificateTransferRequest.Builder to create a
request. The input for the RejectCertificateTransfer operation.default CompletableFuture<RemoveThingFromBillingGroupResponse> removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest)
Removes the given thing from the billing group.
removeThingFromBillingGroupRequest - default CompletableFuture<RemoveThingFromBillingGroupResponse> removeThingFromBillingGroup(Consumer<RemoveThingFromBillingGroupRequest.Builder> removeThingFromBillingGroupRequest)
Removes the given thing from the billing group.
This is a convenience which creates an instance of the RemoveThingFromBillingGroupRequest.Builder
avoiding the need to create one manually via RemoveThingFromBillingGroupRequest.builder()
removeThingFromBillingGroupRequest - A Consumer that will call methods on RemoveThingFromBillingGroupRequest.Builder to create
a request.default CompletableFuture<RemoveThingFromThingGroupResponse> removeThingFromThingGroup(RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest)
Remove the specified thing from the specified group.
You must specify either a thingGroupArn or a thingGroupName to identify the thing group
and either a thingArn or a thingName to identify the thing to remove from the thing
group.
removeThingFromThingGroupRequest - default CompletableFuture<RemoveThingFromThingGroupResponse> removeThingFromThingGroup(Consumer<RemoveThingFromThingGroupRequest.Builder> removeThingFromThingGroupRequest)
Remove the specified thing from the specified group.
You must specify either a thingGroupArn or a thingGroupName to identify the thing group
and either a thingArn or a thingName to identify the thing to remove from the thing
group.
This is a convenience which creates an instance of the RemoveThingFromThingGroupRequest.Builder avoiding
the need to create one manually via RemoveThingFromThingGroupRequest.builder()
removeThingFromThingGroupRequest - A Consumer that will call methods on RemoveThingFromThingGroupRequest.Builder to create a
request.default CompletableFuture<ReplaceTopicRuleResponse> replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest)
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.
replaceTopicRuleRequest - The input for the ReplaceTopicRule operation.default CompletableFuture<ReplaceTopicRuleResponse> replaceTopicRule(Consumer<ReplaceTopicRuleRequest.Builder> replaceTopicRuleRequest)
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.
This is a convenience which creates an instance of the ReplaceTopicRuleRequest.Builder avoiding the need
to create one manually via ReplaceTopicRuleRequest.builder()
replaceTopicRuleRequest - A Consumer that will call methods on ReplaceTopicRuleRequest.Builder to create a request.
The input for the ReplaceTopicRule operation.default CompletableFuture<SearchIndexResponse> searchIndex(SearchIndexRequest searchIndexRequest)
The query search index.
searchIndexRequest - default CompletableFuture<SearchIndexResponse> searchIndex(Consumer<SearchIndexRequest.Builder> searchIndexRequest)
The query search index.
This is a convenience which creates an instance of the SearchIndexRequest.Builder avoiding the need to
create one manually via SearchIndexRequest.builder()
searchIndexRequest - A Consumer that will call methods on SearchIndexRequest.Builder to create a request.default CompletableFuture<SetDefaultAuthorizerResponse> setDefaultAuthorizer(SetDefaultAuthorizerRequest setDefaultAuthorizerRequest)
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
setDefaultAuthorizerRequest - default CompletableFuture<SetDefaultAuthorizerResponse> setDefaultAuthorizer(Consumer<SetDefaultAuthorizerRequest.Builder> setDefaultAuthorizerRequest)
Sets the default authorizer. This will be used if a websocket connection is made without specifying an authorizer.
This is a convenience which creates an instance of the SetDefaultAuthorizerRequest.Builder avoiding the
need to create one manually via SetDefaultAuthorizerRequest.builder()
setDefaultAuthorizerRequest - A Consumer that will call methods on SetDefaultAuthorizerRequest.Builder to create a
request.default CompletableFuture<SetDefaultPolicyVersionResponse> setDefaultPolicyVersion(SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
setDefaultPolicyVersionRequest - The input for the SetDefaultPolicyVersion operation.default CompletableFuture<SetDefaultPolicyVersionResponse> setDefaultPolicyVersion(Consumer<SetDefaultPolicyVersionRequest.Builder> setDefaultPolicyVersionRequest)
Sets the specified version of the specified policy as the policy's default (operative) version. This action affects all certificates to which the policy is attached. To list the principals the policy is attached to, use the ListPrincipalPolicy API.
This is a convenience which creates an instance of the SetDefaultPolicyVersionRequest.Builder avoiding
the need to create one manually via SetDefaultPolicyVersionRequest.builder()
setDefaultPolicyVersionRequest - A Consumer that will call methods on SetDefaultPolicyVersionRequest.Builder to create a
request. The input for the SetDefaultPolicyVersion operation.default CompletableFuture<SetLoggingOptionsResponse> setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest)
Sets the logging options.
NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.
setLoggingOptionsRequest - The input for the SetLoggingOptions operation.default CompletableFuture<SetLoggingOptionsResponse> setLoggingOptions(Consumer<SetLoggingOptionsRequest.Builder> setLoggingOptionsRequest)
Sets the logging options.
NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead.
This is a convenience which creates an instance of the SetLoggingOptionsRequest.Builder avoiding the need
to create one manually via SetLoggingOptionsRequest.builder()
setLoggingOptionsRequest - A Consumer that will call methods on SetLoggingOptionsRequest.Builder to create a request.
The input for the SetLoggingOptions operation.default CompletableFuture<SetV2LoggingLevelResponse> setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest)
Sets the logging level.
setV2LoggingLevelRequest - default CompletableFuture<SetV2LoggingLevelResponse> setV2LoggingLevel(Consumer<SetV2LoggingLevelRequest.Builder> setV2LoggingLevelRequest)
Sets the logging level.
This is a convenience which creates an instance of the SetV2LoggingLevelRequest.Builder avoiding the need
to create one manually via SetV2LoggingLevelRequest.builder()
setV2LoggingLevelRequest - A Consumer that will call methods on SetV2LoggingLevelRequest.Builder to create a request.default CompletableFuture<SetV2LoggingOptionsResponse> setV2LoggingOptions(SetV2LoggingOptionsRequest setV2LoggingOptionsRequest)
Sets the logging options for the V2 logging service.
setV2LoggingOptionsRequest - default CompletableFuture<SetV2LoggingOptionsResponse> setV2LoggingOptions(Consumer<SetV2LoggingOptionsRequest.Builder> setV2LoggingOptionsRequest)
Sets the logging options for the V2 logging service.
This is a convenience which creates an instance of the SetV2LoggingOptionsRequest.Builder avoiding the
need to create one manually via SetV2LoggingOptionsRequest.builder()
setV2LoggingOptionsRequest - A Consumer that will call methods on SetV2LoggingOptionsRequest.Builder to create a
request.default CompletableFuture<StartAuditMitigationActionsTaskResponse> startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest)
Starts a task that applies a set of mitigation actions to the specified target.
startAuditMitigationActionsTaskRequest - default CompletableFuture<StartAuditMitigationActionsTaskResponse> startAuditMitigationActionsTask(Consumer<StartAuditMitigationActionsTaskRequest.Builder> startAuditMitigationActionsTaskRequest)
Starts a task that applies a set of mitigation actions to the specified target.
This is a convenience which creates an instance of the StartAuditMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via StartAuditMitigationActionsTaskRequest.builder()
startAuditMitigationActionsTaskRequest - A Consumer that will call methods on StartAuditMitigationActionsTaskRequest.Builder to
create a request.default CompletableFuture<StartDetectMitigationActionsTaskResponse> startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest)
Starts a Device Defender ML Detect mitigation actions task.
startDetectMitigationActionsTaskRequest - default CompletableFuture<StartDetectMitigationActionsTaskResponse> startDetectMitigationActionsTask(Consumer<StartDetectMitigationActionsTaskRequest.Builder> startDetectMitigationActionsTaskRequest)
Starts a Device Defender ML Detect mitigation actions task.
This is a convenience which creates an instance of the StartDetectMitigationActionsTaskRequest.Builder
avoiding the need to create one manually via StartDetectMitigationActionsTaskRequest.builder()
startDetectMitigationActionsTaskRequest - A Consumer that will call methods on StartDetectMitigationActionsTaskRequest.Builder to
create a request.default CompletableFuture<StartOnDemandAuditTaskResponse> startOnDemandAuditTask(StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest)
Starts an on-demand Device Defender audit.
startOnDemandAuditTaskRequest - default CompletableFuture<StartOnDemandAuditTaskResponse> startOnDemandAuditTask(Consumer<StartOnDemandAuditTaskRequest.Builder> startOnDemandAuditTaskRequest)
Starts an on-demand Device Defender audit.
This is a convenience which creates an instance of the StartOnDemandAuditTaskRequest.Builder avoiding the
need to create one manually via StartOnDemandAuditTaskRequest.builder()
startOnDemandAuditTaskRequest - A Consumer that will call methods on StartOnDemandAuditTaskRequest.Builder to create a
request.default CompletableFuture<StartThingRegistrationTaskResponse> startThingRegistrationTask(StartThingRegistrationTaskRequest startThingRegistrationTaskRequest)
Creates a bulk thing provisioning task.
startThingRegistrationTaskRequest - default CompletableFuture<StartThingRegistrationTaskResponse> startThingRegistrationTask(Consumer<StartThingRegistrationTaskRequest.Builder> startThingRegistrationTaskRequest)
Creates a bulk thing provisioning task.
This is a convenience which creates an instance of the StartThingRegistrationTaskRequest.Builder avoiding
the need to create one manually via StartThingRegistrationTaskRequest.builder()
startThingRegistrationTaskRequest - A Consumer that will call methods on StartThingRegistrationTaskRequest.Builder to create a
request.default CompletableFuture<StopThingRegistrationTaskResponse> stopThingRegistrationTask(StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest)
Cancels a bulk thing provisioning task.
stopThingRegistrationTaskRequest - default CompletableFuture<StopThingRegistrationTaskResponse> stopThingRegistrationTask(Consumer<StopThingRegistrationTaskRequest.Builder> stopThingRegistrationTaskRequest)
Cancels a bulk thing provisioning task.
This is a convenience which creates an instance of the StopThingRegistrationTaskRequest.Builder avoiding
the need to create one manually via StopThingRegistrationTaskRequest.builder()
stopThingRegistrationTaskRequest - A Consumer that will call methods on StopThingRegistrationTaskRequest.Builder to create a
request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.default CompletableFuture<TestAuthorizationResponse> testAuthorization(TestAuthorizationRequest testAuthorizationRequest)
Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway.
testAuthorizationRequest - default CompletableFuture<TestAuthorizationResponse> testAuthorization(Consumer<TestAuthorizationRequest.Builder> testAuthorizationRequest)
Tests if a specified principal is authorized to perform an AWS IoT action on a specified resource. Use this to test and debug the authorization behavior of devices that connect to the AWS IoT device gateway.
This is a convenience which creates an instance of the TestAuthorizationRequest.Builder avoiding the need
to create one manually via TestAuthorizationRequest.builder()
testAuthorizationRequest - A Consumer that will call methods on TestAuthorizationRequest.Builder to create a request.default CompletableFuture<TestInvokeAuthorizerResponse> testInvokeAuthorizer(TestInvokeAuthorizerRequest testInvokeAuthorizerRequest)
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway.
testInvokeAuthorizerRequest - default CompletableFuture<TestInvokeAuthorizerResponse> testInvokeAuthorizer(Consumer<TestInvokeAuthorizerRequest.Builder> testInvokeAuthorizerRequest)
Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the custom authorization behavior of devices that connect to the AWS IoT device gateway.
This is a convenience which creates an instance of the TestInvokeAuthorizerRequest.Builder avoiding the
need to create one manually via TestInvokeAuthorizerRequest.builder()
testInvokeAuthorizerRequest - A Consumer that will call methods on TestInvokeAuthorizerRequest.Builder to create a
request.default CompletableFuture<TransferCertificateResponse> transferCertificate(TransferCertificateRequest transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
transferCertificateRequest - The input for the TransferCertificate operation.default CompletableFuture<TransferCertificateResponse> transferCertificate(Consumer<TransferCertificateRequest.Builder> transferCertificateRequest)
Transfers the specified certificate to the specified AWS account.
You can cancel the transfer until it is acknowledged by the recipient.
No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer target.
The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate API to deactivate it.
The certificate must not have any policies attached to it. You can use the DetachPrincipalPolicy API to detach them.
This is a convenience which creates an instance of the TransferCertificateRequest.Builder avoiding the
need to create one manually via TransferCertificateRequest.builder()
transferCertificateRequest - A Consumer that will call methods on TransferCertificateRequest.Builder to create a
request. The input for the TransferCertificate operation.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes the given tags (metadata) from the resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the given tags (metadata) from the resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.default CompletableFuture<UpdateAccountAuditConfigurationResponse> updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest)
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.
updateAccountAuditConfigurationRequest - default CompletableFuture<UpdateAccountAuditConfigurationResponse> updateAccountAuditConfiguration(Consumer<UpdateAccountAuditConfigurationRequest.Builder> updateAccountAuditConfigurationRequest)
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.
This is a convenience which creates an instance of the UpdateAccountAuditConfigurationRequest.Builder
avoiding the need to create one manually via UpdateAccountAuditConfigurationRequest.builder()
updateAccountAuditConfigurationRequest - A Consumer that will call methods on UpdateAccountAuditConfigurationRequest.Builder to
create a request.default CompletableFuture<UpdateAuditSuppressionResponse> updateAuditSuppression(UpdateAuditSuppressionRequest updateAuditSuppressionRequest)
Updates a Device Defender audit suppression.
updateAuditSuppressionRequest - default CompletableFuture<UpdateAuditSuppressionResponse> updateAuditSuppression(Consumer<UpdateAuditSuppressionRequest.Builder> updateAuditSuppressionRequest)
Updates a Device Defender audit suppression.
This is a convenience which creates an instance of the UpdateAuditSuppressionRequest.Builder avoiding the
need to create one manually via UpdateAuditSuppressionRequest.builder()
updateAuditSuppressionRequest - A Consumer that will call methods on UpdateAuditSuppressionRequest.Builder to create a
request.default CompletableFuture<UpdateAuthorizerResponse> updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest)
Updates an authorizer.
updateAuthorizerRequest - default CompletableFuture<UpdateAuthorizerResponse> updateAuthorizer(Consumer<UpdateAuthorizerRequest.Builder> updateAuthorizerRequest)
Updates an authorizer.
This is a convenience which creates an instance of the UpdateAuthorizerRequest.Builder avoiding the need
to create one manually via UpdateAuthorizerRequest.builder()
updateAuthorizerRequest - A Consumer that will call methods on UpdateAuthorizerRequest.Builder to create a request.default CompletableFuture<UpdateBillingGroupResponse> updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest)
Updates information about the billing group.
updateBillingGroupRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateBillingGroupResponse> updateBillingGroup(Consumer<UpdateBillingGroupRequest.Builder> updateBillingGroupRequest)
Updates information about the billing group.
This is a convenience which creates an instance of the UpdateBillingGroupRequest.Builder avoiding the
need to create one manually via UpdateBillingGroupRequest.builder()
updateBillingGroupRequest - A Consumer that will call methods on UpdateBillingGroupRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateCaCertificateResponse> updateCACertificate(UpdateCaCertificateRequest updateCaCertificateRequest)
Updates a registered CA certificate.
updateCaCertificateRequest - The input to the UpdateCACertificate operation.default CompletableFuture<UpdateCaCertificateResponse> updateCACertificate(Consumer<UpdateCaCertificateRequest.Builder> updateCaCertificateRequest)
Updates a registered CA certificate.
This is a convenience which creates an instance of the UpdateCaCertificateRequest.Builder avoiding the
need to create one manually via UpdateCaCertificateRequest.builder()
updateCaCertificateRequest - A Consumer that will call methods on UpdateCACertificateRequest.Builder to create a
request. The input to the UpdateCACertificate operation.default CompletableFuture<UpdateCertificateResponse> updateCertificate(UpdateCertificateRequest updateCertificateRequest)
Updates the status of the specified certificate. This operation is idempotent.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to AWS IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, AWS IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
updateCertificateRequest - The input for the UpdateCertificate operation.default CompletableFuture<UpdateCertificateResponse> updateCertificate(Consumer<UpdateCertificateRequest.Builder> updateCertificateRequest)
Updates the status of the specified certificate. This operation is idempotent.
Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to AWS IoT.
Within a few minutes of updating a certificate from the ACTIVE state to any other state, AWS IoT disconnects all devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state to reconnect.
This is a convenience which creates an instance of the UpdateCertificateRequest.Builder avoiding the need
to create one manually via UpdateCertificateRequest.builder()
updateCertificateRequest - A Consumer that will call methods on UpdateCertificateRequest.Builder to create a request.
The input for the UpdateCertificate operation.default CompletableFuture<UpdateCustomMetricResponse> updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest)
Updates a Device Defender detect custom metric.
updateCustomMetricRequest - default CompletableFuture<UpdateCustomMetricResponse> updateCustomMetric(Consumer<UpdateCustomMetricRequest.Builder> updateCustomMetricRequest)
Updates a Device Defender detect custom metric.
This is a convenience which creates an instance of the UpdateCustomMetricRequest.Builder avoiding the
need to create one manually via UpdateCustomMetricRequest.builder()
updateCustomMetricRequest - A Consumer that will call methods on UpdateCustomMetricRequest.Builder to create a
request.default CompletableFuture<UpdateDimensionResponse> updateDimension(UpdateDimensionRequest updateDimensionRequest)
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).
updateDimensionRequest - default CompletableFuture<UpdateDimensionResponse> updateDimension(Consumer<UpdateDimensionRequest.Builder> updateDimensionRequest)
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).
This is a convenience which creates an instance of the UpdateDimensionRequest.Builder avoiding the need
to create one manually via UpdateDimensionRequest.builder()
updateDimensionRequest - A Consumer that will call methods on UpdateDimensionRequest.Builder to create a request.default CompletableFuture<UpdateDomainConfigurationResponse> updateDomainConfiguration(UpdateDomainConfigurationRequest updateDomainConfigurationRequest)
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
The domain configuration feature is in public preview and is subject to change.
updateDomainConfigurationRequest - default CompletableFuture<UpdateDomainConfigurationResponse> updateDomainConfiguration(Consumer<UpdateDomainConfigurationRequest.Builder> updateDomainConfigurationRequest)
Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated.
The domain configuration feature is in public preview and is subject to change.
This is a convenience which creates an instance of the UpdateDomainConfigurationRequest.Builder avoiding
the need to create one manually via UpdateDomainConfigurationRequest.builder()
updateDomainConfigurationRequest - A Consumer that will call methods on UpdateDomainConfigurationRequest.Builder to create a
request.default CompletableFuture<UpdateDynamicThingGroupResponse> updateDynamicThingGroup(UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest)
Updates a dynamic thing group.
updateDynamicThingGroupRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateDynamicThingGroupResponse> updateDynamicThingGroup(Consumer<UpdateDynamicThingGroupRequest.Builder> updateDynamicThingGroupRequest)
Updates a dynamic thing group.
This is a convenience which creates an instance of the UpdateDynamicThingGroupRequest.Builder avoiding
the need to create one manually via UpdateDynamicThingGroupRequest.builder()
updateDynamicThingGroupRequest - A Consumer that will call methods on UpdateDynamicThingGroupRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateEventConfigurationsResponse> updateEventConfigurations(UpdateEventConfigurationsRequest updateEventConfigurationsRequest)
Updates the event configurations.
updateEventConfigurationsRequest - default CompletableFuture<UpdateEventConfigurationsResponse> updateEventConfigurations(Consumer<UpdateEventConfigurationsRequest.Builder> updateEventConfigurationsRequest)
Updates the event configurations.
This is a convenience which creates an instance of the UpdateEventConfigurationsRequest.Builder avoiding
the need to create one manually via UpdateEventConfigurationsRequest.builder()
updateEventConfigurationsRequest - A Consumer that will call methods on UpdateEventConfigurationsRequest.Builder to create a
request.default CompletableFuture<UpdateIndexingConfigurationResponse> updateIndexingConfiguration(UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest)
Updates the search configuration.
updateIndexingConfigurationRequest - default CompletableFuture<UpdateIndexingConfigurationResponse> updateIndexingConfiguration(Consumer<UpdateIndexingConfigurationRequest.Builder> updateIndexingConfigurationRequest)
Updates the search configuration.
This is a convenience which creates an instance of the UpdateIndexingConfigurationRequest.Builder
avoiding the need to create one manually via UpdateIndexingConfigurationRequest.builder()
updateIndexingConfigurationRequest - A Consumer that will call methods on UpdateIndexingConfigurationRequest.Builder to create
a request.default CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest updateJobRequest)
Updates supported fields of the specified job.
updateJobRequest - default CompletableFuture<UpdateJobResponse> updateJob(Consumer<UpdateJobRequest.Builder> updateJobRequest)
Updates supported fields of the specified job.
This is a convenience which creates an instance of the UpdateJobRequest.Builder avoiding the need to
create one manually via UpdateJobRequest.builder()
updateJobRequest - A Consumer that will call methods on UpdateJobRequest.Builder to create a request.default CompletableFuture<UpdateMitigationActionResponse> updateMitigationAction(UpdateMitigationActionRequest updateMitigationActionRequest)
Updates the definition for the specified mitigation action.
updateMitigationActionRequest - default CompletableFuture<UpdateMitigationActionResponse> updateMitigationAction(Consumer<UpdateMitigationActionRequest.Builder> updateMitigationActionRequest)
Updates the definition for the specified mitigation action.
This is a convenience which creates an instance of the UpdateMitigationActionRequest.Builder avoiding the
need to create one manually via UpdateMitigationActionRequest.builder()
updateMitigationActionRequest - A Consumer that will call methods on UpdateMitigationActionRequest.Builder to create a
request.default CompletableFuture<UpdateProvisioningTemplateResponse> updateProvisioningTemplate(UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest)
Updates a fleet provisioning template.
updateProvisioningTemplateRequest - default CompletableFuture<UpdateProvisioningTemplateResponse> updateProvisioningTemplate(Consumer<UpdateProvisioningTemplateRequest.Builder> updateProvisioningTemplateRequest)
Updates a fleet provisioning template.
This is a convenience which creates an instance of the UpdateProvisioningTemplateRequest.Builder avoiding
the need to create one manually via UpdateProvisioningTemplateRequest.builder()
updateProvisioningTemplateRequest - A Consumer that will call methods on UpdateProvisioningTemplateRequest.Builder to create a
request.default CompletableFuture<UpdateRoleAliasResponse> updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest)
Updates a role alias.
updateRoleAliasRequest - default CompletableFuture<UpdateRoleAliasResponse> updateRoleAlias(Consumer<UpdateRoleAliasRequest.Builder> updateRoleAliasRequest)
Updates a role alias.
This is a convenience which creates an instance of the UpdateRoleAliasRequest.Builder avoiding the need
to create one manually via UpdateRoleAliasRequest.builder()
updateRoleAliasRequest - A Consumer that will call methods on UpdateRoleAliasRequest.Builder to create a request.default CompletableFuture<UpdateScheduledAuditResponse> updateScheduledAudit(UpdateScheduledAuditRequest updateScheduledAuditRequest)
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
updateScheduledAuditRequest - default CompletableFuture<UpdateScheduledAuditResponse> updateScheduledAudit(Consumer<UpdateScheduledAuditRequest.Builder> updateScheduledAuditRequest)
Updates a scheduled audit, including which checks are performed and how often the audit takes place.
This is a convenience which creates an instance of the UpdateScheduledAuditRequest.Builder avoiding the
need to create one manually via UpdateScheduledAuditRequest.builder()
updateScheduledAuditRequest - A Consumer that will call methods on UpdateScheduledAuditRequest.Builder to create a
request.default CompletableFuture<UpdateSecurityProfileResponse> updateSecurityProfile(UpdateSecurityProfileRequest updateSecurityProfileRequest)
Updates a Device Defender security profile.
updateSecurityProfileRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateSecurityProfileResponse> updateSecurityProfile(Consumer<UpdateSecurityProfileRequest.Builder> updateSecurityProfileRequest)
Updates a Device Defender security profile.
This is a convenience which creates an instance of the UpdateSecurityProfileRequest.Builder avoiding the
need to create one manually via UpdateSecurityProfileRequest.builder()
updateSecurityProfileRequest - A Consumer that will call methods on UpdateSecurityProfileRequest.Builder to create a
request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateStreamResponse> updateStream(UpdateStreamRequest updateStreamRequest)
Updates an existing stream. The stream version will be incremented by one.
updateStreamRequest - default CompletableFuture<UpdateStreamResponse> updateStream(Consumer<UpdateStreamRequest.Builder> updateStreamRequest)
Updates an existing stream. The stream version will be incremented by one.
This is a convenience which creates an instance of the UpdateStreamRequest.Builder avoiding the need to
create one manually via UpdateStreamRequest.builder()
updateStreamRequest - A Consumer that will call methods on UpdateStreamRequest.Builder to create a request.default CompletableFuture<UpdateThingResponse> updateThing(UpdateThingRequest updateThingRequest)
Updates the data for a thing.
updateThingRequest - The input for the UpdateThing operation.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateThingResponse> updateThing(Consumer<UpdateThingRequest.Builder> updateThingRequest)
Updates the data for a thing.
This is a convenience which creates an instance of the UpdateThingRequest.Builder avoiding the need to
create one manually via UpdateThingRequest.builder()
updateThingRequest - A Consumer that will call methods on UpdateThingRequest.Builder to create a request. The
input for the UpdateThing operation.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateThingGroupResponse> updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest)
Update a thing group.
updateThingGroupRequest - expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateThingGroupResponse> updateThingGroup(Consumer<UpdateThingGroupRequest.Builder> updateThingGroupRequest)
Update a thing group.
This is a convenience which creates an instance of the UpdateThingGroupRequest.Builder avoiding the need
to create one manually via UpdateThingGroupRequest.builder()
updateThingGroupRequest - A Consumer that will call methods on UpdateThingGroupRequest.Builder to create a request.expectedVersion parameter does not match the latest version in the system.default CompletableFuture<UpdateThingGroupsForThingResponse> updateThingGroupsForThing(UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest)
Updates the groups to which the thing belongs.
updateThingGroupsForThingRequest - default CompletableFuture<UpdateThingGroupsForThingResponse> updateThingGroupsForThing(Consumer<UpdateThingGroupsForThingRequest.Builder> updateThingGroupsForThingRequest)
Updates the groups to which the thing belongs.
This is a convenience which creates an instance of the UpdateThingGroupsForThingRequest.Builder avoiding
the need to create one manually via UpdateThingGroupsForThingRequest.builder()
updateThingGroupsForThingRequest - A Consumer that will call methods on UpdateThingGroupsForThingRequest.Builder to create a
request.default CompletableFuture<UpdateTopicRuleDestinationResponse> updateTopicRuleDestination(UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest)
Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
updateTopicRuleDestinationRequest - default CompletableFuture<UpdateTopicRuleDestinationResponse> updateTopicRuleDestination(Consumer<UpdateTopicRuleDestinationRequest.Builder> updateTopicRuleDestinationRequest)
Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the destination.
This is a convenience which creates an instance of the UpdateTopicRuleDestinationRequest.Builder avoiding
the need to create one manually via UpdateTopicRuleDestinationRequest.builder()
updateTopicRuleDestinationRequest - A Consumer that will call methods on UpdateTopicRuleDestinationRequest.Builder to create a
request.default CompletableFuture<ValidateSecurityProfileBehaviorsResponse> validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest)
Validates a Device Defender security profile behaviors specification.
validateSecurityProfileBehaviorsRequest - default CompletableFuture<ValidateSecurityProfileBehaviorsResponse> validateSecurityProfileBehaviors(Consumer<ValidateSecurityProfileBehaviorsRequest.Builder> validateSecurityProfileBehaviorsRequest)
Validates a Device Defender security profile behaviors specification.
This is a convenience which creates an instance of the ValidateSecurityProfileBehaviorsRequest.Builder
avoiding the need to create one manually via ValidateSecurityProfileBehaviorsRequest.builder()
validateSecurityProfileBehaviorsRequest - A Consumer that will call methods on ValidateSecurityProfileBehaviorsRequest.Builder to
create a request.Copyright © 2021. All rights reserved.