All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.iot.IotAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Iot Service module holds the client classes that are used for communicating with AWS IoT Service

The newest version!
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.iot;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.iot.model.AcceptCertificateTransferRequest;
import software.amazon.awssdk.services.iot.model.AcceptCertificateTransferResponse;
import software.amazon.awssdk.services.iot.model.AddThingToBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.AddThingToBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.AddThingToThingGroupRequest;
import software.amazon.awssdk.services.iot.model.AddThingToThingGroupResponse;
import software.amazon.awssdk.services.iot.model.AssociateSbomWithPackageVersionRequest;
import software.amazon.awssdk.services.iot.model.AssociateSbomWithPackageVersionResponse;
import software.amazon.awssdk.services.iot.model.AssociateTargetsWithJobRequest;
import software.amazon.awssdk.services.iot.model.AssociateTargetsWithJobResponse;
import software.amazon.awssdk.services.iot.model.AttachPolicyRequest;
import software.amazon.awssdk.services.iot.model.AttachPolicyResponse;
import software.amazon.awssdk.services.iot.model.AttachSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.AttachSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.AttachThingPrincipalRequest;
import software.amazon.awssdk.services.iot.model.AttachThingPrincipalResponse;
import software.amazon.awssdk.services.iot.model.CancelAuditMitigationActionsTaskRequest;
import software.amazon.awssdk.services.iot.model.CancelAuditMitigationActionsTaskResponse;
import software.amazon.awssdk.services.iot.model.CancelAuditTaskRequest;
import software.amazon.awssdk.services.iot.model.CancelAuditTaskResponse;
import software.amazon.awssdk.services.iot.model.CancelCertificateTransferRequest;
import software.amazon.awssdk.services.iot.model.CancelCertificateTransferResponse;
import software.amazon.awssdk.services.iot.model.CancelDetectMitigationActionsTaskRequest;
import software.amazon.awssdk.services.iot.model.CancelDetectMitigationActionsTaskResponse;
import software.amazon.awssdk.services.iot.model.CancelJobExecutionRequest;
import software.amazon.awssdk.services.iot.model.CancelJobExecutionResponse;
import software.amazon.awssdk.services.iot.model.CancelJobRequest;
import software.amazon.awssdk.services.iot.model.CancelJobResponse;
import software.amazon.awssdk.services.iot.model.ClearDefaultAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.ClearDefaultAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.ConfirmTopicRuleDestinationRequest;
import software.amazon.awssdk.services.iot.model.ConfirmTopicRuleDestinationResponse;
import software.amazon.awssdk.services.iot.model.CreateAuditSuppressionRequest;
import software.amazon.awssdk.services.iot.model.CreateAuditSuppressionResponse;
import software.amazon.awssdk.services.iot.model.CreateAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.CreateAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.CreateBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.CreateBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.CreateCertificateFromCsrRequest;
import software.amazon.awssdk.services.iot.model.CreateCertificateFromCsrResponse;
import software.amazon.awssdk.services.iot.model.CreateCertificateProviderRequest;
import software.amazon.awssdk.services.iot.model.CreateCertificateProviderResponse;
import software.amazon.awssdk.services.iot.model.CreateCustomMetricRequest;
import software.amazon.awssdk.services.iot.model.CreateCustomMetricResponse;
import software.amazon.awssdk.services.iot.model.CreateDimensionRequest;
import software.amazon.awssdk.services.iot.model.CreateDimensionResponse;
import software.amazon.awssdk.services.iot.model.CreateDomainConfigurationRequest;
import software.amazon.awssdk.services.iot.model.CreateDomainConfigurationResponse;
import software.amazon.awssdk.services.iot.model.CreateDynamicThingGroupRequest;
import software.amazon.awssdk.services.iot.model.CreateDynamicThingGroupResponse;
import software.amazon.awssdk.services.iot.model.CreateFleetMetricRequest;
import software.amazon.awssdk.services.iot.model.CreateFleetMetricResponse;
import software.amazon.awssdk.services.iot.model.CreateJobRequest;
import software.amazon.awssdk.services.iot.model.CreateJobResponse;
import software.amazon.awssdk.services.iot.model.CreateJobTemplateRequest;
import software.amazon.awssdk.services.iot.model.CreateJobTemplateResponse;
import software.amazon.awssdk.services.iot.model.CreateKeysAndCertificateRequest;
import software.amazon.awssdk.services.iot.model.CreateKeysAndCertificateResponse;
import software.amazon.awssdk.services.iot.model.CreateMitigationActionRequest;
import software.amazon.awssdk.services.iot.model.CreateMitigationActionResponse;
import software.amazon.awssdk.services.iot.model.CreateOtaUpdateRequest;
import software.amazon.awssdk.services.iot.model.CreateOtaUpdateResponse;
import software.amazon.awssdk.services.iot.model.CreatePackageRequest;
import software.amazon.awssdk.services.iot.model.CreatePackageResponse;
import software.amazon.awssdk.services.iot.model.CreatePackageVersionRequest;
import software.amazon.awssdk.services.iot.model.CreatePackageVersionResponse;
import software.amazon.awssdk.services.iot.model.CreatePolicyRequest;
import software.amazon.awssdk.services.iot.model.CreatePolicyResponse;
import software.amazon.awssdk.services.iot.model.CreatePolicyVersionRequest;
import software.amazon.awssdk.services.iot.model.CreatePolicyVersionResponse;
import software.amazon.awssdk.services.iot.model.CreateProvisioningClaimRequest;
import software.amazon.awssdk.services.iot.model.CreateProvisioningClaimResponse;
import software.amazon.awssdk.services.iot.model.CreateProvisioningTemplateRequest;
import software.amazon.awssdk.services.iot.model.CreateProvisioningTemplateResponse;
import software.amazon.awssdk.services.iot.model.CreateProvisioningTemplateVersionRequest;
import software.amazon.awssdk.services.iot.model.CreateProvisioningTemplateVersionResponse;
import software.amazon.awssdk.services.iot.model.CreateRoleAliasRequest;
import software.amazon.awssdk.services.iot.model.CreateRoleAliasResponse;
import software.amazon.awssdk.services.iot.model.CreateScheduledAuditRequest;
import software.amazon.awssdk.services.iot.model.CreateScheduledAuditResponse;
import software.amazon.awssdk.services.iot.model.CreateSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.CreateSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.CreateStreamRequest;
import software.amazon.awssdk.services.iot.model.CreateStreamResponse;
import software.amazon.awssdk.services.iot.model.CreateThingGroupRequest;
import software.amazon.awssdk.services.iot.model.CreateThingGroupResponse;
import software.amazon.awssdk.services.iot.model.CreateThingRequest;
import software.amazon.awssdk.services.iot.model.CreateThingResponse;
import software.amazon.awssdk.services.iot.model.CreateThingTypeRequest;
import software.amazon.awssdk.services.iot.model.CreateThingTypeResponse;
import software.amazon.awssdk.services.iot.model.CreateTopicRuleDestinationRequest;
import software.amazon.awssdk.services.iot.model.CreateTopicRuleDestinationResponse;
import software.amazon.awssdk.services.iot.model.CreateTopicRuleRequest;
import software.amazon.awssdk.services.iot.model.CreateTopicRuleResponse;
import software.amazon.awssdk.services.iot.model.DeleteAccountAuditConfigurationRequest;
import software.amazon.awssdk.services.iot.model.DeleteAccountAuditConfigurationResponse;
import software.amazon.awssdk.services.iot.model.DeleteAuditSuppressionRequest;
import software.amazon.awssdk.services.iot.model.DeleteAuditSuppressionResponse;
import software.amazon.awssdk.services.iot.model.DeleteAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.DeleteAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.DeleteBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.DeleteBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.DeleteCaCertificateRequest;
import software.amazon.awssdk.services.iot.model.DeleteCaCertificateResponse;
import software.amazon.awssdk.services.iot.model.DeleteCertificateProviderRequest;
import software.amazon.awssdk.services.iot.model.DeleteCertificateProviderResponse;
import software.amazon.awssdk.services.iot.model.DeleteCertificateRequest;
import software.amazon.awssdk.services.iot.model.DeleteCertificateResponse;
import software.amazon.awssdk.services.iot.model.DeleteCustomMetricRequest;
import software.amazon.awssdk.services.iot.model.DeleteCustomMetricResponse;
import software.amazon.awssdk.services.iot.model.DeleteDimensionRequest;
import software.amazon.awssdk.services.iot.model.DeleteDimensionResponse;
import software.amazon.awssdk.services.iot.model.DeleteDomainConfigurationRequest;
import software.amazon.awssdk.services.iot.model.DeleteDomainConfigurationResponse;
import software.amazon.awssdk.services.iot.model.DeleteDynamicThingGroupRequest;
import software.amazon.awssdk.services.iot.model.DeleteDynamicThingGroupResponse;
import software.amazon.awssdk.services.iot.model.DeleteFleetMetricRequest;
import software.amazon.awssdk.services.iot.model.DeleteFleetMetricResponse;
import software.amazon.awssdk.services.iot.model.DeleteJobExecutionRequest;
import software.amazon.awssdk.services.iot.model.DeleteJobExecutionResponse;
import software.amazon.awssdk.services.iot.model.DeleteJobRequest;
import software.amazon.awssdk.services.iot.model.DeleteJobResponse;
import software.amazon.awssdk.services.iot.model.DeleteJobTemplateRequest;
import software.amazon.awssdk.services.iot.model.DeleteJobTemplateResponse;
import software.amazon.awssdk.services.iot.model.DeleteMitigationActionRequest;
import software.amazon.awssdk.services.iot.model.DeleteMitigationActionResponse;
import software.amazon.awssdk.services.iot.model.DeleteOtaUpdateRequest;
import software.amazon.awssdk.services.iot.model.DeleteOtaUpdateResponse;
import software.amazon.awssdk.services.iot.model.DeletePackageRequest;
import software.amazon.awssdk.services.iot.model.DeletePackageResponse;
import software.amazon.awssdk.services.iot.model.DeletePackageVersionRequest;
import software.amazon.awssdk.services.iot.model.DeletePackageVersionResponse;
import software.amazon.awssdk.services.iot.model.DeletePolicyRequest;
import software.amazon.awssdk.services.iot.model.DeletePolicyResponse;
import software.amazon.awssdk.services.iot.model.DeletePolicyVersionRequest;
import software.amazon.awssdk.services.iot.model.DeletePolicyVersionResponse;
import software.amazon.awssdk.services.iot.model.DeleteProvisioningTemplateRequest;
import software.amazon.awssdk.services.iot.model.DeleteProvisioningTemplateResponse;
import software.amazon.awssdk.services.iot.model.DeleteProvisioningTemplateVersionRequest;
import software.amazon.awssdk.services.iot.model.DeleteProvisioningTemplateVersionResponse;
import software.amazon.awssdk.services.iot.model.DeleteRegistrationCodeRequest;
import software.amazon.awssdk.services.iot.model.DeleteRegistrationCodeResponse;
import software.amazon.awssdk.services.iot.model.DeleteRoleAliasRequest;
import software.amazon.awssdk.services.iot.model.DeleteRoleAliasResponse;
import software.amazon.awssdk.services.iot.model.DeleteScheduledAuditRequest;
import software.amazon.awssdk.services.iot.model.DeleteScheduledAuditResponse;
import software.amazon.awssdk.services.iot.model.DeleteSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.DeleteSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.DeleteStreamRequest;
import software.amazon.awssdk.services.iot.model.DeleteStreamResponse;
import software.amazon.awssdk.services.iot.model.DeleteThingGroupRequest;
import software.amazon.awssdk.services.iot.model.DeleteThingGroupResponse;
import software.amazon.awssdk.services.iot.model.DeleteThingRequest;
import software.amazon.awssdk.services.iot.model.DeleteThingResponse;
import software.amazon.awssdk.services.iot.model.DeleteThingTypeRequest;
import software.amazon.awssdk.services.iot.model.DeleteThingTypeResponse;
import software.amazon.awssdk.services.iot.model.DeleteTopicRuleDestinationRequest;
import software.amazon.awssdk.services.iot.model.DeleteTopicRuleDestinationResponse;
import software.amazon.awssdk.services.iot.model.DeleteTopicRuleRequest;
import software.amazon.awssdk.services.iot.model.DeleteTopicRuleResponse;
import software.amazon.awssdk.services.iot.model.DeleteV2LoggingLevelRequest;
import software.amazon.awssdk.services.iot.model.DeleteV2LoggingLevelResponse;
import software.amazon.awssdk.services.iot.model.DeprecateThingTypeRequest;
import software.amazon.awssdk.services.iot.model.DeprecateThingTypeResponse;
import software.amazon.awssdk.services.iot.model.DescribeAccountAuditConfigurationRequest;
import software.amazon.awssdk.services.iot.model.DescribeAccountAuditConfigurationResponse;
import software.amazon.awssdk.services.iot.model.DescribeAuditFindingRequest;
import software.amazon.awssdk.services.iot.model.DescribeAuditFindingResponse;
import software.amazon.awssdk.services.iot.model.DescribeAuditMitigationActionsTaskRequest;
import software.amazon.awssdk.services.iot.model.DescribeAuditMitigationActionsTaskResponse;
import software.amazon.awssdk.services.iot.model.DescribeAuditSuppressionRequest;
import software.amazon.awssdk.services.iot.model.DescribeAuditSuppressionResponse;
import software.amazon.awssdk.services.iot.model.DescribeAuditTaskRequest;
import software.amazon.awssdk.services.iot.model.DescribeAuditTaskResponse;
import software.amazon.awssdk.services.iot.model.DescribeAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.DescribeAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.DescribeBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.DescribeBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.DescribeCaCertificateRequest;
import software.amazon.awssdk.services.iot.model.DescribeCaCertificateResponse;
import software.amazon.awssdk.services.iot.model.DescribeCertificateProviderRequest;
import software.amazon.awssdk.services.iot.model.DescribeCertificateProviderResponse;
import software.amazon.awssdk.services.iot.model.DescribeCertificateRequest;
import software.amazon.awssdk.services.iot.model.DescribeCertificateResponse;
import software.amazon.awssdk.services.iot.model.DescribeCustomMetricRequest;
import software.amazon.awssdk.services.iot.model.DescribeCustomMetricResponse;
import software.amazon.awssdk.services.iot.model.DescribeDefaultAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.DescribeDefaultAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.DescribeDetectMitigationActionsTaskRequest;
import software.amazon.awssdk.services.iot.model.DescribeDetectMitigationActionsTaskResponse;
import software.amazon.awssdk.services.iot.model.DescribeDimensionRequest;
import software.amazon.awssdk.services.iot.model.DescribeDimensionResponse;
import software.amazon.awssdk.services.iot.model.DescribeDomainConfigurationRequest;
import software.amazon.awssdk.services.iot.model.DescribeDomainConfigurationResponse;
import software.amazon.awssdk.services.iot.model.DescribeEndpointRequest;
import software.amazon.awssdk.services.iot.model.DescribeEndpointResponse;
import software.amazon.awssdk.services.iot.model.DescribeEventConfigurationsRequest;
import software.amazon.awssdk.services.iot.model.DescribeEventConfigurationsResponse;
import software.amazon.awssdk.services.iot.model.DescribeFleetMetricRequest;
import software.amazon.awssdk.services.iot.model.DescribeFleetMetricResponse;
import software.amazon.awssdk.services.iot.model.DescribeIndexRequest;
import software.amazon.awssdk.services.iot.model.DescribeIndexResponse;
import software.amazon.awssdk.services.iot.model.DescribeJobExecutionRequest;
import software.amazon.awssdk.services.iot.model.DescribeJobExecutionResponse;
import software.amazon.awssdk.services.iot.model.DescribeJobRequest;
import software.amazon.awssdk.services.iot.model.DescribeJobResponse;
import software.amazon.awssdk.services.iot.model.DescribeJobTemplateRequest;
import software.amazon.awssdk.services.iot.model.DescribeJobTemplateResponse;
import software.amazon.awssdk.services.iot.model.DescribeManagedJobTemplateRequest;
import software.amazon.awssdk.services.iot.model.DescribeManagedJobTemplateResponse;
import software.amazon.awssdk.services.iot.model.DescribeMitigationActionRequest;
import software.amazon.awssdk.services.iot.model.DescribeMitigationActionResponse;
import software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateRequest;
import software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateResponse;
import software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateVersionRequest;
import software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateVersionResponse;
import software.amazon.awssdk.services.iot.model.DescribeRoleAliasRequest;
import software.amazon.awssdk.services.iot.model.DescribeRoleAliasResponse;
import software.amazon.awssdk.services.iot.model.DescribeScheduledAuditRequest;
import software.amazon.awssdk.services.iot.model.DescribeScheduledAuditResponse;
import software.amazon.awssdk.services.iot.model.DescribeSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.DescribeSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.DescribeStreamRequest;
import software.amazon.awssdk.services.iot.model.DescribeStreamResponse;
import software.amazon.awssdk.services.iot.model.DescribeThingGroupRequest;
import software.amazon.awssdk.services.iot.model.DescribeThingGroupResponse;
import software.amazon.awssdk.services.iot.model.DescribeThingRegistrationTaskRequest;
import software.amazon.awssdk.services.iot.model.DescribeThingRegistrationTaskResponse;
import software.amazon.awssdk.services.iot.model.DescribeThingRequest;
import software.amazon.awssdk.services.iot.model.DescribeThingResponse;
import software.amazon.awssdk.services.iot.model.DescribeThingTypeRequest;
import software.amazon.awssdk.services.iot.model.DescribeThingTypeResponse;
import software.amazon.awssdk.services.iot.model.DetachPolicyRequest;
import software.amazon.awssdk.services.iot.model.DetachPolicyResponse;
import software.amazon.awssdk.services.iot.model.DetachSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.DetachSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.DetachThingPrincipalRequest;
import software.amazon.awssdk.services.iot.model.DetachThingPrincipalResponse;
import software.amazon.awssdk.services.iot.model.DisableTopicRuleRequest;
import software.amazon.awssdk.services.iot.model.DisableTopicRuleResponse;
import software.amazon.awssdk.services.iot.model.DisassociateSbomFromPackageVersionRequest;
import software.amazon.awssdk.services.iot.model.DisassociateSbomFromPackageVersionResponse;
import software.amazon.awssdk.services.iot.model.EnableTopicRuleRequest;
import software.amazon.awssdk.services.iot.model.EnableTopicRuleResponse;
import software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest;
import software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesResponse;
import software.amazon.awssdk.services.iot.model.GetBucketsAggregationRequest;
import software.amazon.awssdk.services.iot.model.GetBucketsAggregationResponse;
import software.amazon.awssdk.services.iot.model.GetCardinalityRequest;
import software.amazon.awssdk.services.iot.model.GetCardinalityResponse;
import software.amazon.awssdk.services.iot.model.GetEffectivePoliciesRequest;
import software.amazon.awssdk.services.iot.model.GetEffectivePoliciesResponse;
import software.amazon.awssdk.services.iot.model.GetIndexingConfigurationRequest;
import software.amazon.awssdk.services.iot.model.GetIndexingConfigurationResponse;
import software.amazon.awssdk.services.iot.model.GetJobDocumentRequest;
import software.amazon.awssdk.services.iot.model.GetJobDocumentResponse;
import software.amazon.awssdk.services.iot.model.GetLoggingOptionsRequest;
import software.amazon.awssdk.services.iot.model.GetLoggingOptionsResponse;
import software.amazon.awssdk.services.iot.model.GetOtaUpdateRequest;
import software.amazon.awssdk.services.iot.model.GetOtaUpdateResponse;
import software.amazon.awssdk.services.iot.model.GetPackageConfigurationRequest;
import software.amazon.awssdk.services.iot.model.GetPackageConfigurationResponse;
import software.amazon.awssdk.services.iot.model.GetPackageRequest;
import software.amazon.awssdk.services.iot.model.GetPackageResponse;
import software.amazon.awssdk.services.iot.model.GetPackageVersionRequest;
import software.amazon.awssdk.services.iot.model.GetPackageVersionResponse;
import software.amazon.awssdk.services.iot.model.GetPercentilesRequest;
import software.amazon.awssdk.services.iot.model.GetPercentilesResponse;
import software.amazon.awssdk.services.iot.model.GetPolicyRequest;
import software.amazon.awssdk.services.iot.model.GetPolicyResponse;
import software.amazon.awssdk.services.iot.model.GetPolicyVersionRequest;
import software.amazon.awssdk.services.iot.model.GetPolicyVersionResponse;
import software.amazon.awssdk.services.iot.model.GetRegistrationCodeRequest;
import software.amazon.awssdk.services.iot.model.GetRegistrationCodeResponse;
import software.amazon.awssdk.services.iot.model.GetStatisticsRequest;
import software.amazon.awssdk.services.iot.model.GetStatisticsResponse;
import software.amazon.awssdk.services.iot.model.GetTopicRuleDestinationRequest;
import software.amazon.awssdk.services.iot.model.GetTopicRuleDestinationResponse;
import software.amazon.awssdk.services.iot.model.GetTopicRuleRequest;
import software.amazon.awssdk.services.iot.model.GetTopicRuleResponse;
import software.amazon.awssdk.services.iot.model.GetV2LoggingOptionsRequest;
import software.amazon.awssdk.services.iot.model.GetV2LoggingOptionsResponse;
import software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest;
import software.amazon.awssdk.services.iot.model.ListActiveViolationsResponse;
import software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest;
import software.amazon.awssdk.services.iot.model.ListAttachedPoliciesResponse;
import software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest;
import software.amazon.awssdk.services.iot.model.ListAuditFindingsResponse;
import software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest;
import software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsResponse;
import software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest;
import software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksResponse;
import software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest;
import software.amazon.awssdk.services.iot.model.ListAuditSuppressionsResponse;
import software.amazon.awssdk.services.iot.model.ListAuditTasksRequest;
import software.amazon.awssdk.services.iot.model.ListAuditTasksResponse;
import software.amazon.awssdk.services.iot.model.ListAuthorizersRequest;
import software.amazon.awssdk.services.iot.model.ListAuthorizersResponse;
import software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest;
import software.amazon.awssdk.services.iot.model.ListBillingGroupsResponse;
import software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest;
import software.amazon.awssdk.services.iot.model.ListCaCertificatesResponse;
import software.amazon.awssdk.services.iot.model.ListCertificateProvidersRequest;
import software.amazon.awssdk.services.iot.model.ListCertificateProvidersResponse;
import software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest;
import software.amazon.awssdk.services.iot.model.ListCertificatesByCaResponse;
import software.amazon.awssdk.services.iot.model.ListCertificatesRequest;
import software.amazon.awssdk.services.iot.model.ListCertificatesResponse;
import software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest;
import software.amazon.awssdk.services.iot.model.ListCustomMetricsResponse;
import software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest;
import software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsResponse;
import software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest;
import software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksResponse;
import software.amazon.awssdk.services.iot.model.ListDimensionsRequest;
import software.amazon.awssdk.services.iot.model.ListDimensionsResponse;
import software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest;
import software.amazon.awssdk.services.iot.model.ListDomainConfigurationsResponse;
import software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest;
import software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse;
import software.amazon.awssdk.services.iot.model.ListIndicesRequest;
import software.amazon.awssdk.services.iot.model.ListIndicesResponse;
import software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest;
import software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobResponse;
import software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest;
import software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingResponse;
import software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest;
import software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse;
import software.amazon.awssdk.services.iot.model.ListJobsRequest;
import software.amazon.awssdk.services.iot.model.ListJobsResponse;
import software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest;
import software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesResponse;
import software.amazon.awssdk.services.iot.model.ListMetricValuesRequest;
import software.amazon.awssdk.services.iot.model.ListMetricValuesResponse;
import software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest;
import software.amazon.awssdk.services.iot.model.ListMitigationActionsResponse;
import software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest;
import software.amazon.awssdk.services.iot.model.ListOtaUpdatesResponse;
import software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest;
import software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesResponse;
import software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest;
import software.amazon.awssdk.services.iot.model.ListPackageVersionsResponse;
import software.amazon.awssdk.services.iot.model.ListPackagesRequest;
import software.amazon.awssdk.services.iot.model.ListPackagesResponse;
import software.amazon.awssdk.services.iot.model.ListPoliciesRequest;
import software.amazon.awssdk.services.iot.model.ListPoliciesResponse;
import software.amazon.awssdk.services.iot.model.ListPolicyVersionsRequest;
import software.amazon.awssdk.services.iot.model.ListPolicyVersionsResponse;
import software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest;
import software.amazon.awssdk.services.iot.model.ListPrincipalThingsResponse;
import software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest;
import software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsResponse;
import software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest;
import software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesResponse;
import software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest;
import software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingResponse;
import software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest;
import software.amazon.awssdk.services.iot.model.ListRoleAliasesResponse;
import software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest;
import software.amazon.awssdk.services.iot.model.ListSbomValidationResultsResponse;
import software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest;
import software.amazon.awssdk.services.iot.model.ListScheduledAuditsResponse;
import software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest;
import software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetResponse;
import software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest;
import software.amazon.awssdk.services.iot.model.ListSecurityProfilesResponse;
import software.amazon.awssdk.services.iot.model.ListStreamsRequest;
import software.amazon.awssdk.services.iot.model.ListStreamsResponse;
import software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.iot.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest;
import software.amazon.awssdk.services.iot.model.ListTargetsForPolicyResponse;
import software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest;
import software.amazon.awssdk.services.iot.model.ListThingGroupsForThingResponse;
import software.amazon.awssdk.services.iot.model.ListThingGroupsRequest;
import software.amazon.awssdk.services.iot.model.ListThingGroupsResponse;
import software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest;
import software.amazon.awssdk.services.iot.model.ListThingPrincipalsResponse;
import software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest;
import software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsResponse;
import software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest;
import software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksResponse;
import software.amazon.awssdk.services.iot.model.ListThingTypesRequest;
import software.amazon.awssdk.services.iot.model.ListThingTypesResponse;
import software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest;
import software.amazon.awssdk.services.iot.model.ListThingsInThingGroupResponse;
import software.amazon.awssdk.services.iot.model.ListThingsRequest;
import software.amazon.awssdk.services.iot.model.ListThingsResponse;
import software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest;
import software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsResponse;
import software.amazon.awssdk.services.iot.model.ListTopicRulesRequest;
import software.amazon.awssdk.services.iot.model.ListTopicRulesResponse;
import software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest;
import software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsResponse;
import software.amazon.awssdk.services.iot.model.ListViolationEventsRequest;
import software.amazon.awssdk.services.iot.model.ListViolationEventsResponse;
import software.amazon.awssdk.services.iot.model.PutVerificationStateOnViolationRequest;
import software.amazon.awssdk.services.iot.model.PutVerificationStateOnViolationResponse;
import software.amazon.awssdk.services.iot.model.RegisterCaCertificateRequest;
import software.amazon.awssdk.services.iot.model.RegisterCaCertificateResponse;
import software.amazon.awssdk.services.iot.model.RegisterCertificateRequest;
import software.amazon.awssdk.services.iot.model.RegisterCertificateResponse;
import software.amazon.awssdk.services.iot.model.RegisterCertificateWithoutCaRequest;
import software.amazon.awssdk.services.iot.model.RegisterCertificateWithoutCaResponse;
import software.amazon.awssdk.services.iot.model.RegisterThingRequest;
import software.amazon.awssdk.services.iot.model.RegisterThingResponse;
import software.amazon.awssdk.services.iot.model.RejectCertificateTransferRequest;
import software.amazon.awssdk.services.iot.model.RejectCertificateTransferResponse;
import software.amazon.awssdk.services.iot.model.RemoveThingFromBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.RemoveThingFromBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.RemoveThingFromThingGroupRequest;
import software.amazon.awssdk.services.iot.model.RemoveThingFromThingGroupResponse;
import software.amazon.awssdk.services.iot.model.ReplaceTopicRuleRequest;
import software.amazon.awssdk.services.iot.model.ReplaceTopicRuleResponse;
import software.amazon.awssdk.services.iot.model.SearchIndexRequest;
import software.amazon.awssdk.services.iot.model.SearchIndexResponse;
import software.amazon.awssdk.services.iot.model.SetDefaultAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.SetDefaultAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.SetDefaultPolicyVersionRequest;
import software.amazon.awssdk.services.iot.model.SetDefaultPolicyVersionResponse;
import software.amazon.awssdk.services.iot.model.SetLoggingOptionsRequest;
import software.amazon.awssdk.services.iot.model.SetLoggingOptionsResponse;
import software.amazon.awssdk.services.iot.model.SetV2LoggingLevelRequest;
import software.amazon.awssdk.services.iot.model.SetV2LoggingLevelResponse;
import software.amazon.awssdk.services.iot.model.SetV2LoggingOptionsRequest;
import software.amazon.awssdk.services.iot.model.SetV2LoggingOptionsResponse;
import software.amazon.awssdk.services.iot.model.StartAuditMitigationActionsTaskRequest;
import software.amazon.awssdk.services.iot.model.StartAuditMitigationActionsTaskResponse;
import software.amazon.awssdk.services.iot.model.StartDetectMitigationActionsTaskRequest;
import software.amazon.awssdk.services.iot.model.StartDetectMitigationActionsTaskResponse;
import software.amazon.awssdk.services.iot.model.StartOnDemandAuditTaskRequest;
import software.amazon.awssdk.services.iot.model.StartOnDemandAuditTaskResponse;
import software.amazon.awssdk.services.iot.model.StartThingRegistrationTaskRequest;
import software.amazon.awssdk.services.iot.model.StartThingRegistrationTaskResponse;
import software.amazon.awssdk.services.iot.model.StopThingRegistrationTaskRequest;
import software.amazon.awssdk.services.iot.model.StopThingRegistrationTaskResponse;
import software.amazon.awssdk.services.iot.model.TagResourceRequest;
import software.amazon.awssdk.services.iot.model.TagResourceResponse;
import software.amazon.awssdk.services.iot.model.TestAuthorizationRequest;
import software.amazon.awssdk.services.iot.model.TestAuthorizationResponse;
import software.amazon.awssdk.services.iot.model.TestInvokeAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.TestInvokeAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.TransferCertificateRequest;
import software.amazon.awssdk.services.iot.model.TransferCertificateResponse;
import software.amazon.awssdk.services.iot.model.UntagResourceRequest;
import software.amazon.awssdk.services.iot.model.UntagResourceResponse;
import software.amazon.awssdk.services.iot.model.UpdateAccountAuditConfigurationRequest;
import software.amazon.awssdk.services.iot.model.UpdateAccountAuditConfigurationResponse;
import software.amazon.awssdk.services.iot.model.UpdateAuditSuppressionRequest;
import software.amazon.awssdk.services.iot.model.UpdateAuditSuppressionResponse;
import software.amazon.awssdk.services.iot.model.UpdateAuthorizerRequest;
import software.amazon.awssdk.services.iot.model.UpdateAuthorizerResponse;
import software.amazon.awssdk.services.iot.model.UpdateBillingGroupRequest;
import software.amazon.awssdk.services.iot.model.UpdateBillingGroupResponse;
import software.amazon.awssdk.services.iot.model.UpdateCaCertificateRequest;
import software.amazon.awssdk.services.iot.model.UpdateCaCertificateResponse;
import software.amazon.awssdk.services.iot.model.UpdateCertificateProviderRequest;
import software.amazon.awssdk.services.iot.model.UpdateCertificateProviderResponse;
import software.amazon.awssdk.services.iot.model.UpdateCertificateRequest;
import software.amazon.awssdk.services.iot.model.UpdateCertificateResponse;
import software.amazon.awssdk.services.iot.model.UpdateCustomMetricRequest;
import software.amazon.awssdk.services.iot.model.UpdateCustomMetricResponse;
import software.amazon.awssdk.services.iot.model.UpdateDimensionRequest;
import software.amazon.awssdk.services.iot.model.UpdateDimensionResponse;
import software.amazon.awssdk.services.iot.model.UpdateDomainConfigurationRequest;
import software.amazon.awssdk.services.iot.model.UpdateDomainConfigurationResponse;
import software.amazon.awssdk.services.iot.model.UpdateDynamicThingGroupRequest;
import software.amazon.awssdk.services.iot.model.UpdateDynamicThingGroupResponse;
import software.amazon.awssdk.services.iot.model.UpdateEventConfigurationsRequest;
import software.amazon.awssdk.services.iot.model.UpdateEventConfigurationsResponse;
import software.amazon.awssdk.services.iot.model.UpdateFleetMetricRequest;
import software.amazon.awssdk.services.iot.model.UpdateFleetMetricResponse;
import software.amazon.awssdk.services.iot.model.UpdateIndexingConfigurationRequest;
import software.amazon.awssdk.services.iot.model.UpdateIndexingConfigurationResponse;
import software.amazon.awssdk.services.iot.model.UpdateJobRequest;
import software.amazon.awssdk.services.iot.model.UpdateJobResponse;
import software.amazon.awssdk.services.iot.model.UpdateMitigationActionRequest;
import software.amazon.awssdk.services.iot.model.UpdateMitigationActionResponse;
import software.amazon.awssdk.services.iot.model.UpdatePackageConfigurationRequest;
import software.amazon.awssdk.services.iot.model.UpdatePackageConfigurationResponse;
import software.amazon.awssdk.services.iot.model.UpdatePackageRequest;
import software.amazon.awssdk.services.iot.model.UpdatePackageResponse;
import software.amazon.awssdk.services.iot.model.UpdatePackageVersionRequest;
import software.amazon.awssdk.services.iot.model.UpdatePackageVersionResponse;
import software.amazon.awssdk.services.iot.model.UpdateProvisioningTemplateRequest;
import software.amazon.awssdk.services.iot.model.UpdateProvisioningTemplateResponse;
import software.amazon.awssdk.services.iot.model.UpdateRoleAliasRequest;
import software.amazon.awssdk.services.iot.model.UpdateRoleAliasResponse;
import software.amazon.awssdk.services.iot.model.UpdateScheduledAuditRequest;
import software.amazon.awssdk.services.iot.model.UpdateScheduledAuditResponse;
import software.amazon.awssdk.services.iot.model.UpdateSecurityProfileRequest;
import software.amazon.awssdk.services.iot.model.UpdateSecurityProfileResponse;
import software.amazon.awssdk.services.iot.model.UpdateStreamRequest;
import software.amazon.awssdk.services.iot.model.UpdateStreamResponse;
import software.amazon.awssdk.services.iot.model.UpdateThingGroupRequest;
import software.amazon.awssdk.services.iot.model.UpdateThingGroupResponse;
import software.amazon.awssdk.services.iot.model.UpdateThingGroupsForThingRequest;
import software.amazon.awssdk.services.iot.model.UpdateThingGroupsForThingResponse;
import software.amazon.awssdk.services.iot.model.UpdateThingRequest;
import software.amazon.awssdk.services.iot.model.UpdateThingResponse;
import software.amazon.awssdk.services.iot.model.UpdateTopicRuleDestinationRequest;
import software.amazon.awssdk.services.iot.model.UpdateTopicRuleDestinationResponse;
import software.amazon.awssdk.services.iot.model.ValidateSecurityProfileBehaviorsRequest;
import software.amazon.awssdk.services.iot.model.ValidateSecurityProfileBehaviorsResponse;
import software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher;
import software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher;
import software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher;
import software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher;
import software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListFleetMetricsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher;
import software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher;
import software.amazon.awssdk.services.iot.paginators.ListJobTemplatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListJobsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListMetricValuesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListPackageVersionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListPackagesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingPublisher;
import software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher;
import software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher;
import software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher;
import software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher;
import software.amazon.awssdk.services.iot.paginators.ListThingsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher;
import software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher;
import software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher;

/**
 * Service client for accessing AWS IoT asynchronously. This can be created using the static {@link #builder()}
 * method.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
 * supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
 * some cases such as credentials retrieval and endpoint discovery as part of the async API call.
 *
 * IoT
 * 

* IoT provides secure, bi-directional communication between Internet-connected devices (such as sensors, actuators, * embedded devices, or smart appliances) and the Amazon Web Services cloud. You can discover your custom IoT-Data * endpoint to communicate with, configure rules for data processing and integration with other services, organize * resources associated with each device (Registry), configure logging, and create and manage policies and credentials * to authenticate devices. *

*

* The service endpoints that expose this API are listed in Amazon Web Services IoT Core Endpoints and * Quotas. You must use the endpoint for the region that has the resources you want to access. *

*

* The service name used by Amazon Web * Services Signature Version 4 to sign the request is: execute-api. *

*

* For more information about how IoT works, see the Developer Guide. *

*

* For information about how to use the credentials provider for IoT, see Authorizing Direct Calls to * Amazon Web Services Services. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface IotAsyncClient extends AwsClient { String SERVICE_NAME = "iot"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "iot"; /** *

* Accepts a pending certificate transfer. The default state of the certificate is INACTIVE. *

*

* To check for pending certificate transfers, call ListCertificates to enumerate your certificates. *

*

* Requires permission to access the AcceptCertificateTransfer action. *

* * @param acceptCertificateTransferRequest * The input for the AcceptCertificateTransfer operation. * @return A Java Future containing the result of the AcceptCertificateTransfer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • TransferAlreadyCompletedException You can't revert the certificate transfer because the transfer is * already complete.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AcceptCertificateTransfer */ default CompletableFuture acceptCertificateTransfer( AcceptCertificateTransferRequest acceptCertificateTransferRequest) { throw new UnsupportedOperationException(); } /** *

* Accepts a pending certificate transfer. The default state of the certificate is INACTIVE. *

*

* To check for pending certificate transfers, call ListCertificates to enumerate your certificates. *

*

* Requires permission to access the AcceptCertificateTransfer action. *

*
*

* This is a convenience which creates an instance of the {@link AcceptCertificateTransferRequest.Builder} avoiding * the need to create one manually via {@link AcceptCertificateTransferRequest#builder()} *

* * @param acceptCertificateTransferRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AcceptCertificateTransferRequest.Builder} to create a * request. The input for the AcceptCertificateTransfer operation. * @return A Java Future containing the result of the AcceptCertificateTransfer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • TransferAlreadyCompletedException You can't revert the certificate transfer because the transfer is * already complete.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AcceptCertificateTransfer */ default CompletableFuture acceptCertificateTransfer( Consumer acceptCertificateTransferRequest) { return acceptCertificateTransfer(AcceptCertificateTransferRequest.builder() .applyMutation(acceptCertificateTransferRequest).build()); } /** *

* Adds a thing to a billing group. *

*

* Requires permission to access the AddThingToBillingGroup action. *

* * @param addThingToBillingGroupRequest * @return A Java Future containing the result of the AddThingToBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AddThingToBillingGroup */ default CompletableFuture addThingToBillingGroup( AddThingToBillingGroupRequest addThingToBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a thing to a billing group. *

*

* Requires permission to access the AddThingToBillingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link AddThingToBillingGroupRequest.Builder} avoiding the * need to create one manually via {@link AddThingToBillingGroupRequest#builder()} *

* * @param addThingToBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AddThingToBillingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the AddThingToBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AddThingToBillingGroup */ default CompletableFuture addThingToBillingGroup( Consumer addThingToBillingGroupRequest) { return addThingToBillingGroup(AddThingToBillingGroupRequest.builder().applyMutation(addThingToBillingGroupRequest) .build()); } /** *

* Adds a thing to a thing group. *

*

* Requires permission to access the AddThingToThingGroup action. *

* * @param addThingToThingGroupRequest * @return A Java Future containing the result of the AddThingToThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AddThingToThingGroup */ default CompletableFuture addThingToThingGroup( AddThingToThingGroupRequest addThingToThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Adds a thing to a thing group. *

*

* Requires permission to access the AddThingToThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link AddThingToThingGroupRequest.Builder} avoiding the * need to create one manually via {@link AddThingToThingGroupRequest#builder()} *

* * @param addThingToThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AddThingToThingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the AddThingToThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AddThingToThingGroup */ default CompletableFuture addThingToThingGroup( Consumer addThingToThingGroupRequest) { return addThingToThingGroup(AddThingToThingGroupRequest.builder().applyMutation(addThingToThingGroupRequest).build()); } /** *

* Associates a software bill of materials (SBOM) with a specific software package version. *

*

* Requires permission to access the AssociateSbomWithPackageVersion action. *

* * @param associateSbomWithPackageVersionRequest * @return A Java Future containing the result of the AssociateSbomWithPackageVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ServiceQuotaExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AssociateSbomWithPackageVersion */ default CompletableFuture associateSbomWithPackageVersion( AssociateSbomWithPackageVersionRequest associateSbomWithPackageVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a software bill of materials (SBOM) with a specific software package version. *

*

* Requires permission to access the AssociateSbomWithPackageVersion action. *

*
*

* This is a convenience which creates an instance of the {@link AssociateSbomWithPackageVersionRequest.Builder} * avoiding the need to create one manually via {@link AssociateSbomWithPackageVersionRequest#builder()} *

* * @param associateSbomWithPackageVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AssociateSbomWithPackageVersionRequest.Builder} to create * a request. * @return A Java Future containing the result of the AssociateSbomWithPackageVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ServiceQuotaExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AssociateSbomWithPackageVersion */ default CompletableFuture associateSbomWithPackageVersion( Consumer associateSbomWithPackageVersionRequest) { return associateSbomWithPackageVersion(AssociateSbomWithPackageVersionRequest.builder() .applyMutation(associateSbomWithPackageVersionRequest).build()); } /** *

* Associates a group with a continuous job. The following criteria must be met: *

*
    *
  • *

    * The job must have been created with the targetSelection field set to "CONTINUOUS". *

    *
  • *
  • *

    * The job status must currently be "IN_PROGRESS". *

    *
  • *
  • *

    * The total number of targets associated with a job must not exceed 100. *

    *
  • *
*

* Requires permission to access the AssociateTargetsWithJob action. *

* * @param associateTargetsWithJobRequest * @return A Java Future containing the result of the AssociateTargetsWithJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AssociateTargetsWithJob */ default CompletableFuture associateTargetsWithJob( AssociateTargetsWithJobRequest associateTargetsWithJobRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a group with a continuous job. The following criteria must be met: *

*
    *
  • *

    * The job must have been created with the targetSelection field set to "CONTINUOUS". *

    *
  • *
  • *

    * The job status must currently be "IN_PROGRESS". *

    *
  • *
  • *

    * The total number of targets associated with a job must not exceed 100. *

    *
  • *
*

* Requires permission to access the AssociateTargetsWithJob action. *

*
*

* This is a convenience which creates an instance of the {@link AssociateTargetsWithJobRequest.Builder} avoiding * the need to create one manually via {@link AssociateTargetsWithJobRequest#builder()} *

* * @param associateTargetsWithJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AssociateTargetsWithJobRequest.Builder} to create a * request. * @return A Java Future containing the result of the AssociateTargetsWithJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AssociateTargetsWithJob */ default CompletableFuture associateTargetsWithJob( Consumer associateTargetsWithJobRequest) { return associateTargetsWithJob(AssociateTargetsWithJobRequest.builder().applyMutation(associateTargetsWithJobRequest) .build()); } /** *

* Attaches the specified policy to the specified principal (certificate or other credential). *

*

* Requires permission to access the AttachPolicy action. *

* * @param attachPolicyRequest * @return A Java Future containing the result of the AttachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AttachPolicy */ default CompletableFuture attachPolicy(AttachPolicyRequest attachPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Attaches the specified policy to the specified principal (certificate or other credential). *

*

* Requires permission to access the AttachPolicy action. *

*
*

* This is a convenience which creates an instance of the {@link AttachPolicyRequest.Builder} avoiding the need to * create one manually via {@link AttachPolicyRequest#builder()} *

* * @param attachPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AttachPolicyRequest.Builder} to create a request. * @return A Java Future containing the result of the AttachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AttachPolicy */ default CompletableFuture attachPolicy(Consumer attachPolicyRequest) { return attachPolicy(AttachPolicyRequest.builder().applyMutation(attachPolicyRequest).build()); } /** *

* Associates a Device Defender security profile with a thing group or this account. Each thing group or account can * have up to five security profiles associated with it. *

*

* Requires permission to access the AttachSecurityProfile action. *

* * @param attachSecurityProfileRequest * @return A Java Future containing the result of the AttachSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AttachSecurityProfile */ default CompletableFuture attachSecurityProfile( AttachSecurityProfileRequest attachSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Associates a Device Defender security profile with a thing group or this account. Each thing group or account can * have up to five security profiles associated with it. *

*

* Requires permission to access the AttachSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link AttachSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link AttachSecurityProfileRequest#builder()} *

* * @param attachSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AttachSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the AttachSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AttachSecurityProfile */ default CompletableFuture attachSecurityProfile( Consumer attachSecurityProfileRequest) { return attachSecurityProfile(AttachSecurityProfileRequest.builder().applyMutation(attachSecurityProfileRequest).build()); } /** *

* Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito * identities or federated identities. *

*

* Requires permission to access the AttachThingPrincipal action. *

* * @param attachThingPrincipalRequest * The input for the AttachThingPrincipal operation. * @return A Java Future containing the result of the AttachThingPrincipal operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AttachThingPrincipal */ default CompletableFuture attachThingPrincipal( AttachThingPrincipalRequest attachThingPrincipalRequest) { throw new UnsupportedOperationException(); } /** *

* Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito * identities or federated identities. *

*

* Requires permission to access the AttachThingPrincipal action. *

*
*

* This is a convenience which creates an instance of the {@link AttachThingPrincipalRequest.Builder} avoiding the * need to create one manually via {@link AttachThingPrincipalRequest#builder()} *

* * @param attachThingPrincipalRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.AttachThingPrincipalRequest.Builder} to create a request. * The input for the AttachThingPrincipal operation. * @return A Java Future containing the result of the AttachThingPrincipal operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.AttachThingPrincipal */ default CompletableFuture attachThingPrincipal( Consumer attachThingPrincipalRequest) { return attachThingPrincipal(AttachThingPrincipalRequest.builder().applyMutation(attachThingPrincipalRequest).build()); } /** *

* Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException * occurs. *

*

* Requires permission to access the CancelAuditMitigationActionsTask action. *

* * @param cancelAuditMitigationActionsTaskRequest * @return A Java Future containing the result of the CancelAuditMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelAuditMitigationActionsTask */ default CompletableFuture cancelAuditMitigationActionsTask( CancelAuditMitigationActionsTaskRequest cancelAuditMitigationActionsTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException * occurs. *

*

* Requires permission to access the CancelAuditMitigationActionsTask action. *

*
*

* This is a convenience which creates an instance of the {@link CancelAuditMitigationActionsTaskRequest.Builder} * avoiding the need to create one manually via {@link CancelAuditMitigationActionsTaskRequest#builder()} *

* * @param cancelAuditMitigationActionsTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CancelAuditMitigationActionsTaskRequest.Builder} to * create a request. * @return A Java Future containing the result of the CancelAuditMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelAuditMitigationActionsTask */ default CompletableFuture cancelAuditMitigationActionsTask( Consumer cancelAuditMitigationActionsTaskRequest) { return cancelAuditMitigationActionsTask(CancelAuditMitigationActionsTaskRequest.builder() .applyMutation(cancelAuditMitigationActionsTaskRequest).build()); } /** *

* Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in * progress, an "InvalidRequestException" occurs. *

*

* Requires permission to access the CancelAuditTask action. *

* * @param cancelAuditTaskRequest * @return A Java Future containing the result of the CancelAuditTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelAuditTask */ default CompletableFuture cancelAuditTask(CancelAuditTaskRequest cancelAuditTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in * progress, an "InvalidRequestException" occurs. *

*

* Requires permission to access the CancelAuditTask action. *

*
*

* This is a convenience which creates an instance of the {@link CancelAuditTaskRequest.Builder} avoiding the need * to create one manually via {@link CancelAuditTaskRequest#builder()} *

* * @param cancelAuditTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CancelAuditTaskRequest.Builder} to create a request. * @return A Java Future containing the result of the CancelAuditTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelAuditTask */ default CompletableFuture cancelAuditTask( Consumer cancelAuditTaskRequest) { return cancelAuditTask(CancelAuditTaskRequest.builder().applyMutation(cancelAuditTaskRequest).build()); } /** *

* Cancels a pending transfer for the specified certificate. *

*

* Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations * can use RejectCertificateTransfer instead.) After transfer, IoT returns the certificate to the source * account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be * cancelled. *

*

* After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to * INACTIVE. *

*

* Requires permission to access the CancelCertificateTransfer action. *

* * @param cancelCertificateTransferRequest * The input for the CancelCertificateTransfer operation. * @return A Java Future containing the result of the CancelCertificateTransfer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • TransferAlreadyCompletedException You can't revert the certificate transfer because the transfer is * already complete.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelCertificateTransfer */ default CompletableFuture cancelCertificateTransfer( CancelCertificateTransferRequest cancelCertificateTransferRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels a pending transfer for the specified certificate. *

*

* Note Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations * can use RejectCertificateTransfer instead.) After transfer, IoT returns the certificate to the source * account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be * cancelled. *

*

* After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to * INACTIVE. *

*

* Requires permission to access the CancelCertificateTransfer action. *

*
*

* This is a convenience which creates an instance of the {@link CancelCertificateTransferRequest.Builder} avoiding * the need to create one manually via {@link CancelCertificateTransferRequest#builder()} *

* * @param cancelCertificateTransferRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CancelCertificateTransferRequest.Builder} to create a * request. The input for the CancelCertificateTransfer operation. * @return A Java Future containing the result of the CancelCertificateTransfer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • TransferAlreadyCompletedException You can't revert the certificate transfer because the transfer is * already complete.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelCertificateTransfer */ default CompletableFuture cancelCertificateTransfer( Consumer cancelCertificateTransferRequest) { return cancelCertificateTransfer(CancelCertificateTransferRequest.builder() .applyMutation(cancelCertificateTransferRequest).build()); } /** *

* Cancels a Device Defender ML Detect mitigation action. *

*

* Requires permission to access the CancelDetectMitigationActionsTask action. *

* * @param cancelDetectMitigationActionsTaskRequest * @return A Java Future containing the result of the CancelDetectMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelDetectMitigationActionsTask */ default CompletableFuture cancelDetectMitigationActionsTask( CancelDetectMitigationActionsTaskRequest cancelDetectMitigationActionsTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels a Device Defender ML Detect mitigation action. *

*

* Requires permission to access the CancelDetectMitigationActionsTask action. *

*
*

* This is a convenience which creates an instance of the {@link CancelDetectMitigationActionsTaskRequest.Builder} * avoiding the need to create one manually via {@link CancelDetectMitigationActionsTaskRequest#builder()} *

* * @param cancelDetectMitigationActionsTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CancelDetectMitigationActionsTaskRequest.Builder} to * create a request. * @return A Java Future containing the result of the CancelDetectMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelDetectMitigationActionsTask */ default CompletableFuture cancelDetectMitigationActionsTask( Consumer cancelDetectMitigationActionsTaskRequest) { return cancelDetectMitigationActionsTask(CancelDetectMitigationActionsTaskRequest.builder() .applyMutation(cancelDetectMitigationActionsTaskRequest).build()); } /** *

* Cancels a job. *

*

* Requires permission to access the CancelJob action. *

* * @param cancelJobRequest * @return A Java Future containing the result of the CancelJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelJob */ default CompletableFuture cancelJob(CancelJobRequest cancelJobRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels a job. *

*

* Requires permission to access the CancelJob action. *

*
*

* This is a convenience which creates an instance of the {@link CancelJobRequest.Builder} avoiding the need to * create one manually via {@link CancelJobRequest#builder()} *

* * @param cancelJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CancelJobRequest.Builder} to create a request. * @return A Java Future containing the result of the CancelJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelJob */ default CompletableFuture cancelJob(Consumer cancelJobRequest) { return cancelJob(CancelJobRequest.builder().applyMutation(cancelJobRequest).build()); } /** *

* Cancels the execution of a job for a given thing. *

*

* Requires permission to access the CancelJobExecution action. *

* * @param cancelJobExecutionRequest * @return A Java Future containing the result of the CancelJobExecution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidStateTransitionException An attempt was made to change to an invalid state, for example by * deleting a job or a job execution which is "IN_PROGRESS" without setting the force * parameter.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelJobExecution */ default CompletableFuture cancelJobExecution(CancelJobExecutionRequest cancelJobExecutionRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels the execution of a job for a given thing. *

*

* Requires permission to access the CancelJobExecution action. *

*
*

* This is a convenience which creates an instance of the {@link CancelJobExecutionRequest.Builder} avoiding the * need to create one manually via {@link CancelJobExecutionRequest#builder()} *

* * @param cancelJobExecutionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CancelJobExecutionRequest.Builder} to create a request. * @return A Java Future containing the result of the CancelJobExecution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidStateTransitionException An attempt was made to change to an invalid state, for example by * deleting a job or a job execution which is "IN_PROGRESS" without setting the force * parameter.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CancelJobExecution */ default CompletableFuture cancelJobExecution( Consumer cancelJobExecutionRequest) { return cancelJobExecution(CancelJobExecutionRequest.builder().applyMutation(cancelJobExecutionRequest).build()); } /** *

* Clears the default authorizer. *

*

* Requires permission to access the ClearDefaultAuthorizer action. *

* * @param clearDefaultAuthorizerRequest * @return A Java Future containing the result of the ClearDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ClearDefaultAuthorizer */ default CompletableFuture clearDefaultAuthorizer( ClearDefaultAuthorizerRequest clearDefaultAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Clears the default authorizer. *

*

* Requires permission to access the ClearDefaultAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link ClearDefaultAuthorizerRequest.Builder} avoiding the * need to create one manually via {@link ClearDefaultAuthorizerRequest#builder()} *

* * @param clearDefaultAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ClearDefaultAuthorizerRequest.Builder} to create a * request. * @return A Java Future containing the result of the ClearDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ClearDefaultAuthorizer */ default CompletableFuture clearDefaultAuthorizer( Consumer clearDefaultAuthorizerRequest) { return clearDefaultAuthorizer(ClearDefaultAuthorizerRequest.builder().applyMutation(clearDefaultAuthorizerRequest) .build()); } /** *

* Clears the default authorizer. *

*

* Requires permission to access the ClearDefaultAuthorizer action. *

* * @return A Java Future containing the result of the ClearDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ClearDefaultAuthorizer */ default CompletableFuture clearDefaultAuthorizer() { return clearDefaultAuthorizer(ClearDefaultAuthorizerRequest.builder().build()); } /** *

* Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation * message to the endpoint or base address you specify. The message includes a token which you pass back when * calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint. *

*

* Requires permission to access the ConfirmTopicRuleDestination action. *

* * @param confirmTopicRuleDestinationRequest * @return A Java Future containing the result of the ConfirmTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ConfirmTopicRuleDestination */ default CompletableFuture confirmTopicRuleDestination( ConfirmTopicRuleDestinationRequest confirmTopicRuleDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation * message to the endpoint or base address you specify. The message includes a token which you pass back when * calling ConfirmTopicRuleDestination to confirm that you own or have access to the endpoint. *

*

* Requires permission to access the ConfirmTopicRuleDestination action. *

*
*

* This is a convenience which creates an instance of the {@link ConfirmTopicRuleDestinationRequest.Builder} * avoiding the need to create one manually via {@link ConfirmTopicRuleDestinationRequest#builder()} *

* * @param confirmTopicRuleDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ConfirmTopicRuleDestinationRequest.Builder} to create a * request. * @return A Java Future containing the result of the ConfirmTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ConfirmTopicRuleDestination */ default CompletableFuture confirmTopicRuleDestination( Consumer confirmTopicRuleDestinationRequest) { return confirmTopicRuleDestination(ConfirmTopicRuleDestinationRequest.builder() .applyMutation(confirmTopicRuleDestinationRequest).build()); } /** *

* Creates a Device Defender audit suppression. *

*

* Requires permission to access the CreateAuditSuppression action. *

* * @param createAuditSuppressionRequest * @return A Java Future containing the result of the CreateAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateAuditSuppression */ default CompletableFuture createAuditSuppression( CreateAuditSuppressionRequest createAuditSuppressionRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a Device Defender audit suppression. *

*

* Requires permission to access the CreateAuditSuppression action. *

*
*

* This is a convenience which creates an instance of the {@link CreateAuditSuppressionRequest.Builder} avoiding the * need to create one manually via {@link CreateAuditSuppressionRequest#builder()} *

* * @param createAuditSuppressionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateAuditSuppressionRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateAuditSuppression */ default CompletableFuture createAuditSuppression( Consumer createAuditSuppressionRequest) { return createAuditSuppression(CreateAuditSuppressionRequest.builder().applyMutation(createAuditSuppressionRequest) .build()); } /** *

* Creates an authorizer. *

*

* Requires permission to access the CreateAuthorizer action. *

* * @param createAuthorizerRequest * @return A Java Future containing the result of the CreateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateAuthorizer */ default CompletableFuture createAuthorizer(CreateAuthorizerRequest createAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an authorizer. *

*

* Requires permission to access the CreateAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link CreateAuthorizerRequest.Builder} avoiding the need * to create one manually via {@link CreateAuthorizerRequest#builder()} *

* * @param createAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateAuthorizerRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateAuthorizer */ default CompletableFuture createAuthorizer( Consumer createAuthorizerRequest) { return createAuthorizer(CreateAuthorizerRequest.builder().applyMutation(createAuthorizerRequest).build()); } /** *

* Creates a billing group. *

*

* Requires permission to access the CreateBillingGroup action. *

* * @param createBillingGroupRequest * @return A Java Future containing the result of the CreateBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateBillingGroup */ default CompletableFuture createBillingGroup(CreateBillingGroupRequest createBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a billing group. *

*

* Requires permission to access the CreateBillingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link CreateBillingGroupRequest.Builder} avoiding the * need to create one manually via {@link CreateBillingGroupRequest#builder()} *

* * @param createBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateBillingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateBillingGroup */ default CompletableFuture createBillingGroup( Consumer createBillingGroupRequest) { return createBillingGroup(CreateBillingGroupRequest.builder().applyMutation(createBillingGroupRequest).build()); } /** *

* Creates an X.509 certificate using the specified certificate signing request. *

*

* Requires permission to access the CreateCertificateFromCsr action. *

* *

* The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key * from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult * Certificate signing algorithms supported by IoT. *

*
*

* Reusing the same certificate signing request (CSR) results in a distinct certificate. *

*
*

* You can create multiple certificates in a batch by creating a directory, copying multiple .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. In the following commands, we assume that a set of CSRs are * located inside of the directory my-csr-directory: *

*

* On Linux and OS X, the command is: *

*

* $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} *

*

* This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the * aws iot create-certificate-from-csr Amazon Web Services CLI command to create a certificate for the * corresponding CSR. *

*

* You can also run the aws iot create-certificate-from-csr part of the command 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" *

* * @param createCertificateFromCsrRequest * The input for the CreateCertificateFromCsr operation. * @return A Java Future containing the result of the CreateCertificateFromCsr operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateCertificateFromCsr */ default CompletableFuture createCertificateFromCsr( CreateCertificateFromCsrRequest createCertificateFromCsrRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an X.509 certificate using the specified certificate signing request. *

*

* Requires permission to access the CreateCertificateFromCsr action. *

* *

* The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key * from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult * Certificate signing algorithms supported by IoT. *

*
*

* Reusing the same certificate signing request (CSR) results in a distinct certificate. *

*
*

* You can create multiple certificates in a batch by creating a directory, copying multiple .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. In the following commands, we assume that a set of CSRs are * located inside of the directory my-csr-directory: *

*

* On Linux and OS X, the command is: *

*

* $ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} *

*

* This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the * aws iot create-certificate-from-csr Amazon Web Services CLI command to create a certificate for the * corresponding CSR. *

*

* You can also run the aws iot create-certificate-from-csr part of the command 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 {@link CreateCertificateFromCsrRequest.Builder} avoiding * the need to create one manually via {@link CreateCertificateFromCsrRequest#builder()} *

* * @param createCertificateFromCsrRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateCertificateFromCsrRequest.Builder} to create a * request. The input for the CreateCertificateFromCsr operation. * @return A Java Future containing the result of the CreateCertificateFromCsr operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateCertificateFromCsr */ default CompletableFuture createCertificateFromCsr( Consumer createCertificateFromCsrRequest) { return createCertificateFromCsr(CreateCertificateFromCsrRequest.builder().applyMutation(createCertificateFromCsrRequest) .build()); } /** *

* Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core * certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For * more information, see Customizing * certificate signing using Amazon Web Services IoT Core certificate provider from Amazon Web Services IoT * Core Developer Guide. *

*

* Requires permission to access the CreateCertificateProvider action. *

* *

* After you create a certificate provider, the behavior of * CreateCertificateFromCsr API for fleet provisioning will change and all API calls to * CreateCertificateFromCsr will invoke the certificate provider to create the certificates. It can * take up to a few minutes for this behavior to change after a certificate provider is created. *

*
* * @param createCertificateProviderRequest * @return A Java Future containing the result of the CreateCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateCertificateProvider */ default CompletableFuture createCertificateProvider( CreateCertificateProviderRequest createCertificateProviderRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core * certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For * more information, see Customizing * certificate signing using Amazon Web Services IoT Core certificate provider from Amazon Web Services IoT * Core Developer Guide. *

*

* Requires permission to access the CreateCertificateProvider action. *

* *

* After you create a certificate provider, the behavior of * CreateCertificateFromCsr API for fleet provisioning will change and all API calls to * CreateCertificateFromCsr will invoke the certificate provider to create the certificates. It can * take up to a few minutes for this behavior to change after a certificate provider is created. *

*

*

* This is a convenience which creates an instance of the {@link CreateCertificateProviderRequest.Builder} avoiding * the need to create one manually via {@link CreateCertificateProviderRequest#builder()} *

* * @param createCertificateProviderRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateCertificateProviderRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateCertificateProvider */ default CompletableFuture createCertificateProvider( Consumer createCertificateProviderRequest) { return createCertificateProvider(CreateCertificateProviderRequest.builder() .applyMutation(createCertificateProviderRequest).build()); } /** *

* Use this API to define a Custom Metric published by your devices to Device Defender. *

*

* Requires permission to access the CreateCustomMetric action. *

* * @param createCustomMetricRequest * @return A Java Future containing the result of the CreateCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateCustomMetric */ default CompletableFuture createCustomMetric(CreateCustomMetricRequest createCustomMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Use this API to define a Custom Metric published by your devices to Device Defender. *

*

* Requires permission to access the CreateCustomMetric action. *

*
*

* This is a convenience which creates an instance of the {@link CreateCustomMetricRequest.Builder} avoiding the * need to create one manually via {@link CreateCustomMetricRequest#builder()} *

* * @param createCustomMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateCustomMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateCustomMetric */ default CompletableFuture createCustomMetric( Consumer createCustomMetricRequest) { return createCustomMetric(CreateCustomMetricRequest.builder().applyMutation(createCustomMetricRequest).build()); } /** *

* Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device * Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric * only to MQTT topics whose name match the pattern specified in the dimension. *

*

* Requires permission to access the CreateDimension action. *

* * @param createDimensionRequest * @return A Java Future containing the result of the CreateDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateDimension */ default CompletableFuture createDimension(CreateDimensionRequest createDimensionRequest) { throw new UnsupportedOperationException(); } /** *

* Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device * Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric * only to MQTT topics whose name match the pattern specified in the dimension. *

*

* Requires permission to access the CreateDimension action. *

*
*

* This is a convenience which creates an instance of the {@link CreateDimensionRequest.Builder} avoiding the need * to create one manually via {@link CreateDimensionRequest#builder()} *

* * @param createDimensionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateDimensionRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateDimension */ default CompletableFuture createDimension( Consumer createDimensionRequest) { return createDimension(CreateDimensionRequest.builder().applyMutation(createDimensionRequest).build()); } /** *

* Creates a domain configuration. *

*

* Requires permission to access the CreateDomainConfiguration action. *

* * @param createDomainConfigurationRequest * @return A Java Future containing the result of the CreateDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • LimitExceededException A limit has been exceeded.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateDomainConfiguration */ default CompletableFuture createDomainConfiguration( CreateDomainConfigurationRequest createDomainConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a domain configuration. *

*

* Requires permission to access the CreateDomainConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link CreateDomainConfigurationRequest.Builder} avoiding * the need to create one manually via {@link CreateDomainConfigurationRequest#builder()} *

* * @param createDomainConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateDomainConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • LimitExceededException A limit has been exceeded.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateDomainConfiguration */ default CompletableFuture createDomainConfiguration( Consumer createDomainConfigurationRequest) { return createDomainConfiguration(CreateDomainConfigurationRequest.builder() .applyMutation(createDomainConfigurationRequest).build()); } /** *

* Creates a dynamic thing group. *

*

* Requires permission to access the CreateDynamicThingGroup action. *

* * @param createDynamicThingGroupRequest * @return A Java Future containing the result of the CreateDynamicThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateDynamicThingGroup */ default CompletableFuture createDynamicThingGroup( CreateDynamicThingGroupRequest createDynamicThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a dynamic thing group. *

*

* Requires permission to access the CreateDynamicThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link CreateDynamicThingGroupRequest.Builder} avoiding * the need to create one manually via {@link CreateDynamicThingGroupRequest#builder()} *

* * @param createDynamicThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateDynamicThingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateDynamicThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateDynamicThingGroup */ default CompletableFuture createDynamicThingGroup( Consumer createDynamicThingGroupRequest) { return createDynamicThingGroup(CreateDynamicThingGroupRequest.builder().applyMutation(createDynamicThingGroupRequest) .build()); } /** *

* Creates a fleet metric. *

*

* Requires permission to access the CreateFleetMetric action. *

* * @param createFleetMetricRequest * @return A Java Future containing the result of the CreateFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateFleetMetric */ default CompletableFuture createFleetMetric(CreateFleetMetricRequest createFleetMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a fleet metric. *

*

* Requires permission to access the CreateFleetMetric action. *

*
*

* This is a convenience which creates an instance of the {@link CreateFleetMetricRequest.Builder} avoiding the need * to create one manually via {@link CreateFleetMetricRequest#builder()} *

* * @param createFleetMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateFleetMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateFleetMetric */ default CompletableFuture createFleetMetric( Consumer createFleetMetricRequest) { return createFleetMetric(CreateFleetMetricRequest.builder().applyMutation(createFleetMetricRequest).build()); } /** *

* Creates a job. *

*

* Requires permission to access the CreateJob action. *

* * @param createJobRequest * @return A Java Future containing the result of the CreateJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateJob */ default CompletableFuture createJob(CreateJobRequest createJobRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a job. *

*

* Requires permission to access the CreateJob action. *

*
*

* This is a convenience which creates an instance of the {@link CreateJobRequest.Builder} avoiding the need to * create one manually via {@link CreateJobRequest#builder()} *

* * @param createJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateJobRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateJob */ default CompletableFuture createJob(Consumer createJobRequest) { return createJob(CreateJobRequest.builder().applyMutation(createJobRequest).build()); } /** *

* Creates a job template. *

*

* Requires permission to access the CreateJobTemplate action. *

* * @param createJobTemplateRequest * @return A Java Future containing the result of the CreateJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateJobTemplate */ default CompletableFuture createJobTemplate(CreateJobTemplateRequest createJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a job template. *

*

* Requires permission to access the CreateJobTemplate action. *

*
*

* This is a convenience which creates an instance of the {@link CreateJobTemplateRequest.Builder} avoiding the need * to create one manually via {@link CreateJobTemplateRequest#builder()} *

* * @param createJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateJobTemplateRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateJobTemplate */ default CompletableFuture createJobTemplate( Consumer createJobTemplateRequest) { return createJobTemplate(CreateJobTemplateRequest.builder().applyMutation(createJobTemplateRequest).build()); } /** *

* Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call * CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API. *

*

* Note This is the only time IoT issues the private key for this certificate, so it is important to keep it * in a secure location. *

*

* Requires permission to access the CreateKeysAndCertificate action. *

* * @param createKeysAndCertificateRequest * The input for the CreateKeysAndCertificate operation.

*

* Requires permission to access the CreateKeysAndCertificateRequest action. * @return A Java Future containing the result of the CreateKeysAndCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *

    *
  • InvalidRequestException The request is not valid.
  • ThrottlingException The rate exceeds the * limit.
  • UnauthorizedException You are not authorized to perform this operation.
  • * ServiceUnavailableException The service is temporarily unavailable.
  • InternalFailureException An * unexpected error has occurred.
  • SdkException Base class for all exceptions that can be thrown by * the SDK (both service and client). Can be used for catch all scenarios.
  • SdkClientException If * any client side error occurs such as an IO related failure, failure to get credentials, etc.
  • * IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of * this type.
  • *
* @sample IotAsyncClient.CreateKeysAndCertificate */ default CompletableFuture createKeysAndCertificate( CreateKeysAndCertificateRequest createKeysAndCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call * CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API. *

*

* Note This is the only time IoT issues the private key for this certificate, so it is important to keep it * in a secure location. *

*

* Requires permission to access the CreateKeysAndCertificate action. *

*
*

* This is a convenience which creates an instance of the {@link CreateKeysAndCertificateRequest.Builder} avoiding * the need to create one manually via {@link CreateKeysAndCertificateRequest#builder()} *

* * @param createKeysAndCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateKeysAndCertificateRequest.Builder} to create a * request. The input for the CreateKeysAndCertificate operation.

*

* Requires permission to access the CreateKeysAndCertificateRequest action. * @return A Java Future containing the result of the CreateKeysAndCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *

    *
  • InvalidRequestException The request is not valid.
  • ThrottlingException The rate exceeds the * limit.
  • UnauthorizedException You are not authorized to perform this operation.
  • * ServiceUnavailableException The service is temporarily unavailable.
  • InternalFailureException An * unexpected error has occurred.
  • SdkException Base class for all exceptions that can be thrown by * the SDK (both service and client). Can be used for catch all scenarios.
  • SdkClientException If * any client side error occurs such as an IO related failure, failure to get credentials, etc.
  • * IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of * this type.
  • *
* @sample IotAsyncClient.CreateKeysAndCertificate */ default CompletableFuture createKeysAndCertificate( Consumer createKeysAndCertificateRequest) { return createKeysAndCertificate(CreateKeysAndCertificateRequest.builder().applyMutation(createKeysAndCertificateRequest) .build()); } /** *

* Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call * CreateKeysAndCertificate over MQTT from a device, for more information, see Provisioning MQTT API. *

*

* Note This is the only time IoT issues the private key for this certificate, so it is important to keep it * in a secure location. *

*

* Requires permission to access the CreateKeysAndCertificate action. *

* * @return A Java Future containing the result of the CreateKeysAndCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateKeysAndCertificate */ default CompletableFuture createKeysAndCertificate() { return createKeysAndCertificate(CreateKeysAndCertificateRequest.builder().build()); } /** *

* Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain * types of mitigation actions can be applied to specific check names. For more information, see Mitigation * actions. Each mitigation action can apply only one type of change. *

*

* Requires permission to access the CreateMitigationAction action. *

* * @param createMitigationActionRequest * @return A Java Future containing the result of the CreateMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateMitigationAction */ default CompletableFuture createMitigationAction( CreateMitigationActionRequest createMitigationActionRequest) { throw new UnsupportedOperationException(); } /** *

* Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain * types of mitigation actions can be applied to specific check names. For more information, see Mitigation * actions. Each mitigation action can apply only one type of change. *

*

* Requires permission to access the CreateMitigationAction action. *

*
*

* This is a convenience which creates an instance of the {@link CreateMitigationActionRequest.Builder} avoiding the * need to create one manually via {@link CreateMitigationActionRequest#builder()} *

* * @param createMitigationActionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateMitigationActionRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateMitigationAction */ default CompletableFuture createMitigationAction( Consumer createMitigationActionRequest) { return createMitigationAction(CreateMitigationActionRequest.builder().applyMutation(createMitigationActionRequest) .build()); } /** *

* Creates an IoT OTA update on a target group of things or groups. *

*

* Requires permission to access the CreateOTAUpdate action. *

* * @param createOtaUpdateRequest * @return A Java Future containing the result of the CreateOTAUpdate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateOTAUpdate */ default CompletableFuture createOTAUpdate(CreateOtaUpdateRequest createOtaUpdateRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an IoT OTA update on a target group of things or groups. *

*

* Requires permission to access the CreateOTAUpdate action. *

*
*

* This is a convenience which creates an instance of the {@link CreateOtaUpdateRequest.Builder} avoiding the need * to create one manually via {@link CreateOtaUpdateRequest#builder()} *

* * @param createOtaUpdateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateOtaUpdateRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateOTAUpdate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateOTAUpdate */ default CompletableFuture createOTAUpdate( Consumer createOtaUpdateRequest) { return createOTAUpdate(CreateOtaUpdateRequest.builder().applyMutation(createOtaUpdateRequest).build()); } /** *

* Creates an IoT software package that can be deployed to your fleet. *

*

* Requires permission to access the CreatePackage and GetIndexingConfiguration actions. *

* * @param createPackageRequest * @return A Java Future containing the result of the CreatePackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ServiceQuotaExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePackage */ default CompletableFuture createPackage(CreatePackageRequest createPackageRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an IoT software package that can be deployed to your fleet. *

*

* Requires permission to access the CreatePackage and GetIndexingConfiguration actions. *

*
*

* This is a convenience which creates an instance of the {@link CreatePackageRequest.Builder} avoiding the need to * create one manually via {@link CreatePackageRequest#builder()} *

* * @param createPackageRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreatePackageRequest.Builder} to create a request. * @return A Java Future containing the result of the CreatePackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ServiceQuotaExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePackage */ default CompletableFuture createPackage(Consumer createPackageRequest) { return createPackage(CreatePackageRequest.builder().applyMutation(createPackageRequest).build()); } /** *

* Creates a new version for an existing IoT software package. *

*

* Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions. *

* * @param createPackageVersionRequest * @return A Java Future containing the result of the CreatePackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ServiceQuotaExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePackageVersion */ default CompletableFuture createPackageVersion( CreatePackageVersionRequest createPackageVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new version for an existing IoT software package. *

*

* Requires permission to access the CreatePackageVersion and GetIndexingConfiguration actions. *

*
*

* This is a convenience which creates an instance of the {@link CreatePackageVersionRequest.Builder} avoiding the * need to create one manually via {@link CreatePackageVersionRequest#builder()} *

* * @param createPackageVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreatePackageVersionRequest.Builder} to create a request. * @return A Java Future containing the result of the CreatePackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ServiceQuotaExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePackageVersion */ default CompletableFuture createPackageVersion( Consumer createPackageVersionRequest) { return createPackageVersion(CreatePackageVersionRequest.builder().applyMutation(createPackageVersionRequest).build()); } /** *

* Creates an IoT policy. *

*

* The created policy is the default version for the policy. This operation creates a policy version with a version * identifier of 1 and sets 1 as the policy's default version. *

*

* Requires permission to access the CreatePolicy action. *

* * @param createPolicyRequest * The input for the CreatePolicy operation. * @return A Java Future containing the result of the CreatePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • MalformedPolicyException The policy documentation is not valid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePolicy */ default CompletableFuture createPolicy(CreatePolicyRequest createPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Creates an IoT policy. *

*

* The created policy is the default version for the policy. This operation creates a policy version with a version * identifier of 1 and sets 1 as the policy's default version. *

*

* Requires permission to access the CreatePolicy action. *

*
*

* This is a convenience which creates an instance of the {@link CreatePolicyRequest.Builder} avoiding the need to * create one manually via {@link CreatePolicyRequest#builder()} *

* * @param createPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreatePolicyRequest.Builder} to create a request. The * input for the CreatePolicy operation. * @return A Java Future containing the result of the CreatePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • MalformedPolicyException The policy documentation is not valid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePolicy */ default CompletableFuture createPolicy(Consumer createPolicyRequest) { return createPolicy(CreatePolicyRequest.builder().applyMutation(createPolicyRequest).build()); } /** *

* Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed * policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to * delete an existing version before you create a new one. *

*

* Optionally, you can set the new version as the policy's default version. The default version is the operative * version (that is, the version that is in effect for the certificates to which the policy is attached). *

*

* Requires permission to access the CreatePolicyVersion action. *

* * @param createPolicyVersionRequest * The input for the CreatePolicyVersion operation. * @return A Java Future containing the result of the CreatePolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • MalformedPolicyException The policy documentation is not valid.
  • *
  • VersionsLimitExceededException The number of policy versions exceeds the limit.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePolicyVersion */ default CompletableFuture createPolicyVersion( CreatePolicyVersionRequest createPolicyVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed * policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to * delete an existing version before you create a new one. *

*

* Optionally, you can set the new version as the policy's default version. The default version is the operative * version (that is, the version that is in effect for the certificates to which the policy is attached). *

*

* Requires permission to access the CreatePolicyVersion action. *

*
*

* This is a convenience which creates an instance of the {@link CreatePolicyVersionRequest.Builder} avoiding the * need to create one manually via {@link CreatePolicyVersionRequest#builder()} *

* * @param createPolicyVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreatePolicyVersionRequest.Builder} to create a request. * The input for the CreatePolicyVersion operation. * @return A Java Future containing the result of the CreatePolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • MalformedPolicyException The policy documentation is not valid.
  • *
  • VersionsLimitExceededException The number of policy versions exceeds the limit.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreatePolicyVersion */ default CompletableFuture createPolicyVersion( Consumer createPolicyVersionRequest) { return createPolicyVersion(CreatePolicyVersionRequest.builder().applyMutation(createPolicyVersionRequest).build()); } /** *

* Creates a provisioning claim. *

*

* Requires permission to access the CreateProvisioningClaim action. *

* * @param createProvisioningClaimRequest * @return A Java Future containing the result of the CreateProvisioningClaim operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateProvisioningClaim */ default CompletableFuture createProvisioningClaim( CreateProvisioningClaimRequest createProvisioningClaimRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a provisioning claim. *

*

* Requires permission to access the CreateProvisioningClaim action. *

*
*

* This is a convenience which creates an instance of the {@link CreateProvisioningClaimRequest.Builder} avoiding * the need to create one manually via {@link CreateProvisioningClaimRequest#builder()} *

* * @param createProvisioningClaimRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateProvisioningClaimRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateProvisioningClaim operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateProvisioningClaim */ default CompletableFuture createProvisioningClaim( Consumer createProvisioningClaimRequest) { return createProvisioningClaim(CreateProvisioningClaimRequest.builder().applyMutation(createProvisioningClaimRequest) .build()); } /** *

* Creates a provisioning template. *

*

* Requires permission to access the CreateProvisioningTemplate action. *

* * @param createProvisioningTemplateRequest * @return A Java Future containing the result of the CreateProvisioningTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateProvisioningTemplate */ default CompletableFuture createProvisioningTemplate( CreateProvisioningTemplateRequest createProvisioningTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a provisioning template. *

*

* Requires permission to access the CreateProvisioningTemplate action. *

*
*

* This is a convenience which creates an instance of the {@link CreateProvisioningTemplateRequest.Builder} avoiding * the need to create one manually via {@link CreateProvisioningTemplateRequest#builder()} *

* * @param createProvisioningTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateProvisioningTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateProvisioningTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateProvisioningTemplate */ default CompletableFuture createProvisioningTemplate( Consumer createProvisioningTemplateRequest) { return createProvisioningTemplate(CreateProvisioningTemplateRequest.builder() .applyMutation(createProvisioningTemplateRequest).build()); } /** *

* Creates a new version of a provisioning template. *

*

* Requires permission to access the CreateProvisioningTemplateVersion action. *

* * @param createProvisioningTemplateVersionRequest * @return A Java Future containing the result of the CreateProvisioningTemplateVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • VersionsLimitExceededException The number of policy versions exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateProvisioningTemplateVersion */ default CompletableFuture createProvisioningTemplateVersion( CreateProvisioningTemplateVersionRequest createProvisioningTemplateVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new version of a provisioning template. *

*

* Requires permission to access the CreateProvisioningTemplateVersion action. *

*
*

* This is a convenience which creates an instance of the {@link CreateProvisioningTemplateVersionRequest.Builder} * avoiding the need to create one manually via {@link CreateProvisioningTemplateVersionRequest#builder()} *

* * @param createProvisioningTemplateVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateProvisioningTemplateVersionRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreateProvisioningTemplateVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • VersionsLimitExceededException The number of policy versions exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateProvisioningTemplateVersion */ default CompletableFuture createProvisioningTemplateVersion( Consumer createProvisioningTemplateVersionRequest) { return createProvisioningTemplateVersion(CreateProvisioningTemplateVersionRequest.builder() .applyMutation(createProvisioningTemplateVersionRequest).build()); } /** *

* Creates a role alias. *

*

* Requires permission to access the CreateRoleAlias action. *

* * @param createRoleAliasRequest * @return A Java Future containing the result of the CreateRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateRoleAlias */ default CompletableFuture createRoleAlias(CreateRoleAliasRequest createRoleAliasRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a role alias. *

*

* Requires permission to access the CreateRoleAlias action. *

*
*

* This is a convenience which creates an instance of the {@link CreateRoleAliasRequest.Builder} avoiding the need * to create one manually via {@link CreateRoleAliasRequest#builder()} *

* * @param createRoleAliasRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateRoleAliasRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateRoleAlias */ default CompletableFuture createRoleAlias( Consumer createRoleAliasRequest) { return createRoleAlias(CreateRoleAliasRequest.builder().applyMutation(createRoleAliasRequest).build()); } /** *

* Creates a scheduled audit that is run at a specified time interval. *

*

* Requires permission to access the CreateScheduledAudit action. *

* * @param createScheduledAuditRequest * @return A Java Future containing the result of the CreateScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateScheduledAudit */ default CompletableFuture createScheduledAudit( CreateScheduledAuditRequest createScheduledAuditRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a scheduled audit that is run at a specified time interval. *

*

* Requires permission to access the CreateScheduledAudit action. *

*
*

* This is a convenience which creates an instance of the {@link CreateScheduledAuditRequest.Builder} avoiding the * need to create one manually via {@link CreateScheduledAuditRequest#builder()} *

* * @param createScheduledAuditRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateScheduledAuditRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateScheduledAudit */ default CompletableFuture createScheduledAudit( Consumer createScheduledAuditRequest) { return createScheduledAudit(CreateScheduledAuditRequest.builder().applyMutation(createScheduledAuditRequest).build()); } /** *

* Creates a Device Defender security profile. *

*

* Requires permission to access the CreateSecurityProfile action. *

* * @param createSecurityProfileRequest * @return A Java Future containing the result of the CreateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateSecurityProfile */ default CompletableFuture createSecurityProfile( CreateSecurityProfileRequest createSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a Device Defender security profile. *

*

* Requires permission to access the CreateSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link CreateSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link CreateSecurityProfileRequest#builder()} *

* * @param createSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateSecurityProfile */ default CompletableFuture createSecurityProfile( Consumer createSecurityProfileRequest) { return createSecurityProfile(CreateSecurityProfileRequest.builder().applyMutation(createSecurityProfileRequest).build()); } /** *

* Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in * chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with * a stream. *

*

* Requires permission to access the CreateStream action. *

* * @param createStreamRequest * @return A Java Future containing the result of the CreateStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateStream */ default CompletableFuture createStream(CreateStreamRequest createStreamRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in * chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with * a stream. *

*

* Requires permission to access the CreateStream action. *

*
*

* This is a convenience which creates an instance of the {@link CreateStreamRequest.Builder} avoiding the need to * create one manually via {@link CreateStreamRequest#builder()} *

* * @param createStreamRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateStreamRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateStream */ default CompletableFuture createStream(Consumer createStreamRequest) { return createStream(CreateStreamRequest.builder().applyMutation(createStreamRequest).build()); } /** *

* Creates a thing record in the registry. If this call is made multiple times using the same thing name and * configuration, the call will succeed. If this call is made with the same thing name but different configuration a * ResourceAlreadyExistsException is thrown. *

* *

* This is a control plane operation. See Authorization for * information about authorizing control plane actions. *

*
*

* Requires permission to access the CreateThing action. *

* * @param createThingRequest * The input for the CreateThing operation. * @return A Java Future containing the result of the CreateThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateThing */ default CompletableFuture createThing(CreateThingRequest createThingRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a thing record in the registry. If this call is made multiple times using the same thing name and * configuration, the call will succeed. If this call is made with the same thing name but different configuration a * ResourceAlreadyExistsException is thrown. *

* *

* This is a control plane operation. See Authorization for * information about authorizing control plane actions. *

*
*

* Requires permission to access the CreateThing action. *

*
*

* This is a convenience which creates an instance of the {@link CreateThingRequest.Builder} avoiding the need to * create one manually via {@link CreateThingRequest#builder()} *

* * @param createThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateThingRequest.Builder} to create a request. The * input for the CreateThing operation. * @return A Java Future containing the result of the CreateThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateThing */ default CompletableFuture createThing(Consumer createThingRequest) { return createThing(CreateThingRequest.builder().applyMutation(createThingRequest).build()); } /** *

* Create a thing group. *

* *

* This is a control plane operation. See Authorization for * information about authorizing control plane actions. *

*

* If the ThingGroup that you create has the exact same attributes as an existing * ThingGroup, you will get a 200 success response. *

*
*

* Requires permission to access the CreateThingGroup action. *

* * @param createThingGroupRequest * @return A Java Future containing the result of the CreateThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateThingGroup */ default CompletableFuture createThingGroup(CreateThingGroupRequest createThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Create a thing group. *

* *

* This is a control plane operation. See Authorization for * information about authorizing control plane actions. *

*

* If the ThingGroup that you create has the exact same attributes as an existing * ThingGroup, you will get a 200 success response. *

*
*

* Requires permission to access the CreateThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link CreateThingGroupRequest.Builder} avoiding the need * to create one manually via {@link CreateThingGroupRequest#builder()} *

* * @param createThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateThingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateThingGroup */ default CompletableFuture createThingGroup( Consumer createThingGroupRequest) { return createThingGroup(CreateThingGroupRequest.builder().applyMutation(createThingGroupRequest).build()); } /** *

* Creates a new thing type. *

*

* Requires permission to access the CreateThingType action. *

* * @param createThingTypeRequest * The input for the CreateThingType operation. * @return A Java Future containing the result of the CreateThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateThingType */ default CompletableFuture createThingType(CreateThingTypeRequest createThingTypeRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a new thing type. *

*

* Requires permission to access the CreateThingType action. *

*
*

* This is a convenience which creates an instance of the {@link CreateThingTypeRequest.Builder} avoiding the need * to create one manually via {@link CreateThingTypeRequest#builder()} *

* * @param createThingTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateThingTypeRequest.Builder} to create a request. The * input for the CreateThingType operation. * @return A Java Future containing the result of the CreateThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateThingType */ default CompletableFuture createThingType( Consumer createThingTypeRequest) { return createThingType(CreateThingTypeRequest.builder().applyMutation(createThingTypeRequest).build()); } /** *

* Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will * be able to access data processed by the rule. *

*

* Requires permission to access the CreateTopicRule action. *

* * @param createTopicRuleRequest * The input for the CreateTopicRule operation. * @return A Java Future containing the result of the CreateTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • SqlParseException The Rule-SQL expression can't be parsed correctly.
  • *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateTopicRule */ default CompletableFuture createTopicRule(CreateTopicRuleRequest createTopicRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will * be able to access data processed by the rule. *

*

* Requires permission to access the CreateTopicRule action. *

*
*

* This is a convenience which creates an instance of the {@link CreateTopicRuleRequest.Builder} avoiding the need * to create one manually via {@link CreateTopicRuleRequest#builder()} *

* * @param createTopicRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateTopicRuleRequest.Builder} to create a request. The * input for the CreateTopicRule operation. * @return A Java Future containing the result of the CreateTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • SqlParseException The Rule-SQL expression can't be parsed correctly.
  • *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateTopicRule */ default CompletableFuture createTopicRule( Consumer createTopicRuleRequest) { return createTopicRule(CreateTopicRuleRequest.builder().applyMutation(createTopicRuleRequest).build()); } /** *

* Creates a topic rule destination. The destination must be confirmed prior to use. *

*

* Requires permission to access the CreateTopicRuleDestination action. *

* * @param createTopicRuleDestinationRequest * @return A Java Future containing the result of the CreateTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateTopicRuleDestination */ default CompletableFuture createTopicRuleDestination( CreateTopicRuleDestinationRequest createTopicRuleDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a topic rule destination. The destination must be confirmed prior to use. *

*

* Requires permission to access the CreateTopicRuleDestination action. *

*
*

* This is a convenience which creates an instance of the {@link CreateTopicRuleDestinationRequest.Builder} avoiding * the need to create one manually via {@link CreateTopicRuleDestinationRequest#builder()} *

* * @param createTopicRuleDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.CreateTopicRuleDestinationRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.CreateTopicRuleDestination */ default CompletableFuture createTopicRuleDestination( Consumer createTopicRuleDestinationRequest) { return createTopicRuleDestination(CreateTopicRuleDestinationRequest.builder() .applyMutation(createTopicRuleDestinationRequest).build()); } /** *

* Restores the default settings for Device Defender audits for this account. Any configuration data you entered is * deleted and all audit checks are reset to disabled. *

*

* Requires permission to access the DeleteAccountAuditConfiguration action. *

* * @param deleteAccountAuditConfigurationRequest * @return A Java Future containing the result of the DeleteAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAccountAuditConfiguration */ default CompletableFuture deleteAccountAuditConfiguration( DeleteAccountAuditConfigurationRequest deleteAccountAuditConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Restores the default settings for Device Defender audits for this account. Any configuration data you entered is * deleted and all audit checks are reset to disabled. *

*

* Requires permission to access the DeleteAccountAuditConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteAccountAuditConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DeleteAccountAuditConfigurationRequest#builder()} *

* * @param deleteAccountAuditConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteAccountAuditConfigurationRequest.Builder} to create * a request. * @return A Java Future containing the result of the DeleteAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAccountAuditConfiguration */ default CompletableFuture deleteAccountAuditConfiguration( Consumer deleteAccountAuditConfigurationRequest) { return deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest.builder() .applyMutation(deleteAccountAuditConfigurationRequest).build()); } /** *

* Restores the default settings for Device Defender audits for this account. Any configuration data you entered is * deleted and all audit checks are reset to disabled. *

*

* Requires permission to access the DeleteAccountAuditConfiguration action. *

* * @return A Java Future containing the result of the DeleteAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAccountAuditConfiguration */ default CompletableFuture deleteAccountAuditConfiguration() { return deleteAccountAuditConfiguration(DeleteAccountAuditConfigurationRequest.builder().build()); } /** *

* Deletes a Device Defender audit suppression. *

*

* Requires permission to access the DeleteAuditSuppression action. *

* * @param deleteAuditSuppressionRequest * @return A Java Future containing the result of the DeleteAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAuditSuppression */ default CompletableFuture deleteAuditSuppression( DeleteAuditSuppressionRequest deleteAuditSuppressionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Device Defender audit suppression. *

*

* Requires permission to access the DeleteAuditSuppression action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteAuditSuppressionRequest.Builder} avoiding the * need to create one manually via {@link DeleteAuditSuppressionRequest#builder()} *

* * @param deleteAuditSuppressionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteAuditSuppressionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAuditSuppression */ default CompletableFuture deleteAuditSuppression( Consumer deleteAuditSuppressionRequest) { return deleteAuditSuppression(DeleteAuditSuppressionRequest.builder().applyMutation(deleteAuditSuppressionRequest) .build()); } /** *

* Deletes an authorizer. *

*

* Requires permission to access the DeleteAuthorizer action. *

* * @param deleteAuthorizerRequest * @return A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAuthorizer */ default CompletableFuture deleteAuthorizer(DeleteAuthorizerRequest deleteAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an authorizer. *

*

* Requires permission to access the DeleteAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteAuthorizerRequest.Builder} avoiding the need * to create one manually via {@link DeleteAuthorizerRequest#builder()} *

* * @param deleteAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteAuthorizerRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteAuthorizer */ default CompletableFuture deleteAuthorizer( Consumer deleteAuthorizerRequest) { return deleteAuthorizer(DeleteAuthorizerRequest.builder().applyMutation(deleteAuthorizerRequest).build()); } /** *

* Deletes the billing group. *

*

* Requires permission to access the DeleteBillingGroup action. *

* * @param deleteBillingGroupRequest * @return A Java Future containing the result of the DeleteBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteBillingGroup */ default CompletableFuture deleteBillingGroup(DeleteBillingGroupRequest deleteBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the billing group. *

*

* Requires permission to access the DeleteBillingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteBillingGroupRequest.Builder} avoiding the * need to create one manually via {@link DeleteBillingGroupRequest#builder()} *

* * @param deleteBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteBillingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteBillingGroup */ default CompletableFuture deleteBillingGroup( Consumer deleteBillingGroupRequest) { return deleteBillingGroup(DeleteBillingGroupRequest.builder().applyMutation(deleteBillingGroupRequest).build()); } /** *

* Deletes a registered CA certificate. *

*

* Requires permission to access the DeleteCACertificate action. *

* * @param deleteCaCertificateRequest * Input for the DeleteCACertificate operation. * @return A Java Future containing the result of the DeleteCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCACertificate */ default CompletableFuture deleteCACertificate( DeleteCaCertificateRequest deleteCaCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a registered CA certificate. *

*

* Requires permission to access the DeleteCACertificate action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteCaCertificateRequest.Builder} avoiding the * need to create one manually via {@link DeleteCaCertificateRequest#builder()} *

* * @param deleteCaCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteCaCertificateRequest.Builder} to create a request. * Input for the DeleteCACertificate operation. * @return A Java Future containing the result of the DeleteCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCACertificate */ default CompletableFuture deleteCACertificate( Consumer deleteCaCertificateRequest) { return deleteCACertificate(DeleteCaCertificateRequest.builder().applyMutation(deleteCaCertificateRequest).build()); } /** *

* Deletes the specified certificate. *

*

* A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. * To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the * UpdateCertificate action to set the certificate to the INACTIVE status. *

*

* Requires permission to access the DeleteCertificate action. *

* * @param deleteCertificateRequest * The input for the DeleteCertificate operation. * @return A Java Future containing the result of the DeleteCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCertificate */ default CompletableFuture deleteCertificate(DeleteCertificateRequest deleteCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified certificate. *

*

* A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. * To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the * UpdateCertificate action to set the certificate to the INACTIVE status. *

*

* Requires permission to access the DeleteCertificate action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteCertificateRequest.Builder} avoiding the need * to create one manually via {@link DeleteCertificateRequest#builder()} *

* * @param deleteCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteCertificateRequest.Builder} to create a request. * The input for the DeleteCertificate operation. * @return A Java Future containing the result of the DeleteCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCertificate */ default CompletableFuture deleteCertificate( Consumer deleteCertificateRequest) { return deleteCertificate(DeleteCertificateRequest.builder().applyMutation(deleteCertificateRequest).build()); } /** *

* Deletes a certificate provider. *

*

* Requires permission to access the DeleteCertificateProvider action. *

*

* If you delete the certificate provider resource, the behavior of CreateCertificateFromCsr will * resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR). *

* * @param deleteCertificateProviderRequest * @return A Java Future containing the result of the DeleteCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCertificateProvider */ default CompletableFuture deleteCertificateProvider( DeleteCertificateProviderRequest deleteCertificateProviderRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a certificate provider. *

*

* Requires permission to access the DeleteCertificateProvider action. *

*

* If you delete the certificate provider resource, the behavior of CreateCertificateFromCsr will * resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR). *

*
*

* This is a convenience which creates an instance of the {@link DeleteCertificateProviderRequest.Builder} avoiding * the need to create one manually via {@link DeleteCertificateProviderRequest#builder()} *

* * @param deleteCertificateProviderRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteCertificateProviderRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCertificateProvider */ default CompletableFuture deleteCertificateProvider( Consumer deleteCertificateProviderRequest) { return deleteCertificateProvider(DeleteCertificateProviderRequest.builder() .applyMutation(deleteCertificateProviderRequest).build()); } /** *

* Deletes a Device Defender detect custom metric. *

*

* Requires permission to access the DeleteCustomMetric action. *

* *

* Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a * part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles * API with metricName set to your custom metric name. *

*
* * @param deleteCustomMetricRequest * @return A Java Future containing the result of the DeleteCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCustomMetric */ default CompletableFuture deleteCustomMetric(DeleteCustomMetricRequest deleteCustomMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Device Defender detect custom metric. *

*

* Requires permission to access the DeleteCustomMetric action. *

* *

* Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a * part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles * API with metricName set to your custom metric name. *

*

*

* This is a convenience which creates an instance of the {@link DeleteCustomMetricRequest.Builder} avoiding the * need to create one manually via {@link DeleteCustomMetricRequest#builder()} *

* * @param deleteCustomMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteCustomMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteCustomMetric */ default CompletableFuture deleteCustomMetric( Consumer deleteCustomMetricRequest) { return deleteCustomMetric(DeleteCustomMetricRequest.builder().applyMutation(deleteCustomMetricRequest).build()); } /** *

* Removes the specified dimension from your Amazon Web Services accounts. *

*

* Requires permission to access the DeleteDimension action. *

* * @param deleteDimensionRequest * @return A Java Future containing the result of the DeleteDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteDimension */ default CompletableFuture deleteDimension(DeleteDimensionRequest deleteDimensionRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the specified dimension from your Amazon Web Services accounts. *

*

* Requires permission to access the DeleteDimension action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDimensionRequest.Builder} avoiding the need * to create one manually via {@link DeleteDimensionRequest#builder()} *

* * @param deleteDimensionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteDimensionRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteDimension */ default CompletableFuture deleteDimension( Consumer deleteDimensionRequest) { return deleteDimension(DeleteDimensionRequest.builder().applyMutation(deleteDimensionRequest).build()); } /** *

* Deletes the specified domain configuration. *

*

* Requires permission to access the DeleteDomainConfiguration action. *

* * @param deleteDomainConfigurationRequest * @return A Java Future containing the result of the DeleteDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteDomainConfiguration */ default CompletableFuture deleteDomainConfiguration( DeleteDomainConfigurationRequest deleteDomainConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified domain configuration. *

*

* Requires permission to access the DeleteDomainConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDomainConfigurationRequest.Builder} avoiding * the need to create one manually via {@link DeleteDomainConfigurationRequest#builder()} *

* * @param deleteDomainConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteDomainConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteDomainConfiguration */ default CompletableFuture deleteDomainConfiguration( Consumer deleteDomainConfigurationRequest) { return deleteDomainConfiguration(DeleteDomainConfigurationRequest.builder() .applyMutation(deleteDomainConfigurationRequest).build()); } /** *

* Deletes a dynamic thing group. *

*

* Requires permission to access the DeleteDynamicThingGroup action. *

* * @param deleteDynamicThingGroupRequest * @return A Java Future containing the result of the DeleteDynamicThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteDynamicThingGroup */ default CompletableFuture deleteDynamicThingGroup( DeleteDynamicThingGroupRequest deleteDynamicThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a dynamic thing group. *

*

* Requires permission to access the DeleteDynamicThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDynamicThingGroupRequest.Builder} avoiding * the need to create one manually via {@link DeleteDynamicThingGroupRequest#builder()} *

* * @param deleteDynamicThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteDynamicThingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteDynamicThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteDynamicThingGroup */ default CompletableFuture deleteDynamicThingGroup( Consumer deleteDynamicThingGroupRequest) { return deleteDynamicThingGroup(DeleteDynamicThingGroupRequest.builder().applyMutation(deleteDynamicThingGroupRequest) .build()); } /** *

* Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you * specify a fleet metric that doesn't exist. *

*

* Requires permission to access the DeleteFleetMetric action. *

* * @param deleteFleetMetricRequest * @return A Java Future containing the result of the DeleteFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteFleetMetric */ default CompletableFuture deleteFleetMetric(DeleteFleetMetricRequest deleteFleetMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified fleet metric. Returns successfully with no error if the deletion is successful or you * specify a fleet metric that doesn't exist. *

*

* Requires permission to access the DeleteFleetMetric action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteFleetMetricRequest.Builder} avoiding the need * to create one manually via {@link DeleteFleetMetricRequest#builder()} *

* * @param deleteFleetMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteFleetMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteFleetMetric */ default CompletableFuture deleteFleetMetric( Consumer deleteFleetMetricRequest) { return deleteFleetMetric(DeleteFleetMetricRequest.builder().applyMutation(deleteFleetMetricRequest).build()); } /** *

* Deletes a job and its related job executions. *

*

* Deleting a job may take time, depending on the number of job executions created for the job and various other * factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". * Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error. *

*

* Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur. *

*

* Requires permission to access the DeleteJob action. *

* * @param deleteJobRequest * @return A Java Future containing the result of the DeleteJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidStateTransitionException An attempt was made to change to an invalid state, for example by * deleting a job or a job execution which is "IN_PROGRESS" without setting the force * parameter.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteJob */ default CompletableFuture deleteJob(DeleteJobRequest deleteJobRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a job and its related job executions. *

*

* Deleting a job may take time, depending on the number of job executions created for the job and various other * factors. While the job is being deleted, the status of the job will be shown as "DELETION_IN_PROGRESS". * Attempting to delete or cancel a job whose status is already "DELETION_IN_PROGRESS" will result in an error. *

*

* Only 10 jobs may have status "DELETION_IN_PROGRESS" at the same time, or a LimitExceededException will occur. *

*

* Requires permission to access the DeleteJob action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteJobRequest.Builder} avoiding the need to * create one manually via {@link DeleteJobRequest#builder()} *

* * @param deleteJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteJobRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidStateTransitionException An attempt was made to change to an invalid state, for example by * deleting a job or a job execution which is "IN_PROGRESS" without setting the force * parameter.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteJob */ default CompletableFuture deleteJob(Consumer deleteJobRequest) { return deleteJob(DeleteJobRequest.builder().applyMutation(deleteJobRequest).build()); } /** *

* Deletes a job execution. *

*

* Requires permission to access the DeleteJobExecution action. *

* * @param deleteJobExecutionRequest * @return A Java Future containing the result of the DeleteJobExecution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidStateTransitionException An attempt was made to change to an invalid state, for example by * deleting a job or a job execution which is "IN_PROGRESS" without setting the force * parameter.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteJobExecution */ default CompletableFuture deleteJobExecution(DeleteJobExecutionRequest deleteJobExecutionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a job execution. *

*

* Requires permission to access the DeleteJobExecution action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteJobExecutionRequest.Builder} avoiding the * need to create one manually via {@link DeleteJobExecutionRequest#builder()} *

* * @param deleteJobExecutionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteJobExecutionRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteJobExecution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InvalidStateTransitionException An attempt was made to change to an invalid state, for example by * deleting a job or a job execution which is "IN_PROGRESS" without setting the force * parameter.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteJobExecution */ default CompletableFuture deleteJobExecution( Consumer deleteJobExecutionRequest) { return deleteJobExecution(DeleteJobExecutionRequest.builder().applyMutation(deleteJobExecutionRequest).build()); } /** *

* Deletes the specified job template. *

* * @param deleteJobTemplateRequest * @return A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteJobTemplate */ default CompletableFuture deleteJobTemplate(DeleteJobTemplateRequest deleteJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified job template. *

*
*

* This is a convenience which creates an instance of the {@link DeleteJobTemplateRequest.Builder} avoiding the need * to create one manually via {@link DeleteJobTemplateRequest#builder()} *

* * @param deleteJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteJobTemplateRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteJobTemplate */ default CompletableFuture deleteJobTemplate( Consumer deleteJobTemplateRequest) { return deleteJobTemplate(DeleteJobTemplateRequest.builder().applyMutation(deleteJobTemplateRequest).build()); } /** *

* Deletes a defined mitigation action from your Amazon Web Services accounts. *

*

* Requires permission to access the DeleteMitigationAction action. *

* * @param deleteMitigationActionRequest * @return A Java Future containing the result of the DeleteMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteMitigationAction */ default CompletableFuture deleteMitigationAction( DeleteMitigationActionRequest deleteMitigationActionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a defined mitigation action from your Amazon Web Services accounts. *

*

* Requires permission to access the DeleteMitigationAction action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteMitigationActionRequest.Builder} avoiding the * need to create one manually via {@link DeleteMitigationActionRequest#builder()} *

* * @param deleteMitigationActionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteMitigationActionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteMitigationAction */ default CompletableFuture deleteMitigationAction( Consumer deleteMitigationActionRequest) { return deleteMitigationAction(DeleteMitigationActionRequest.builder().applyMutation(deleteMitigationActionRequest) .build()); } /** *

* Delete an OTA update. *

*

* Requires permission to access the DeleteOTAUpdate action. *

* * @param deleteOtaUpdateRequest * @return A Java Future containing the result of the DeleteOTAUpdate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteOTAUpdate */ default CompletableFuture deleteOTAUpdate(DeleteOtaUpdateRequest deleteOtaUpdateRequest) { throw new UnsupportedOperationException(); } /** *

* Delete an OTA update. *

*

* Requires permission to access the DeleteOTAUpdate action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteOtaUpdateRequest.Builder} avoiding the need * to create one manually via {@link DeleteOtaUpdateRequest#builder()} *

* * @param deleteOtaUpdateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteOtaUpdateRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteOTAUpdate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteOTAUpdate */ default CompletableFuture deleteOTAUpdate( Consumer deleteOtaUpdateRequest) { return deleteOTAUpdate(DeleteOtaUpdateRequest.builder().applyMutation(deleteOtaUpdateRequest).build()); } /** *

* Deletes a specific version from a software package. *

*

* Note: All package versions must be deleted before deleting the software package. *

*

* Requires permission to access the DeletePackageVersion action. *

* * @param deletePackageRequest * @return A Java Future containing the result of the DeletePackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePackage */ default CompletableFuture deletePackage(DeletePackageRequest deletePackageRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a specific version from a software package. *

*

* Note: All package versions must be deleted before deleting the software package. *

*

* Requires permission to access the DeletePackageVersion action. *

*
*

* This is a convenience which creates an instance of the {@link DeletePackageRequest.Builder} avoiding the need to * create one manually via {@link DeletePackageRequest#builder()} *

* * @param deletePackageRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeletePackageRequest.Builder} to create a request. * @return A Java Future containing the result of the DeletePackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePackage */ default CompletableFuture deletePackage(Consumer deletePackageRequest) { return deletePackage(DeletePackageRequest.builder().applyMutation(deletePackageRequest).build()); } /** *

* Deletes a specific version from a software package. *

*

* Note: If a package version is designated as default, you must remove the designation from the software * package using the UpdatePackage action. *

* * @param deletePackageVersionRequest * @return A Java Future containing the result of the DeletePackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePackageVersion */ default CompletableFuture deletePackageVersion( DeletePackageVersionRequest deletePackageVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a specific version from a software package. *

*

* Note: If a package version is designated as default, you must remove the designation from the software * package using the UpdatePackage action. *

*
*

* This is a convenience which creates an instance of the {@link DeletePackageVersionRequest.Builder} avoiding the * need to create one manually via {@link DeletePackageVersionRequest#builder()} *

* * @param deletePackageVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeletePackageVersionRequest.Builder} to create a request. * @return A Java Future containing the result of the DeletePackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePackageVersion */ default CompletableFuture deletePackageVersion( Consumer deletePackageVersionRequest) { return deletePackageVersion(DeletePackageVersionRequest.builder().applyMutation(deletePackageVersionRequest).build()); } /** *

* Deletes the specified policy. *

*

* A policy cannot be deleted if it has non-default versions or it is attached to any certificate. *

*

* To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; * use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy * action to delete the policy. *

*

* When a policy is deleted using DeletePolicy, its default version is deleted with it. *

* *

* Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is * detached before it's ready to be deleted. *

*
*

* Requires permission to access the DeletePolicy action. *

* * @param deletePolicyRequest * The input for the DeletePolicy operation. * @return A Java Future containing the result of the DeletePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePolicy */ default CompletableFuture deletePolicy(DeletePolicyRequest deletePolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified policy. *

*

* A policy cannot be deleted if it has non-default versions or it is attached to any certificate. *

*

* To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; * use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy * action to delete the policy. *

*

* When a policy is deleted using DeletePolicy, its default version is deleted with it. *

* *

* Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is * detached before it's ready to be deleted. *

*
*

* Requires permission to access the DeletePolicy action. *

*
*

* This is a convenience which creates an instance of the {@link DeletePolicyRequest.Builder} avoiding the need to * create one manually via {@link DeletePolicyRequest#builder()} *

* * @param deletePolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeletePolicyRequest.Builder} to create a request. The * input for the DeletePolicy operation. * @return A Java Future containing the result of the DeletePolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePolicy */ default CompletableFuture deletePolicy(Consumer deletePolicyRequest) { return deletePolicy(DeletePolicyRequest.builder().applyMutation(deletePolicyRequest).build()); } /** *

* Deletes the specified version of the specified policy. You cannot delete the default version of a policy using * this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a * policy is marked as the default version, use ListPolicyVersions. *

*

* Requires permission to access the DeletePolicyVersion action. *

* * @param deletePolicyVersionRequest * The input for the DeletePolicyVersion operation. * @return A Java Future containing the result of the DeletePolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePolicyVersion */ default CompletableFuture deletePolicyVersion( DeletePolicyVersionRequest deletePolicyVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified version of the specified policy. You cannot delete the default version of a policy using * this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a * policy is marked as the default version, use ListPolicyVersions. *

*

* Requires permission to access the DeletePolicyVersion action. *

*
*

* This is a convenience which creates an instance of the {@link DeletePolicyVersionRequest.Builder} avoiding the * need to create one manually via {@link DeletePolicyVersionRequest#builder()} *

* * @param deletePolicyVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeletePolicyVersionRequest.Builder} to create a request. * The input for the DeletePolicyVersion operation. * @return A Java Future containing the result of the DeletePolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeletePolicyVersion */ default CompletableFuture deletePolicyVersion( Consumer deletePolicyVersionRequest) { return deletePolicyVersion(DeletePolicyVersionRequest.builder().applyMutation(deletePolicyVersionRequest).build()); } /** *

* Deletes a provisioning template. *

*

* Requires permission to access the DeleteProvisioningTemplate action. *

* * @param deleteProvisioningTemplateRequest * @return A Java Future containing the result of the DeleteProvisioningTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteProvisioningTemplate */ default CompletableFuture deleteProvisioningTemplate( DeleteProvisioningTemplateRequest deleteProvisioningTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a provisioning template. *

*

* Requires permission to access the DeleteProvisioningTemplate action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteProvisioningTemplateRequest.Builder} avoiding * the need to create one manually via {@link DeleteProvisioningTemplateRequest#builder()} *

* * @param deleteProvisioningTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteProvisioningTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteProvisioningTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteProvisioningTemplate */ default CompletableFuture deleteProvisioningTemplate( Consumer deleteProvisioningTemplateRequest) { return deleteProvisioningTemplate(DeleteProvisioningTemplateRequest.builder() .applyMutation(deleteProvisioningTemplateRequest).build()); } /** *

* Deletes a provisioning template version. *

*

* Requires permission to access the DeleteProvisioningTemplateVersion action. *

* * @param deleteProvisioningTemplateVersionRequest * @return A Java Future containing the result of the DeleteProvisioningTemplateVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteProvisioningTemplateVersion */ default CompletableFuture deleteProvisioningTemplateVersion( DeleteProvisioningTemplateVersionRequest deleteProvisioningTemplateVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a provisioning template version. *

*

* Requires permission to access the DeleteProvisioningTemplateVersion action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteProvisioningTemplateVersionRequest.Builder} * avoiding the need to create one manually via {@link DeleteProvisioningTemplateVersionRequest#builder()} *

* * @param deleteProvisioningTemplateVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteProvisioningTemplateVersionRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeleteProvisioningTemplateVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteProvisioningTemplateVersion */ default CompletableFuture deleteProvisioningTemplateVersion( Consumer deleteProvisioningTemplateVersionRequest) { return deleteProvisioningTemplateVersion(DeleteProvisioningTemplateVersionRequest.builder() .applyMutation(deleteProvisioningTemplateVersionRequest).build()); } /** *

* Deletes a CA certificate registration code. *

*

* Requires permission to access the DeleteRegistrationCode action. *

* * @param deleteRegistrationCodeRequest * The input for the DeleteRegistrationCode operation. * @return A Java Future containing the result of the DeleteRegistrationCode operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteRegistrationCode */ default CompletableFuture deleteRegistrationCode( DeleteRegistrationCodeRequest deleteRegistrationCodeRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a CA certificate registration code. *

*

* Requires permission to access the DeleteRegistrationCode action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteRegistrationCodeRequest.Builder} avoiding the * need to create one manually via {@link DeleteRegistrationCodeRequest#builder()} *

* * @param deleteRegistrationCodeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteRegistrationCodeRequest.Builder} to create a * request. The input for the DeleteRegistrationCode operation. * @return A Java Future containing the result of the DeleteRegistrationCode operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteRegistrationCode */ default CompletableFuture deleteRegistrationCode( Consumer deleteRegistrationCodeRequest) { return deleteRegistrationCode(DeleteRegistrationCodeRequest.builder().applyMutation(deleteRegistrationCodeRequest) .build()); } /** *

* Deletes a CA certificate registration code. *

*

* Requires permission to access the DeleteRegistrationCode action. *

* * @return A Java Future containing the result of the DeleteRegistrationCode operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteRegistrationCode */ default CompletableFuture deleteRegistrationCode() { return deleteRegistrationCode(DeleteRegistrationCodeRequest.builder().build()); } /** *

* Deletes a role alias *

*

* Requires permission to access the DeleteRoleAlias action. *

* * @param deleteRoleAliasRequest * @return A Java Future containing the result of the DeleteRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteRoleAlias */ default CompletableFuture deleteRoleAlias(DeleteRoleAliasRequest deleteRoleAliasRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a role alias *

*

* Requires permission to access the DeleteRoleAlias action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteRoleAliasRequest.Builder} avoiding the need * to create one manually via {@link DeleteRoleAliasRequest#builder()} *

* * @param deleteRoleAliasRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteRoleAliasRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteRoleAlias */ default CompletableFuture deleteRoleAlias( Consumer deleteRoleAliasRequest) { return deleteRoleAlias(DeleteRoleAliasRequest.builder().applyMutation(deleteRoleAliasRequest).build()); } /** *

* Deletes a scheduled audit. *

*

* Requires permission to access the DeleteScheduledAudit action. *

* * @param deleteScheduledAuditRequest * @return A Java Future containing the result of the DeleteScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteScheduledAudit */ default CompletableFuture deleteScheduledAudit( DeleteScheduledAuditRequest deleteScheduledAuditRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a scheduled audit. *

*

* Requires permission to access the DeleteScheduledAudit action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteScheduledAuditRequest.Builder} avoiding the * need to create one manually via {@link DeleteScheduledAuditRequest#builder()} *

* * @param deleteScheduledAuditRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteScheduledAuditRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteScheduledAudit */ default CompletableFuture deleteScheduledAudit( Consumer deleteScheduledAuditRequest) { return deleteScheduledAudit(DeleteScheduledAuditRequest.builder().applyMutation(deleteScheduledAuditRequest).build()); } /** *

* Deletes a Device Defender security profile. *

*

* Requires permission to access the DeleteSecurityProfile action. *

* * @param deleteSecurityProfileRequest * @return A Java Future containing the result of the DeleteSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteSecurityProfile */ default CompletableFuture deleteSecurityProfile( DeleteSecurityProfileRequest deleteSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Device Defender security profile. *

*

* Requires permission to access the DeleteSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link DeleteSecurityProfileRequest#builder()} *

* * @param deleteSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteSecurityProfile */ default CompletableFuture deleteSecurityProfile( Consumer deleteSecurityProfileRequest) { return deleteSecurityProfile(DeleteSecurityProfileRequest.builder().applyMutation(deleteSecurityProfileRequest).build()); } /** *

* Deletes a stream. *

*

* Requires permission to access the DeleteStream action. *

* * @param deleteStreamRequest * @return A Java Future containing the result of the DeleteStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteStream */ default CompletableFuture deleteStream(DeleteStreamRequest deleteStreamRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a stream. *

*

* Requires permission to access the DeleteStream action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteStreamRequest.Builder} avoiding the need to * create one manually via {@link DeleteStreamRequest#builder()} *

* * @param deleteStreamRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteStreamRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • DeleteConflictException You can't delete the resource because it is attached to one or more * resources.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteStream */ default CompletableFuture deleteStream(Consumer deleteStreamRequest) { return deleteStream(DeleteStreamRequest.builder().applyMutation(deleteStreamRequest).build()); } /** *

* Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a * thing that doesn't exist. *

*

* Requires permission to access the DeleteThing action. *

* * @param deleteThingRequest * The input for the DeleteThing operation. * @return A Java Future containing the result of the DeleteThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteThing */ default CompletableFuture deleteThing(DeleteThingRequest deleteThingRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified thing. Returns successfully with no error if the deletion is successful or you specify a * thing that doesn't exist. *

*

* Requires permission to access the DeleteThing action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteThingRequest.Builder} avoiding the need to * create one manually via {@link DeleteThingRequest#builder()} *

* * @param deleteThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteThingRequest.Builder} to create a request. The * input for the DeleteThing operation. * @return A Java Future containing the result of the DeleteThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteThing */ default CompletableFuture deleteThing(Consumer deleteThingRequest) { return deleteThing(DeleteThingRequest.builder().applyMutation(deleteThingRequest).build()); } /** *

* Deletes a thing group. *

*

* Requires permission to access the DeleteThingGroup action. *

* * @param deleteThingGroupRequest * @return A Java Future containing the result of the DeleteThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteThingGroup */ default CompletableFuture deleteThingGroup(DeleteThingGroupRequest deleteThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a thing group. *

*

* Requires permission to access the DeleteThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteThingGroupRequest.Builder} avoiding the need * to create one manually via {@link DeleteThingGroupRequest#builder()} *

* * @param deleteThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteThingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteThingGroup */ default CompletableFuture deleteThingGroup( Consumer deleteThingGroupRequest) { return deleteThingGroup(DeleteThingGroupRequest.builder().applyMutation(deleteThingGroupRequest).build()); } /** *

* Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a * thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things * by calling UpdateThing to change the thing type on any associated thing, and finally use * DeleteThingType to delete the thing type. *

*

* Requires permission to access the DeleteThingType action. *

* * @param deleteThingTypeRequest * The input for the DeleteThingType operation. * @return A Java Future containing the result of the DeleteThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteThingType */ default CompletableFuture deleteThingType(DeleteThingTypeRequest deleteThingTypeRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified thing type. You cannot delete a thing type if it has things associated with it. To delete a * thing type, first mark it as deprecated by calling DeprecateThingType, then remove any associated things * by calling UpdateThing to change the thing type on any associated thing, and finally use * DeleteThingType to delete the thing type. *

*

* Requires permission to access the DeleteThingType action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteThingTypeRequest.Builder} avoiding the need * to create one manually via {@link DeleteThingTypeRequest#builder()} *

* * @param deleteThingTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteThingTypeRequest.Builder} to create a request. The * input for the DeleteThingType operation. * @return A Java Future containing the result of the DeleteThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteThingType */ default CompletableFuture deleteThingType( Consumer deleteThingTypeRequest) { return deleteThingType(DeleteThingTypeRequest.builder().applyMutation(deleteThingTypeRequest).build()); } /** *

* Deletes the rule. *

*

* Requires permission to access the DeleteTopicRule action. *

* * @param deleteTopicRuleRequest * The input for the DeleteTopicRule operation. * @return A Java Future containing the result of the DeleteTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteTopicRule */ default CompletableFuture deleteTopicRule(DeleteTopicRuleRequest deleteTopicRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the rule. *

*

* Requires permission to access the DeleteTopicRule action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTopicRuleRequest.Builder} avoiding the need * to create one manually via {@link DeleteTopicRuleRequest#builder()} *

* * @param deleteTopicRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteTopicRuleRequest.Builder} to create a request. The * input for the DeleteTopicRule operation. * @return A Java Future containing the result of the DeleteTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteTopicRule */ default CompletableFuture deleteTopicRule( Consumer deleteTopicRuleRequest) { return deleteTopicRule(DeleteTopicRuleRequest.builder().applyMutation(deleteTopicRuleRequest).build()); } /** *

* Deletes a topic rule destination. *

*

* Requires permission to access the DeleteTopicRuleDestination action. *

* * @param deleteTopicRuleDestinationRequest * @return A Java Future containing the result of the DeleteTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteTopicRuleDestination */ default CompletableFuture deleteTopicRuleDestination( DeleteTopicRuleDestinationRequest deleteTopicRuleDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a topic rule destination. *

*

* Requires permission to access the DeleteTopicRuleDestination action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteTopicRuleDestinationRequest.Builder} avoiding * the need to create one manually via {@link DeleteTopicRuleDestinationRequest#builder()} *

* * @param deleteTopicRuleDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteTopicRuleDestinationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteTopicRuleDestination */ default CompletableFuture deleteTopicRuleDestination( Consumer deleteTopicRuleDestinationRequest) { return deleteTopicRuleDestination(DeleteTopicRuleDestinationRequest.builder() .applyMutation(deleteTopicRuleDestinationRequest).build()); } /** *

* Deletes a logging level. *

*

* Requires permission to access the DeleteV2LoggingLevel action. *

* * @param deleteV2LoggingLevelRequest * @return A Java Future containing the result of the DeleteV2LoggingLevel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteV2LoggingLevel */ default CompletableFuture deleteV2LoggingLevel( DeleteV2LoggingLevelRequest deleteV2LoggingLevelRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a logging level. *

*

* Requires permission to access the DeleteV2LoggingLevel action. *

*
*

* This is a convenience which creates an instance of the {@link DeleteV2LoggingLevelRequest.Builder} avoiding the * need to create one manually via {@link DeleteV2LoggingLevelRequest#builder()} *

* * @param deleteV2LoggingLevelRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeleteV2LoggingLevelRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteV2LoggingLevel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeleteV2LoggingLevel */ default CompletableFuture deleteV2LoggingLevel( Consumer deleteV2LoggingLevelRequest) { return deleteV2LoggingLevel(DeleteV2LoggingLevelRequest.builder().applyMutation(deleteV2LoggingLevelRequest).build()); } /** *

* Deprecates a thing type. You can not associate new things with deprecated thing type. *

*

* Requires permission to access the DeprecateThingType action. *

* * @param deprecateThingTypeRequest * The input for the DeprecateThingType operation. * @return A Java Future containing the result of the DeprecateThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeprecateThingType */ default CompletableFuture deprecateThingType(DeprecateThingTypeRequest deprecateThingTypeRequest) { throw new UnsupportedOperationException(); } /** *

* Deprecates a thing type. You can not associate new things with deprecated thing type. *

*

* Requires permission to access the DeprecateThingType action. *

*
*

* This is a convenience which creates an instance of the {@link DeprecateThingTypeRequest.Builder} avoiding the * need to create one manually via {@link DeprecateThingTypeRequest#builder()} *

* * @param deprecateThingTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DeprecateThingTypeRequest.Builder} to create a request. * The input for the DeprecateThingType operation. * @return A Java Future containing the result of the DeprecateThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DeprecateThingType */ default CompletableFuture deprecateThingType( Consumer deprecateThingTypeRequest) { return deprecateThingType(DeprecateThingTypeRequest.builder().applyMutation(deprecateThingTypeRequest).build()); } /** *

* Gets information about the Device Defender audit settings for this account. Settings include how audit * notifications are sent and which audit checks are enabled or disabled. *

*

* Requires permission to access the DescribeAccountAuditConfiguration action. *

* * @param describeAccountAuditConfigurationRequest * @return A Java Future containing the result of the DescribeAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAccountAuditConfiguration */ default CompletableFuture describeAccountAuditConfiguration( DescribeAccountAuditConfigurationRequest describeAccountAuditConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the Device Defender audit settings for this account. Settings include how audit * notifications are sent and which audit checks are enabled or disabled. *

*

* Requires permission to access the DescribeAccountAuditConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAccountAuditConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeAccountAuditConfigurationRequest#builder()} *

* * @param describeAccountAuditConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeAccountAuditConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAccountAuditConfiguration */ default CompletableFuture describeAccountAuditConfiguration( Consumer describeAccountAuditConfigurationRequest) { return describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest.builder() .applyMutation(describeAccountAuditConfigurationRequest).build()); } /** *

* Gets information about the Device Defender audit settings for this account. Settings include how audit * notifications are sent and which audit checks are enabled or disabled. *

*

* Requires permission to access the DescribeAccountAuditConfiguration action. *

* * @return A Java Future containing the result of the DescribeAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAccountAuditConfiguration */ default CompletableFuture describeAccountAuditConfiguration() { return describeAccountAuditConfiguration(DescribeAccountAuditConfigurationRequest.builder().build()); } /** *

* Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of * the issue, and the start time when the audit that returned the finding. *

*

* Requires permission to access the DescribeAuditFinding action. *

* * @param describeAuditFindingRequest * @return A Java Future containing the result of the DescribeAuditFinding operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditFinding */ default CompletableFuture describeAuditFinding( DescribeAuditFindingRequest describeAuditFindingRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a single audit finding. Properties include the reason for noncompliance, the severity of * the issue, and the start time when the audit that returned the finding. *

*

* Requires permission to access the DescribeAuditFinding action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAuditFindingRequest.Builder} avoiding the * need to create one manually via {@link DescribeAuditFindingRequest#builder()} *

* * @param describeAuditFindingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeAuditFindingRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeAuditFinding operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditFinding */ default CompletableFuture describeAuditFinding( Consumer describeAuditFindingRequest) { return describeAuditFinding(DescribeAuditFindingRequest.builder().applyMutation(describeAuditFindingRequest).build()); } /** *

* 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. *

* * @param describeAuditMitigationActionsTaskRequest * @return A Java Future containing the result of the DescribeAuditMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditMitigationActionsTask */ default CompletableFuture describeAuditMitigationActionsTask( DescribeAuditMitigationActionsTaskRequest describeAuditMitigationActionsTaskRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DescribeAuditMitigationActionsTaskRequest.Builder} * avoiding the need to create one manually via {@link DescribeAuditMitigationActionsTaskRequest#builder()} *

* * @param describeAuditMitigationActionsTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeAuditMitigationActionsTaskRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeAuditMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditMitigationActionsTask */ default CompletableFuture describeAuditMitigationActionsTask( Consumer describeAuditMitigationActionsTaskRequest) { return describeAuditMitigationActionsTask(DescribeAuditMitigationActionsTaskRequest.builder() .applyMutation(describeAuditMitigationActionsTaskRequest).build()); } /** *

* Gets information about a Device Defender audit suppression. *

* * @param describeAuditSuppressionRequest * @return A Java Future containing the result of the DescribeAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditSuppression */ default CompletableFuture describeAuditSuppression( DescribeAuditSuppressionRequest describeAuditSuppressionRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Device Defender audit suppression. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAuditSuppressionRequest.Builder} avoiding * the need to create one manually via {@link DescribeAuditSuppressionRequest#builder()} *

* * @param describeAuditSuppressionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeAuditSuppressionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditSuppression */ default CompletableFuture describeAuditSuppression( Consumer describeAuditSuppressionRequest) { return describeAuditSuppression(DescribeAuditSuppressionRequest.builder().applyMutation(describeAuditSuppressionRequest) .build()); } /** *

* Gets information about a Device Defender audit. *

*

* Requires permission to access the DescribeAuditTask action. *

* * @param describeAuditTaskRequest * @return A Java Future containing the result of the DescribeAuditTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditTask */ default CompletableFuture describeAuditTask(DescribeAuditTaskRequest describeAuditTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Device Defender audit. *

*

* Requires permission to access the DescribeAuditTask action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAuditTaskRequest.Builder} avoiding the need * to create one manually via {@link DescribeAuditTaskRequest#builder()} *

* * @param describeAuditTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeAuditTaskRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeAuditTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuditTask */ default CompletableFuture describeAuditTask( Consumer describeAuditTaskRequest) { return describeAuditTask(DescribeAuditTaskRequest.builder().applyMutation(describeAuditTaskRequest).build()); } /** *

* Describes an authorizer. *

*

* Requires permission to access the DescribeAuthorizer action. *

* * @param describeAuthorizerRequest * @return A Java Future containing the result of the DescribeAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuthorizer */ default CompletableFuture describeAuthorizer(DescribeAuthorizerRequest describeAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Describes an authorizer. *

*

* Requires permission to access the DescribeAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeAuthorizerRequest.Builder} avoiding the * need to create one manually via {@link DescribeAuthorizerRequest#builder()} *

* * @param describeAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeAuthorizerRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeAuthorizer */ default CompletableFuture describeAuthorizer( Consumer describeAuthorizerRequest) { return describeAuthorizer(DescribeAuthorizerRequest.builder().applyMutation(describeAuthorizerRequest).build()); } /** *

* Returns information about a billing group. *

*

* Requires permission to access the DescribeBillingGroup action. *

* * @param describeBillingGroupRequest * @return A Java Future containing the result of the DescribeBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeBillingGroup */ default CompletableFuture describeBillingGroup( DescribeBillingGroupRequest describeBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about a billing group. *

*

* Requires permission to access the DescribeBillingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeBillingGroupRequest.Builder} avoiding the * need to create one manually via {@link DescribeBillingGroupRequest#builder()} *

* * @param describeBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeBillingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeBillingGroup */ default CompletableFuture describeBillingGroup( Consumer describeBillingGroupRequest) { return describeBillingGroup(DescribeBillingGroupRequest.builder().applyMutation(describeBillingGroupRequest).build()); } /** *

* Describes a registered CA certificate. *

*

* Requires permission to access the DescribeCACertificate action. *

* * @param describeCaCertificateRequest * The input for the DescribeCACertificate operation. * @return A Java Future containing the result of the DescribeCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCACertificate */ default CompletableFuture describeCACertificate( DescribeCaCertificateRequest describeCaCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a registered CA certificate. *

*

* Requires permission to access the DescribeCACertificate action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCaCertificateRequest.Builder} avoiding the * need to create one manually via {@link DescribeCaCertificateRequest#builder()} *

* * @param describeCaCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeCaCertificateRequest.Builder} to create a * request. The input for the DescribeCACertificate operation. * @return A Java Future containing the result of the DescribeCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCACertificate */ default CompletableFuture describeCACertificate( Consumer describeCaCertificateRequest) { return describeCACertificate(DescribeCaCertificateRequest.builder().applyMutation(describeCaCertificateRequest).build()); } /** *

* Gets information about the specified certificate. *

*

* Requires permission to access the DescribeCertificate action. *

* * @param describeCertificateRequest * The input for the DescribeCertificate operation. * @return A Java Future containing the result of the DescribeCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCertificate */ default CompletableFuture describeCertificate( DescribeCertificateRequest describeCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified certificate. *

*

* Requires permission to access the DescribeCertificate action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCertificateRequest.Builder} avoiding the * need to create one manually via {@link DescribeCertificateRequest#builder()} *

* * @param describeCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeCertificateRequest.Builder} to create a request. * The input for the DescribeCertificate operation. * @return A Java Future containing the result of the DescribeCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCertificate */ default CompletableFuture describeCertificate( Consumer describeCertificateRequest) { return describeCertificate(DescribeCertificateRequest.builder().applyMutation(describeCertificateRequest).build()); } /** *

* Describes a certificate provider. *

*

* Requires permission to access the DescribeCertificateProvider action. *

* * @param describeCertificateProviderRequest * @return A Java Future containing the result of the DescribeCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCertificateProvider */ default CompletableFuture describeCertificateProvider( DescribeCertificateProviderRequest describeCertificateProviderRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a certificate provider. *

*

* Requires permission to access the DescribeCertificateProvider action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCertificateProviderRequest.Builder} * avoiding the need to create one manually via {@link DescribeCertificateProviderRequest#builder()} *

* * @param describeCertificateProviderRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeCertificateProviderRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCertificateProvider */ default CompletableFuture describeCertificateProvider( Consumer describeCertificateProviderRequest) { return describeCertificateProvider(DescribeCertificateProviderRequest.builder() .applyMutation(describeCertificateProviderRequest).build()); } /** *

* Gets information about a Device Defender detect custom metric. *

*

* Requires permission to access the DescribeCustomMetric action. *

* * @param describeCustomMetricRequest * @return A Java Future containing the result of the DescribeCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCustomMetric */ default CompletableFuture describeCustomMetric( DescribeCustomMetricRequest describeCustomMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Device Defender detect custom metric. *

*

* Requires permission to access the DescribeCustomMetric action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeCustomMetricRequest.Builder} avoiding the * need to create one manually via {@link DescribeCustomMetricRequest#builder()} *

* * @param describeCustomMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeCustomMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeCustomMetric */ default CompletableFuture describeCustomMetric( Consumer describeCustomMetricRequest) { return describeCustomMetric(DescribeCustomMetricRequest.builder().applyMutation(describeCustomMetricRequest).build()); } /** *

* Describes the default authorizer. *

*

* Requires permission to access the DescribeDefaultAuthorizer action. *

* * @param describeDefaultAuthorizerRequest * @return A Java Future containing the result of the DescribeDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDefaultAuthorizer */ default CompletableFuture describeDefaultAuthorizer( DescribeDefaultAuthorizerRequest describeDefaultAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Describes the default authorizer. *

*

* Requires permission to access the DescribeDefaultAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeDefaultAuthorizerRequest.Builder} avoiding * the need to create one manually via {@link DescribeDefaultAuthorizerRequest#builder()} *

* * @param describeDefaultAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeDefaultAuthorizerRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDefaultAuthorizer */ default CompletableFuture describeDefaultAuthorizer( Consumer describeDefaultAuthorizerRequest) { return describeDefaultAuthorizer(DescribeDefaultAuthorizerRequest.builder() .applyMutation(describeDefaultAuthorizerRequest).build()); } /** *

* Gets information about a Device Defender ML Detect mitigation action. *

*

* Requires permission to access the DescribeDetectMitigationActionsTask action. *

* * @param describeDetectMitigationActionsTaskRequest * @return A Java Future containing the result of the DescribeDetectMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDetectMitigationActionsTask */ default CompletableFuture describeDetectMitigationActionsTask( DescribeDetectMitigationActionsTaskRequest describeDetectMitigationActionsTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Device Defender ML Detect mitigation action. *

*

* Requires permission to access the DescribeDetectMitigationActionsTask action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeDetectMitigationActionsTaskRequest.Builder} * avoiding the need to create one manually via {@link DescribeDetectMitigationActionsTaskRequest#builder()} *

* * @param describeDetectMitigationActionsTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeDetectMitigationActionsTaskRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeDetectMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDetectMitigationActionsTask */ default CompletableFuture describeDetectMitigationActionsTask( Consumer describeDetectMitigationActionsTaskRequest) { return describeDetectMitigationActionsTask(DescribeDetectMitigationActionsTaskRequest.builder() .applyMutation(describeDetectMitigationActionsTaskRequest).build()); } /** *

* Provides details about a dimension that is defined in your Amazon Web Services accounts. *

*

* Requires permission to access the DescribeDimension action. *

* * @param describeDimensionRequest * @return A Java Future containing the result of the DescribeDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDimension */ default CompletableFuture describeDimension(DescribeDimensionRequest describeDimensionRequest) { throw new UnsupportedOperationException(); } /** *

* Provides details about a dimension that is defined in your Amazon Web Services accounts. *

*

* Requires permission to access the DescribeDimension action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeDimensionRequest.Builder} avoiding the need * to create one manually via {@link DescribeDimensionRequest#builder()} *

* * @param describeDimensionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeDimensionRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDimension */ default CompletableFuture describeDimension( Consumer describeDimensionRequest) { return describeDimension(DescribeDimensionRequest.builder().applyMutation(describeDimensionRequest).build()); } /** *

* Gets summary information about a domain configuration. *

*

* Requires permission to access the DescribeDomainConfiguration action. *

* * @param describeDomainConfigurationRequest * @return A Java Future containing the result of the DescribeDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDomainConfiguration */ default CompletableFuture describeDomainConfiguration( DescribeDomainConfigurationRequest describeDomainConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Gets summary information about a domain configuration. *

*

* Requires permission to access the DescribeDomainConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeDomainConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeDomainConfigurationRequest#builder()} *

* * @param describeDomainConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeDomainConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeDomainConfiguration */ default CompletableFuture describeDomainConfiguration( Consumer describeDomainConfigurationRequest) { return describeDomainConfiguration(DescribeDomainConfigurationRequest.builder() .applyMutation(describeDomainConfigurationRequest).build()); } /** *

* Returns or creates a unique endpoint specific to the Amazon Web Services account making the call. *

* *

* The first time DescribeEndpoint is called, an endpoint is created. All subsequent calls to * DescribeEndpoint return the same endpoint. *

*
*

* Requires permission to access the DescribeEndpoint action. *

* * @param describeEndpointRequest * The input for the DescribeEndpoint operation. * @return A Java Future containing the result of the DescribeEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeEndpoint */ default CompletableFuture describeEndpoint(DescribeEndpointRequest describeEndpointRequest) { throw new UnsupportedOperationException(); } /** *

* Returns or creates a unique endpoint specific to the Amazon Web Services account making the call. *

* *

* The first time DescribeEndpoint is called, an endpoint is created. All subsequent calls to * DescribeEndpoint return the same endpoint. *

*
*

* Requires permission to access the DescribeEndpoint action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeEndpointRequest.Builder} avoiding the need * to create one manually via {@link DescribeEndpointRequest#builder()} *

* * @param describeEndpointRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeEndpointRequest.Builder} to create a request. The * input for the DescribeEndpoint operation. * @return A Java Future containing the result of the DescribeEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeEndpoint */ default CompletableFuture describeEndpoint( Consumer describeEndpointRequest) { return describeEndpoint(DescribeEndpointRequest.builder().applyMutation(describeEndpointRequest).build()); } /** *

* Returns or creates a unique endpoint specific to the Amazon Web Services account making the call. *

* *

* The first time DescribeEndpoint is called, an endpoint is created. All subsequent calls to * DescribeEndpoint return the same endpoint. *

*
*

* Requires permission to access the DescribeEndpoint action. *

* * @return A Java Future containing the result of the DescribeEndpoint operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeEndpoint */ default CompletableFuture describeEndpoint() { return describeEndpoint(DescribeEndpointRequest.builder().build()); } /** *

* Describes event configurations. *

*

* Requires permission to access the DescribeEventConfigurations action. *

* * @param describeEventConfigurationsRequest * @return A Java Future containing the result of the DescribeEventConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeEventConfigurations */ default CompletableFuture describeEventConfigurations( DescribeEventConfigurationsRequest describeEventConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes event configurations. *

*

* Requires permission to access the DescribeEventConfigurations action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeEventConfigurationsRequest.Builder} * avoiding the need to create one manually via {@link DescribeEventConfigurationsRequest#builder()} *

* * @param describeEventConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeEventConfigurationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeEventConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeEventConfigurations */ default CompletableFuture describeEventConfigurations( Consumer describeEventConfigurationsRequest) { return describeEventConfigurations(DescribeEventConfigurationsRequest.builder() .applyMutation(describeEventConfigurationsRequest).build()); } /** *

* Describes event configurations. *

*

* Requires permission to access the DescribeEventConfigurations action. *

* * @return A Java Future containing the result of the DescribeEventConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeEventConfigurations */ default CompletableFuture describeEventConfigurations() { return describeEventConfigurations(DescribeEventConfigurationsRequest.builder().build()); } /** *

* Gets information about the specified fleet metric. *

*

* Requires permission to access the DescribeFleetMetric action. *

* * @param describeFleetMetricRequest * @return A Java Future containing the result of the DescribeFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeFleetMetric */ default CompletableFuture describeFleetMetric( DescribeFleetMetricRequest describeFleetMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified fleet metric. *

*

* Requires permission to access the DescribeFleetMetric action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeFleetMetricRequest.Builder} avoiding the * need to create one manually via {@link DescribeFleetMetricRequest#builder()} *

* * @param describeFleetMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeFleetMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeFleetMetric */ default CompletableFuture describeFleetMetric( Consumer describeFleetMetricRequest) { return describeFleetMetric(DescribeFleetMetricRequest.builder().applyMutation(describeFleetMetricRequest).build()); } /** *

* Describes a search index. *

*

* Requires permission to access the DescribeIndex action. *

* * @param describeIndexRequest * @return A Java Future containing the result of the DescribeIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeIndex */ default CompletableFuture describeIndex(DescribeIndexRequest describeIndexRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a search index. *

*

* Requires permission to access the DescribeIndex action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeIndexRequest.Builder} avoiding the need to * create one manually via {@link DescribeIndexRequest#builder()} *

* * @param describeIndexRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeIndexRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeIndex */ default CompletableFuture describeIndex(Consumer describeIndexRequest) { return describeIndex(DescribeIndexRequest.builder().applyMutation(describeIndexRequest).build()); } /** *

* Describes a job. *

*

* Requires permission to access the DescribeJob action. *

* * @param describeJobRequest * @return A Java Future containing the result of the DescribeJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeJob */ default CompletableFuture describeJob(DescribeJobRequest describeJobRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a job. *

*

* Requires permission to access the DescribeJob action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeJobRequest.Builder} avoiding the need to * create one manually via {@link DescribeJobRequest#builder()} *

* * @param describeJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeJobRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeJob */ default CompletableFuture describeJob(Consumer describeJobRequest) { return describeJob(DescribeJobRequest.builder().applyMutation(describeJobRequest).build()); } /** *

* Describes a job execution. *

*

* Requires permission to access the DescribeJobExecution action. *

* * @param describeJobExecutionRequest * @return A Java Future containing the result of the DescribeJobExecution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeJobExecution */ default CompletableFuture describeJobExecution( DescribeJobExecutionRequest describeJobExecutionRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a job execution. *

*

* Requires permission to access the DescribeJobExecution action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeJobExecutionRequest.Builder} avoiding the * need to create one manually via {@link DescribeJobExecutionRequest#builder()} *

* * @param describeJobExecutionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeJobExecutionRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeJobExecution operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeJobExecution */ default CompletableFuture describeJobExecution( Consumer describeJobExecutionRequest) { return describeJobExecution(DescribeJobExecutionRequest.builder().applyMutation(describeJobExecutionRequest).build()); } /** *

* Returns information about a job template. *

* * @param describeJobTemplateRequest * @return A Java Future containing the result of the DescribeJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeJobTemplate */ default CompletableFuture describeJobTemplate( DescribeJobTemplateRequest describeJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about a job template. *

*
*

* This is a convenience which creates an instance of the {@link DescribeJobTemplateRequest.Builder} avoiding the * need to create one manually via {@link DescribeJobTemplateRequest#builder()} *

* * @param describeJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeJobTemplateRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeJobTemplate */ default CompletableFuture describeJobTemplate( Consumer describeJobTemplateRequest) { return describeJobTemplate(DescribeJobTemplateRequest.builder().applyMutation(describeJobTemplateRequest).build()); } /** *

* View details of a managed job template. *

* * @param describeManagedJobTemplateRequest * @return A Java Future containing the result of the DescribeManagedJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeManagedJobTemplate */ default CompletableFuture describeManagedJobTemplate( DescribeManagedJobTemplateRequest describeManagedJobTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* View details of a managed job template. *

*
*

* This is a convenience which creates an instance of the {@link DescribeManagedJobTemplateRequest.Builder} avoiding * the need to create one manually via {@link DescribeManagedJobTemplateRequest#builder()} *

* * @param describeManagedJobTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeManagedJobTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeManagedJobTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeManagedJobTemplate */ default CompletableFuture describeManagedJobTemplate( Consumer describeManagedJobTemplateRequest) { return describeManagedJobTemplate(DescribeManagedJobTemplateRequest.builder() .applyMutation(describeManagedJobTemplateRequest).build()); } /** *

* Gets information about a mitigation action. *

*

* Requires permission to access the DescribeMitigationAction action. *

* * @param describeMitigationActionRequest * @return A Java Future containing the result of the DescribeMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeMitigationAction */ default CompletableFuture describeMitigationAction( DescribeMitigationActionRequest describeMitigationActionRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a mitigation action. *

*

* Requires permission to access the DescribeMitigationAction action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeMitigationActionRequest.Builder} avoiding * the need to create one manually via {@link DescribeMitigationActionRequest#builder()} *

* * @param describeMitigationActionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeMitigationActionRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeMitigationAction */ default CompletableFuture describeMitigationAction( Consumer describeMitigationActionRequest) { return describeMitigationAction(DescribeMitigationActionRequest.builder().applyMutation(describeMitigationActionRequest) .build()); } /** *

* Returns information about a provisioning template. *

*

* Requires permission to access the DescribeProvisioningTemplate action. *

* * @param describeProvisioningTemplateRequest * @return A Java Future containing the result of the DescribeProvisioningTemplate operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeProvisioningTemplate */ default CompletableFuture describeProvisioningTemplate( DescribeProvisioningTemplateRequest describeProvisioningTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about a provisioning template. *

*

* Requires permission to access the DescribeProvisioningTemplate action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProvisioningTemplateRequest.Builder} * avoiding the need to create one manually via {@link DescribeProvisioningTemplateRequest#builder()} *

* * @param describeProvisioningTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeProvisioningTemplate operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeProvisioningTemplate */ default CompletableFuture describeProvisioningTemplate( Consumer describeProvisioningTemplateRequest) { return describeProvisioningTemplate(DescribeProvisioningTemplateRequest.builder() .applyMutation(describeProvisioningTemplateRequest).build()); } /** *

* Returns information about a provisioning template version. *

*

* Requires permission to access the DescribeProvisioningTemplateVersion action. *

* * @param describeProvisioningTemplateVersionRequest * @return A Java Future containing the result of the DescribeProvisioningTemplateVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeProvisioningTemplateVersion */ default CompletableFuture describeProvisioningTemplateVersion( DescribeProvisioningTemplateVersionRequest describeProvisioningTemplateVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about a provisioning template version. *

*

* Requires permission to access the DescribeProvisioningTemplateVersion action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeProvisioningTemplateVersionRequest.Builder} * avoiding the need to create one manually via {@link DescribeProvisioningTemplateVersionRequest#builder()} *

* * @param describeProvisioningTemplateVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeProvisioningTemplateVersionRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribeProvisioningTemplateVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeProvisioningTemplateVersion */ default CompletableFuture describeProvisioningTemplateVersion( Consumer describeProvisioningTemplateVersionRequest) { return describeProvisioningTemplateVersion(DescribeProvisioningTemplateVersionRequest.builder() .applyMutation(describeProvisioningTemplateVersionRequest).build()); } /** *

* Describes a role alias. *

*

* Requires permission to access the DescribeRoleAlias action. *

* * @param describeRoleAliasRequest * @return A Java Future containing the result of the DescribeRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeRoleAlias */ default CompletableFuture describeRoleAlias(DescribeRoleAliasRequest describeRoleAliasRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a role alias. *

*

* Requires permission to access the DescribeRoleAlias action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeRoleAliasRequest.Builder} avoiding the need * to create one manually via {@link DescribeRoleAliasRequest#builder()} *

* * @param describeRoleAliasRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeRoleAliasRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeRoleAlias */ default CompletableFuture describeRoleAlias( Consumer describeRoleAliasRequest) { return describeRoleAlias(DescribeRoleAliasRequest.builder().applyMutation(describeRoleAliasRequest).build()); } /** *

* Gets information about a scheduled audit. *

*

* Requires permission to access the DescribeScheduledAudit action. *

* * @param describeScheduledAuditRequest * @return A Java Future containing the result of the DescribeScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeScheduledAudit */ default CompletableFuture describeScheduledAudit( DescribeScheduledAuditRequest describeScheduledAuditRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a scheduled audit. *

*

* Requires permission to access the DescribeScheduledAudit action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeScheduledAuditRequest.Builder} avoiding the * need to create one manually via {@link DescribeScheduledAuditRequest#builder()} *

* * @param describeScheduledAuditRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeScheduledAuditRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeScheduledAudit */ default CompletableFuture describeScheduledAudit( Consumer describeScheduledAuditRequest) { return describeScheduledAudit(DescribeScheduledAuditRequest.builder().applyMutation(describeScheduledAuditRequest) .build()); } /** *

* Gets information about a Device Defender security profile. *

*

* Requires permission to access the DescribeSecurityProfile action. *

* * @param describeSecurityProfileRequest * @return A Java Future containing the result of the DescribeSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeSecurityProfile */ default CompletableFuture describeSecurityProfile( DescribeSecurityProfileRequest describeSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a Device Defender security profile. *

*

* Requires permission to access the DescribeSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeSecurityProfileRequest.Builder} avoiding * the need to create one manually via {@link DescribeSecurityProfileRequest#builder()} *

* * @param describeSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeSecurityProfile */ default CompletableFuture describeSecurityProfile( Consumer describeSecurityProfileRequest) { return describeSecurityProfile(DescribeSecurityProfileRequest.builder().applyMutation(describeSecurityProfileRequest) .build()); } /** *

* Gets information about a stream. *

*

* Requires permission to access the DescribeStream action. *

* * @param describeStreamRequest * @return A Java Future containing the result of the DescribeStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeStream */ default CompletableFuture describeStream(DescribeStreamRequest describeStreamRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a stream. *

*

* Requires permission to access the DescribeStream action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeStreamRequest.Builder} avoiding the need to * create one manually via {@link DescribeStreamRequest#builder()} *

* * @param describeStreamRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeStreamRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeStream */ default CompletableFuture describeStream(Consumer describeStreamRequest) { return describeStream(DescribeStreamRequest.builder().applyMutation(describeStreamRequest).build()); } /** *

* Gets information about the specified thing. *

*

* Requires permission to access the DescribeThing action. *

* * @param describeThingRequest * The input for the DescribeThing operation. * @return A Java Future containing the result of the DescribeThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThing */ default CompletableFuture describeThing(DescribeThingRequest describeThingRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified thing. *

*

* Requires permission to access the DescribeThing action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeThingRequest.Builder} avoiding the need to * create one manually via {@link DescribeThingRequest#builder()} *

* * @param describeThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeThingRequest.Builder} to create a request. The * input for the DescribeThing operation. * @return A Java Future containing the result of the DescribeThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThing */ default CompletableFuture describeThing(Consumer describeThingRequest) { return describeThing(DescribeThingRequest.builder().applyMutation(describeThingRequest).build()); } /** *

* Describe a thing group. *

*

* Requires permission to access the DescribeThingGroup action. *

* * @param describeThingGroupRequest * @return A Java Future containing the result of the DescribeThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThingGroup */ default CompletableFuture describeThingGroup(DescribeThingGroupRequest describeThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Describe a thing group. *

*

* Requires permission to access the DescribeThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeThingGroupRequest.Builder} avoiding the * need to create one manually via {@link DescribeThingGroupRequest#builder()} *

* * @param describeThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeThingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the DescribeThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThingGroup */ default CompletableFuture describeThingGroup( Consumer describeThingGroupRequest) { return describeThingGroup(DescribeThingGroupRequest.builder().applyMutation(describeThingGroupRequest).build()); } /** *

* Describes a bulk thing provisioning task. *

*

* Requires permission to access the DescribeThingRegistrationTask action. *

* * @param describeThingRegistrationTaskRequest * @return A Java Future containing the result of the DescribeThingRegistrationTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThingRegistrationTask */ default CompletableFuture describeThingRegistrationTask( DescribeThingRegistrationTaskRequest describeThingRegistrationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Describes a bulk thing provisioning task. *

*

* Requires permission to access the DescribeThingRegistrationTask action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeThingRegistrationTaskRequest.Builder} * avoiding the need to create one manually via {@link DescribeThingRegistrationTaskRequest#builder()} *

* * @param describeThingRegistrationTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeThingRegistrationTaskRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeThingRegistrationTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThingRegistrationTask */ default CompletableFuture describeThingRegistrationTask( Consumer describeThingRegistrationTaskRequest) { return describeThingRegistrationTask(DescribeThingRegistrationTaskRequest.builder() .applyMutation(describeThingRegistrationTaskRequest).build()); } /** *

* Gets information about the specified thing type. *

*

* Requires permission to access the DescribeThingType action. *

* * @param describeThingTypeRequest * The input for the DescribeThingType operation. * @return A Java Future containing the result of the DescribeThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThingType */ default CompletableFuture describeThingType(DescribeThingTypeRequest describeThingTypeRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified thing type. *

*

* Requires permission to access the DescribeThingType action. *

*
*

* This is a convenience which creates an instance of the {@link DescribeThingTypeRequest.Builder} avoiding the need * to create one manually via {@link DescribeThingTypeRequest#builder()} *

* * @param describeThingTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DescribeThingTypeRequest.Builder} to create a request. * The input for the DescribeThingType operation. * @return A Java Future containing the result of the DescribeThingType operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DescribeThingType */ default CompletableFuture describeThingType( Consumer describeThingTypeRequest) { return describeThingType(DescribeThingTypeRequest.builder().applyMutation(describeThingTypeRequest).build()); } /** *

* Detaches a policy from the specified target. *

* *

* Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is * detached before it's ready to be deleted. *

*
*

* Requires permission to access the DetachPolicy action. *

* * @param detachPolicyRequest * @return A Java Future containing the result of the DetachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DetachPolicy */ default CompletableFuture detachPolicy(DetachPolicyRequest detachPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Detaches a policy from the specified target. *

* *

* Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is * detached before it's ready to be deleted. *

*
*

* Requires permission to access the DetachPolicy action. *

*
*

* This is a convenience which creates an instance of the {@link DetachPolicyRequest.Builder} avoiding the need to * create one manually via {@link DetachPolicyRequest#builder()} *

* * @param detachPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DetachPolicyRequest.Builder} to create a request. * @return A Java Future containing the result of the DetachPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DetachPolicy */ default CompletableFuture detachPolicy(Consumer detachPolicyRequest) { return detachPolicy(DetachPolicyRequest.builder().applyMutation(detachPolicyRequest).build()); } /** *

* Disassociates a Device Defender security profile from a thing group or from this account. *

*

* Requires permission to access the DetachSecurityProfile action. *

* * @param detachSecurityProfileRequest * @return A Java Future containing the result of the DetachSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DetachSecurityProfile */ default CompletableFuture detachSecurityProfile( DetachSecurityProfileRequest detachSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a Device Defender security profile from a thing group or from this account. *

*

* Requires permission to access the DetachSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link DetachSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link DetachSecurityProfileRequest#builder()} *

* * @param detachSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DetachSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DetachSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DetachSecurityProfile */ default CompletableFuture detachSecurityProfile( Consumer detachSecurityProfileRequest) { return detachSecurityProfile(DetachSecurityProfileRequest.builder().applyMutation(detachSecurityProfileRequest).build()); } /** *

* Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, * groups, and roles, Amazon Cognito identities or federated identities. *

* *

* This call is asynchronous. It might take several seconds for the detachment to propagate. *

*
*

* Requires permission to access the DetachThingPrincipal action. *

* * @param detachThingPrincipalRequest * The input for the DetachThingPrincipal operation. * @return A Java Future containing the result of the DetachThingPrincipal operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DetachThingPrincipal */ default CompletableFuture detachThingPrincipal( DetachThingPrincipalRequest detachThingPrincipalRequest) { throw new UnsupportedOperationException(); } /** *

* Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, * groups, and roles, Amazon Cognito identities or federated identities. *

* *

* This call is asynchronous. It might take several seconds for the detachment to propagate. *

*
*

* Requires permission to access the DetachThingPrincipal action. *

*
*

* This is a convenience which creates an instance of the {@link DetachThingPrincipalRequest.Builder} avoiding the * need to create one manually via {@link DetachThingPrincipalRequest#builder()} *

* * @param detachThingPrincipalRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DetachThingPrincipalRequest.Builder} to create a request. * The input for the DetachThingPrincipal operation. * @return A Java Future containing the result of the DetachThingPrincipal operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DetachThingPrincipal */ default CompletableFuture detachThingPrincipal( Consumer detachThingPrincipalRequest) { return detachThingPrincipal(DetachThingPrincipalRequest.builder().applyMutation(detachThingPrincipalRequest).build()); } /** *

* Disables the rule. *

*

* Requires permission to access the DisableTopicRule action. *

* * @param disableTopicRuleRequest * The input for the DisableTopicRuleRequest operation. * @return A Java Future containing the result of the DisableTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DisableTopicRule */ default CompletableFuture disableTopicRule(DisableTopicRuleRequest disableTopicRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Disables the rule. *

*

* Requires permission to access the DisableTopicRule action. *

*
*

* This is a convenience which creates an instance of the {@link DisableTopicRuleRequest.Builder} avoiding the need * to create one manually via {@link DisableTopicRuleRequest#builder()} *

* * @param disableTopicRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DisableTopicRuleRequest.Builder} to create a request. The * input for the DisableTopicRuleRequest operation. * @return A Java Future containing the result of the DisableTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DisableTopicRule */ default CompletableFuture disableTopicRule( Consumer disableTopicRuleRequest) { return disableTopicRule(DisableTopicRuleRequest.builder().applyMutation(disableTopicRuleRequest).build()); } /** *

* Disassociates a software bill of materials (SBOM) from a specific software package version. *

*

* Requires permission to access the DisassociateSbomWithPackageVersion action. *

* * @param disassociateSbomFromPackageVersionRequest * @return A Java Future containing the result of the DisassociateSbomFromPackageVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DisassociateSbomFromPackageVersion */ default CompletableFuture disassociateSbomFromPackageVersion( DisassociateSbomFromPackageVersionRequest disassociateSbomFromPackageVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates a software bill of materials (SBOM) from a specific software package version. *

*

* Requires permission to access the DisassociateSbomWithPackageVersion action. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateSbomFromPackageVersionRequest.Builder} * avoiding the need to create one manually via {@link DisassociateSbomFromPackageVersionRequest#builder()} *

* * @param disassociateSbomFromPackageVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.DisassociateSbomFromPackageVersionRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateSbomFromPackageVersion operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.DisassociateSbomFromPackageVersion */ default CompletableFuture disassociateSbomFromPackageVersion( Consumer disassociateSbomFromPackageVersionRequest) { return disassociateSbomFromPackageVersion(DisassociateSbomFromPackageVersionRequest.builder() .applyMutation(disassociateSbomFromPackageVersionRequest).build()); } /** *

* Enables the rule. *

*

* Requires permission to access the EnableTopicRule action. *

* * @param enableTopicRuleRequest * The input for the EnableTopicRuleRequest operation. * @return A Java Future containing the result of the EnableTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.EnableTopicRule */ default CompletableFuture enableTopicRule(EnableTopicRuleRequest enableTopicRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Enables the rule. *

*

* Requires permission to access the EnableTopicRule action. *

*
*

* This is a convenience which creates an instance of the {@link EnableTopicRuleRequest.Builder} avoiding the need * to create one manually via {@link EnableTopicRuleRequest#builder()} *

* * @param enableTopicRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.EnableTopicRuleRequest.Builder} to create a request. The * input for the EnableTopicRuleRequest operation. * @return A Java Future containing the result of the EnableTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.EnableTopicRule */ default CompletableFuture enableTopicRule( Consumer enableTopicRuleRequest) { return enableTopicRule(EnableTopicRuleRequest.builder().applyMutation(enableTopicRuleRequest).build()); } /** *

* Returns a Device Defender's ML Detect Security Profile training model's status. *

*

* Requires permission to access the GetBehaviorModelTrainingSummaries action. *

* * @param getBehaviorModelTrainingSummariesRequest * @return A Java Future containing the result of the GetBehaviorModelTrainingSummaries operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetBehaviorModelTrainingSummaries */ default CompletableFuture getBehaviorModelTrainingSummaries( GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a Device Defender's ML Detect Security Profile training model's status. *

*

* Requires permission to access the GetBehaviorModelTrainingSummaries action. *

*
*

* This is a convenience which creates an instance of the {@link GetBehaviorModelTrainingSummariesRequest.Builder} * avoiding the need to create one manually via {@link GetBehaviorModelTrainingSummariesRequest#builder()} *

* * @param getBehaviorModelTrainingSummariesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest.Builder} to * create a request. * @return A Java Future containing the result of the GetBehaviorModelTrainingSummaries operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetBehaviorModelTrainingSummaries */ default CompletableFuture getBehaviorModelTrainingSummaries( Consumer getBehaviorModelTrainingSummariesRequest) { return getBehaviorModelTrainingSummaries(GetBehaviorModelTrainingSummariesRequest.builder() .applyMutation(getBehaviorModelTrainingSummariesRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)} * operation. *

* * @param getBehaviorModelTrainingSummariesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetBehaviorModelTrainingSummaries */ default GetBehaviorModelTrainingSummariesPublisher getBehaviorModelTrainingSummariesPaginator( GetBehaviorModelTrainingSummariesRequest getBehaviorModelTrainingSummariesRequest) { return new GetBehaviorModelTrainingSummariesPublisher(this, getBehaviorModelTrainingSummariesRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.GetBehaviorModelTrainingSummariesPublisher publisher = client.getBehaviorModelTrainingSummariesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getBehaviorModelTrainingSummaries(software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetBehaviorModelTrainingSummariesRequest.Builder} * avoiding the need to create one manually via {@link GetBehaviorModelTrainingSummariesRequest#builder()} *

* * @param getBehaviorModelTrainingSummariesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetBehaviorModelTrainingSummariesRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetBehaviorModelTrainingSummaries */ default GetBehaviorModelTrainingSummariesPublisher getBehaviorModelTrainingSummariesPaginator( Consumer getBehaviorModelTrainingSummariesRequest) { return getBehaviorModelTrainingSummariesPaginator(GetBehaviorModelTrainingSummariesRequest.builder() .applyMutation(getBehaviorModelTrainingSummariesRequest).build()); } /** *

* Aggregates on indexed data with search queries pertaining to particular fields. *

*

* Requires permission to access the GetBucketsAggregation action. *

* * @param getBucketsAggregationRequest * @return A Java Future containing the result of the GetBucketsAggregation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetBucketsAggregation */ default CompletableFuture getBucketsAggregation( GetBucketsAggregationRequest getBucketsAggregationRequest) { throw new UnsupportedOperationException(); } /** *

* Aggregates on indexed data with search queries pertaining to particular fields. *

*

* Requires permission to access the GetBucketsAggregation action. *

*
*

* This is a convenience which creates an instance of the {@link GetBucketsAggregationRequest.Builder} avoiding the * need to create one manually via {@link GetBucketsAggregationRequest#builder()} *

* * @param getBucketsAggregationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetBucketsAggregationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetBucketsAggregation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetBucketsAggregation */ default CompletableFuture getBucketsAggregation( Consumer getBucketsAggregationRequest) { return getBucketsAggregation(GetBucketsAggregationRequest.builder().applyMutation(getBucketsAggregationRequest).build()); } /** *

* Returns the approximate count of unique values that match the query. *

*

* Requires permission to access the GetCardinality action. *

* * @param getCardinalityRequest * @return A Java Future containing the result of the GetCardinality operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetCardinality */ default CompletableFuture getCardinality(GetCardinalityRequest getCardinalityRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the approximate count of unique values that match the query. *

*

* Requires permission to access the GetCardinality action. *

*
*

* This is a convenience which creates an instance of the {@link GetCardinalityRequest.Builder} avoiding the need to * create one manually via {@link GetCardinalityRequest#builder()} *

* * @param getCardinalityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetCardinalityRequest.Builder} to create a request. * @return A Java Future containing the result of the GetCardinality operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetCardinality */ default CompletableFuture getCardinality(Consumer getCardinalityRequest) { return getCardinality(GetCardinalityRequest.builder().applyMutation(getCardinalityRequest).build()); } /** *

* Gets a list of the policies that have an effect on the authorization behavior of the specified device when it * connects to the IoT device gateway. *

*

* Requires permission to access the GetEffectivePolicies action. *

* * @param getEffectivePoliciesRequest * @return A Java Future containing the result of the GetEffectivePolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetEffectivePolicies */ default CompletableFuture getEffectivePolicies( GetEffectivePoliciesRequest getEffectivePoliciesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of the policies that have an effect on the authorization behavior of the specified device when it * connects to the IoT device gateway. *

*

* Requires permission to access the GetEffectivePolicies action. *

*
*

* This is a convenience which creates an instance of the {@link GetEffectivePoliciesRequest.Builder} avoiding the * need to create one manually via {@link GetEffectivePoliciesRequest#builder()} *

* * @param getEffectivePoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetEffectivePoliciesRequest.Builder} to create a request. * @return A Java Future containing the result of the GetEffectivePolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetEffectivePolicies */ default CompletableFuture getEffectivePolicies( Consumer getEffectivePoliciesRequest) { return getEffectivePolicies(GetEffectivePoliciesRequest.builder().applyMutation(getEffectivePoliciesRequest).build()); } /** *

* Gets the indexing configuration. *

*

* Requires permission to access the GetIndexingConfiguration action. *

* * @param getIndexingConfigurationRequest * @return A Java Future containing the result of the GetIndexingConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetIndexingConfiguration */ default CompletableFuture getIndexingConfiguration( GetIndexingConfigurationRequest getIndexingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the indexing configuration. *

*

* Requires permission to access the GetIndexingConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link GetIndexingConfigurationRequest.Builder} avoiding * the need to create one manually via {@link GetIndexingConfigurationRequest#builder()} *

* * @param getIndexingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetIndexingConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetIndexingConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetIndexingConfiguration */ default CompletableFuture getIndexingConfiguration( Consumer getIndexingConfigurationRequest) { return getIndexingConfiguration(GetIndexingConfigurationRequest.builder().applyMutation(getIndexingConfigurationRequest) .build()); } /** *

* Gets the indexing configuration. *

*

* Requires permission to access the GetIndexingConfiguration action. *

* * @return A Java Future containing the result of the GetIndexingConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetIndexingConfiguration */ default CompletableFuture getIndexingConfiguration() { return getIndexingConfiguration(GetIndexingConfigurationRequest.builder().build()); } /** *

* Gets a job document. *

*

* Requires permission to access the GetJobDocument action. *

* * @param getJobDocumentRequest * @return A Java Future containing the result of the GetJobDocument operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetJobDocument */ default CompletableFuture getJobDocument(GetJobDocumentRequest getJobDocumentRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a job document. *

*

* Requires permission to access the GetJobDocument action. *

*
*

* This is a convenience which creates an instance of the {@link GetJobDocumentRequest.Builder} avoiding the need to * create one manually via {@link GetJobDocumentRequest#builder()} *

* * @param getJobDocumentRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetJobDocumentRequest.Builder} to create a request. * @return A Java Future containing the result of the GetJobDocument operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetJobDocument */ default CompletableFuture getJobDocument(Consumer getJobDocumentRequest) { return getJobDocument(GetJobDocumentRequest.builder().applyMutation(getJobDocumentRequest).build()); } /** *

* Gets the logging options. *

*

* NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead. *

*

* Requires permission to access the GetLoggingOptions action. *

* * @param getLoggingOptionsRequest * The input for the GetLoggingOptions operation. * @return A Java Future containing the result of the GetLoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetLoggingOptions */ default CompletableFuture getLoggingOptions(GetLoggingOptionsRequest getLoggingOptionsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the logging options. *

*

* NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead. *

*

* Requires permission to access the GetLoggingOptions action. *

*
*

* This is a convenience which creates an instance of the {@link GetLoggingOptionsRequest.Builder} avoiding the need * to create one manually via {@link GetLoggingOptionsRequest#builder()} *

* * @param getLoggingOptionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetLoggingOptionsRequest.Builder} to create a request. * The input for the GetLoggingOptions operation. * @return A Java Future containing the result of the GetLoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetLoggingOptions */ default CompletableFuture getLoggingOptions( Consumer getLoggingOptionsRequest) { return getLoggingOptions(GetLoggingOptionsRequest.builder().applyMutation(getLoggingOptionsRequest).build()); } /** *

* Gets the logging options. *

*

* NOTE: use of this command is not recommended. Use GetV2LoggingOptions instead. *

*

* Requires permission to access the GetLoggingOptions action. *

* * @return A Java Future containing the result of the GetLoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetLoggingOptions */ default CompletableFuture getLoggingOptions() { return getLoggingOptions(GetLoggingOptionsRequest.builder().build()); } /** *

* Gets an OTA update. *

*

* Requires permission to access the GetOTAUpdate action. *

* * @param getOtaUpdateRequest * @return A Java Future containing the result of the GetOTAUpdate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetOTAUpdate */ default CompletableFuture getOTAUpdate(GetOtaUpdateRequest getOtaUpdateRequest) { throw new UnsupportedOperationException(); } /** *

* Gets an OTA update. *

*

* Requires permission to access the GetOTAUpdate action. *

*
*

* This is a convenience which creates an instance of the {@link GetOtaUpdateRequest.Builder} avoiding the need to * create one manually via {@link GetOtaUpdateRequest#builder()} *

* * @param getOtaUpdateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetOtaUpdateRequest.Builder} to create a request. * @return A Java Future containing the result of the GetOTAUpdate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetOTAUpdate */ default CompletableFuture getOTAUpdate(Consumer getOtaUpdateRequest) { return getOTAUpdate(GetOtaUpdateRequest.builder().applyMutation(getOtaUpdateRequest).build()); } /** *

* Gets information about the specified software package. *

*

* Requires permission to access the GetPackage action. *

* * @param getPackageRequest * @return A Java Future containing the result of the GetPackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPackage */ default CompletableFuture getPackage(GetPackageRequest getPackageRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified software package. *

*

* Requires permission to access the GetPackage action. *

*
*

* This is a convenience which creates an instance of the {@link GetPackageRequest.Builder} avoiding the need to * create one manually via {@link GetPackageRequest#builder()} *

* * @param getPackageRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetPackageRequest.Builder} to create a request. * @return A Java Future containing the result of the GetPackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPackage */ default CompletableFuture getPackage(Consumer getPackageRequest) { return getPackage(GetPackageRequest.builder().applyMutation(getPackageRequest).build()); } /** *

* Gets information about the specified software package's configuration. *

*

* Requires permission to access the GetPackageConfiguration action. *

* * @param getPackageConfigurationRequest * @return A Java Future containing the result of the GetPackageConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPackageConfiguration */ default CompletableFuture getPackageConfiguration( GetPackageConfigurationRequest getPackageConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified software package's configuration. *

*

* Requires permission to access the GetPackageConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link GetPackageConfigurationRequest.Builder} avoiding * the need to create one manually via {@link GetPackageConfigurationRequest#builder()} *

* * @param getPackageConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetPackageConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetPackageConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPackageConfiguration */ default CompletableFuture getPackageConfiguration( Consumer getPackageConfigurationRequest) { return getPackageConfiguration(GetPackageConfigurationRequest.builder().applyMutation(getPackageConfigurationRequest) .build()); } /** *

* Gets information about the specified package version. *

*

* Requires permission to access the GetPackageVersion action. *

* * @param getPackageVersionRequest * @return A Java Future containing the result of the GetPackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPackageVersion */ default CompletableFuture getPackageVersion(GetPackageVersionRequest getPackageVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified package version. *

*

* Requires permission to access the GetPackageVersion action. *

*
*

* This is a convenience which creates an instance of the {@link GetPackageVersionRequest.Builder} avoiding the need * to create one manually via {@link GetPackageVersionRequest#builder()} *

* * @param getPackageVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetPackageVersionRequest.Builder} to create a request. * @return A Java Future containing the result of the GetPackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPackageVersion */ default CompletableFuture getPackageVersion( Consumer getPackageVersionRequest) { return getPackageVersion(GetPackageVersionRequest.builder().applyMutation(getPackageVersionRequest).build()); } /** *

* Groups the aggregated values that match the query into percentile groupings. The default percentile groupings * are: 1,5,25,50,75,95,99, although you can specify your own when you call GetPercentiles. This * function returns a value for each percentile group specified (or the default percentile groupings). The * percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values * that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately * five percent of the values that match the query, and so on. The result is an approximation, the more values that * match the query, the more accurate the percentile values. *

*

* Requires permission to access the GetPercentiles action. *

* * @param getPercentilesRequest * @return A Java Future containing the result of the GetPercentiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPercentiles */ default CompletableFuture getPercentiles(GetPercentilesRequest getPercentilesRequest) { throw new UnsupportedOperationException(); } /** *

* Groups the aggregated values that match the query into percentile groupings. The default percentile groupings * are: 1,5,25,50,75,95,99, although you can specify your own when you call GetPercentiles. This * function returns a value for each percentile group specified (or the default percentile groupings). The * percentile group "1" contains the aggregated field value that occurs in approximately one percent of the values * that match the query. The percentile group "5" contains the aggregated field value that occurs in approximately * five percent of the values that match the query, and so on. The result is an approximation, the more values that * match the query, the more accurate the percentile values. *

*

* Requires permission to access the GetPercentiles action. *

*
*

* This is a convenience which creates an instance of the {@link GetPercentilesRequest.Builder} avoiding the need to * create one manually via {@link GetPercentilesRequest#builder()} *

* * @param getPercentilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetPercentilesRequest.Builder} to create a request. * @return A Java Future containing the result of the GetPercentiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPercentiles */ default CompletableFuture getPercentiles(Consumer getPercentilesRequest) { return getPercentiles(GetPercentilesRequest.builder().applyMutation(getPercentilesRequest).build()); } /** *

* Gets information about the specified policy with the policy document of the default version. *

*

* Requires permission to access the GetPolicy action. *

* * @param getPolicyRequest * The input for the GetPolicy operation. * @return A Java Future containing the result of the GetPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPolicy */ default CompletableFuture getPolicy(GetPolicyRequest getPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified policy with the policy document of the default version. *

*

* Requires permission to access the GetPolicy action. *

*
*

* This is a convenience which creates an instance of the {@link GetPolicyRequest.Builder} avoiding the need to * create one manually via {@link GetPolicyRequest#builder()} *

* * @param getPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetPolicyRequest.Builder} to create a request. The input * for the GetPolicy operation. * @return A Java Future containing the result of the GetPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPolicy */ default CompletableFuture getPolicy(Consumer getPolicyRequest) { return getPolicy(GetPolicyRequest.builder().applyMutation(getPolicyRequest).build()); } /** *

* Gets information about the specified policy version. *

*

* Requires permission to access the GetPolicyVersion action. *

* * @param getPolicyVersionRequest * The input for the GetPolicyVersion operation. * @return A Java Future containing the result of the GetPolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPolicyVersion */ default CompletableFuture getPolicyVersion(GetPolicyVersionRequest getPolicyVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the specified policy version. *

*

* Requires permission to access the GetPolicyVersion action. *

*
*

* This is a convenience which creates an instance of the {@link GetPolicyVersionRequest.Builder} avoiding the need * to create one manually via {@link GetPolicyVersionRequest#builder()} *

* * @param getPolicyVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetPolicyVersionRequest.Builder} to create a request. The * input for the GetPolicyVersion operation. * @return A Java Future containing the result of the GetPolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetPolicyVersion */ default CompletableFuture getPolicyVersion( Consumer getPolicyVersionRequest) { return getPolicyVersion(GetPolicyVersionRequest.builder().applyMutation(getPolicyVersionRequest).build()); } /** *

* Gets a registration code used to register a CA certificate with IoT. *

*

* IoT will create a registration code as part of this API call if the registration code doesn't exist or has been * deleted. If you already have a registration code, this API call will return the same registration code. *

*

* Requires permission to access the GetRegistrationCode action. *

* * @param getRegistrationCodeRequest * The input to the GetRegistrationCode operation. * @return A Java Future containing the result of the GetRegistrationCode operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetRegistrationCode */ default CompletableFuture getRegistrationCode( GetRegistrationCodeRequest getRegistrationCodeRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a registration code used to register a CA certificate with IoT. *

*

* IoT will create a registration code as part of this API call if the registration code doesn't exist or has been * deleted. If you already have a registration code, this API call will return the same registration code. *

*

* Requires permission to access the GetRegistrationCode action. *

*
*

* This is a convenience which creates an instance of the {@link GetRegistrationCodeRequest.Builder} avoiding the * need to create one manually via {@link GetRegistrationCodeRequest#builder()} *

* * @param getRegistrationCodeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetRegistrationCodeRequest.Builder} to create a request. * The input to the GetRegistrationCode operation. * @return A Java Future containing the result of the GetRegistrationCode operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetRegistrationCode */ default CompletableFuture getRegistrationCode( Consumer getRegistrationCodeRequest) { return getRegistrationCode(GetRegistrationCodeRequest.builder().applyMutation(getRegistrationCodeRequest).build()); } /** *

* Gets a registration code used to register a CA certificate with IoT. *

*

* IoT will create a registration code as part of this API call if the registration code doesn't exist or has been * deleted. If you already have a registration code, this API call will return the same registration code. *

*

* Requires permission to access the GetRegistrationCode action. *

* * @return A Java Future containing the result of the GetRegistrationCode operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetRegistrationCode */ default CompletableFuture getRegistrationCode() { return getRegistrationCode(GetRegistrationCodeRequest.builder().build()); } /** *

* Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the * specified aggregated field. If the aggregation field is of type String, only the count statistic is * returned. *

*

* Requires permission to access the GetStatistics action. *

* * @param getStatisticsRequest * @return A Java Future containing the result of the GetStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetStatistics */ default CompletableFuture getStatistics(GetStatisticsRequest getStatisticsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the count, average, sum, minimum, maximum, sum of squares, variance, and standard deviation for the * specified aggregated field. If the aggregation field is of type String, only the count statistic is * returned. *

*

* Requires permission to access the GetStatistics action. *

*
*

* This is a convenience which creates an instance of the {@link GetStatisticsRequest.Builder} avoiding the need to * create one manually via {@link GetStatisticsRequest#builder()} *

* * @param getStatisticsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetStatisticsRequest.Builder} to create a request. * @return A Java Future containing the result of the GetStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetStatistics */ default CompletableFuture getStatistics(Consumer getStatisticsRequest) { return getStatistics(GetStatisticsRequest.builder().applyMutation(getStatisticsRequest).build()); } /** *

* Gets information about the rule. *

*

* Requires permission to access the GetTopicRule action. *

* * @param getTopicRuleRequest * The input for the GetTopicRule operation. * @return A Java Future containing the result of the GetTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetTopicRule */ default CompletableFuture getTopicRule(GetTopicRuleRequest getTopicRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about the rule. *

*

* Requires permission to access the GetTopicRule action. *

*
*

* This is a convenience which creates an instance of the {@link GetTopicRuleRequest.Builder} avoiding the need to * create one manually via {@link GetTopicRuleRequest#builder()} *

* * @param getTopicRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetTopicRuleRequest.Builder} to create a request. The * input for the GetTopicRule operation. * @return A Java Future containing the result of the GetTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetTopicRule */ default CompletableFuture getTopicRule(Consumer getTopicRuleRequest) { return getTopicRule(GetTopicRuleRequest.builder().applyMutation(getTopicRuleRequest).build()); } /** *

* Gets information about a topic rule destination. *

*

* Requires permission to access the GetTopicRuleDestination action. *

* * @param getTopicRuleDestinationRequest * @return A Java Future containing the result of the GetTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetTopicRuleDestination */ default CompletableFuture getTopicRuleDestination( GetTopicRuleDestinationRequest getTopicRuleDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a topic rule destination. *

*

* Requires permission to access the GetTopicRuleDestination action. *

*
*

* This is a convenience which creates an instance of the {@link GetTopicRuleDestinationRequest.Builder} avoiding * the need to create one manually via {@link GetTopicRuleDestinationRequest#builder()} *

* * @param getTopicRuleDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetTopicRuleDestinationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetTopicRuleDestination */ default CompletableFuture getTopicRuleDestination( Consumer getTopicRuleDestinationRequest) { return getTopicRuleDestination(GetTopicRuleDestinationRequest.builder().applyMutation(getTopicRuleDestinationRequest) .build()); } /** *

* Gets the fine grained logging options. *

*

* Requires permission to access the GetV2LoggingOptions action. *

* * @param getV2LoggingOptionsRequest * @return A Java Future containing the result of the GetV2LoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetV2LoggingOptions */ default CompletableFuture getV2LoggingOptions( GetV2LoggingOptionsRequest getV2LoggingOptionsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the fine grained logging options. *

*

* Requires permission to access the GetV2LoggingOptions action. *

*
*

* This is a convenience which creates an instance of the {@link GetV2LoggingOptionsRequest.Builder} avoiding the * need to create one manually via {@link GetV2LoggingOptionsRequest#builder()} *

* * @param getV2LoggingOptionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.GetV2LoggingOptionsRequest.Builder} to create a request. * @return A Java Future containing the result of the GetV2LoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.GetV2LoggingOptions */ default CompletableFuture getV2LoggingOptions( Consumer getV2LoggingOptionsRequest) { return getV2LoggingOptions(GetV2LoggingOptionsRequest.builder().applyMutation(getV2LoggingOptionsRequest).build()); } /** *

* Lists the active violations for a given Device Defender security profile. *

*

* Requires permission to access the ListActiveViolations action. *

* * @param listActiveViolationsRequest * @return A Java Future containing the result of the ListActiveViolations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListActiveViolations */ default CompletableFuture listActiveViolations( ListActiveViolationsRequest listActiveViolationsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the active violations for a given Device Defender security profile. *

*

* Requires permission to access the ListActiveViolations action. *

*
*

* This is a convenience which creates an instance of the {@link ListActiveViolationsRequest.Builder} avoiding the * need to create one manually via {@link ListActiveViolationsRequest#builder()} *

* * @param listActiveViolationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListActiveViolations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListActiveViolations */ default CompletableFuture listActiveViolations( Consumer listActiveViolationsRequest) { return listActiveViolations(ListActiveViolationsRequest.builder().applyMutation(listActiveViolationsRequest).build()); } /** *

* Lists the active violations for a given Device Defender security profile. *

*

* Requires permission to access the ListActiveViolations action. *

* * @return A Java Future containing the result of the ListActiveViolations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListActiveViolations */ default CompletableFuture listActiveViolations() { return listActiveViolations(ListActiveViolationsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListActiveViolations */ default ListActiveViolationsPublisher listActiveViolationsPaginator() { return listActiveViolationsPaginator(ListActiveViolationsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)} * operation. *

* * @param listActiveViolationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListActiveViolations */ default ListActiveViolationsPublisher listActiveViolationsPaginator(ListActiveViolationsRequest listActiveViolationsRequest) { return new ListActiveViolationsPublisher(this, listActiveViolationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListActiveViolationsPublisher publisher = client.listActiveViolationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listActiveViolations(software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListActiveViolationsRequest.Builder} avoiding the * need to create one manually via {@link ListActiveViolationsRequest#builder()} *

* * @param listActiveViolationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListActiveViolationsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListActiveViolations */ default ListActiveViolationsPublisher listActiveViolationsPaginator( Consumer listActiveViolationsRequest) { return listActiveViolationsPaginator(ListActiveViolationsRequest.builder().applyMutation(listActiveViolationsRequest) .build()); } /** *

* Lists the policies attached to the specified thing group. *

*

* Requires permission to access the ListAttachedPolicies action. *

* * @param listAttachedPoliciesRequest * @return A Java Future containing the result of the ListAttachedPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAttachedPolicies */ default CompletableFuture listAttachedPolicies( ListAttachedPoliciesRequest listAttachedPoliciesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the policies attached to the specified thing group. *

*

* Requires permission to access the ListAttachedPolicies action. *

*
*

* This is a convenience which creates an instance of the {@link ListAttachedPoliciesRequest.Builder} avoiding the * need to create one manually via {@link ListAttachedPoliciesRequest#builder()} *

* * @param listAttachedPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListAttachedPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAttachedPolicies */ default CompletableFuture listAttachedPolicies( Consumer listAttachedPoliciesRequest) { return listAttachedPolicies(ListAttachedPoliciesRequest.builder().applyMutation(listAttachedPoliciesRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)} * operation. *

* * @param listAttachedPoliciesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAttachedPolicies */ default ListAttachedPoliciesPublisher listAttachedPoliciesPaginator(ListAttachedPoliciesRequest listAttachedPoliciesRequest) { return new ListAttachedPoliciesPublisher(this, listAttachedPoliciesRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAttachedPoliciesPublisher publisher = client.listAttachedPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAttachedPolicies(software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAttachedPoliciesRequest.Builder} avoiding the * need to create one manually via {@link ListAttachedPoliciesRequest#builder()} *

* * @param listAttachedPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAttachedPoliciesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAttachedPolicies */ default ListAttachedPoliciesPublisher listAttachedPoliciesPaginator( Consumer listAttachedPoliciesRequest) { return listAttachedPoliciesPaginator(ListAttachedPoliciesRequest.builder().applyMutation(listAttachedPoliciesRequest) .build()); } /** *

* Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time * period. (Findings are retained for 90 days.) *

*

* Requires permission to access the ListAuditFindings action. *

* * @param listAuditFindingsRequest * @return A Java Future containing the result of the ListAuditFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditFindings */ default CompletableFuture listAuditFindings(ListAuditFindingsRequest listAuditFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the findings (results) of a Device Defender audit or of the audits performed during a specified time * period. (Findings are retained for 90 days.) *

*

* Requires permission to access the ListAuditFindings action. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditFindingsRequest.Builder} avoiding the need * to create one manually via {@link ListAuditFindingsRequest#builder()} *

* * @param listAuditFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListAuditFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditFindings */ default CompletableFuture listAuditFindings( Consumer listAuditFindingsRequest) { return listAuditFindings(ListAuditFindingsRequest.builder().applyMutation(listAuditFindingsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)} operation. *

* * @param listAuditFindingsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditFindings */ default ListAuditFindingsPublisher listAuditFindingsPaginator(ListAuditFindingsRequest listAuditFindingsRequest) { return new ListAuditFindingsPublisher(this, listAuditFindingsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditFindingsPublisher publisher = client.listAuditFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditFindings(software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditFindingsRequest.Builder} avoiding the need * to create one manually via {@link ListAuditFindingsRequest#builder()} *

* * @param listAuditFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditFindingsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditFindings */ default ListAuditFindingsPublisher listAuditFindingsPaginator( Consumer listAuditFindingsRequest) { return listAuditFindingsPaginator(ListAuditFindingsRequest.builder().applyMutation(listAuditFindingsRequest).build()); } /** *

* Gets the status of audit mitigation action tasks that were executed. *

*

* Requires permission to access the ListAuditMitigationActionsExecutions action. *

* * @param listAuditMitigationActionsExecutionsRequest * @return A Java Future containing the result of the ListAuditMitigationActionsExecutions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsExecutions */ default CompletableFuture listAuditMitigationActionsExecutions( ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets the status of audit mitigation action tasks that were executed. *

*

* Requires permission to access the ListAuditMitigationActionsExecutions action. *

*
*

* This is a convenience which creates an instance of the * {@link ListAuditMitigationActionsExecutionsRequest.Builder} avoiding the need to create one manually via * {@link ListAuditMitigationActionsExecutionsRequest#builder()} *

* * @param listAuditMitigationActionsExecutionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListAuditMitigationActionsExecutions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsExecutions */ default CompletableFuture listAuditMitigationActionsExecutions( Consumer listAuditMitigationActionsExecutionsRequest) { return listAuditMitigationActionsExecutions(ListAuditMitigationActionsExecutionsRequest.builder() .applyMutation(listAuditMitigationActionsExecutionsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)} * operation. *

* * @param listAuditMitigationActionsExecutionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsExecutions */ default ListAuditMitigationActionsExecutionsPublisher listAuditMitigationActionsExecutionsPaginator( ListAuditMitigationActionsExecutionsRequest listAuditMitigationActionsExecutionsRequest) { return new ListAuditMitigationActionsExecutionsPublisher(this, listAuditMitigationActionsExecutionsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsExecutionsPublisher publisher = client.listAuditMitigationActionsExecutionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the * {@link ListAuditMitigationActionsExecutionsRequest.Builder} avoiding the need to create one manually via * {@link ListAuditMitigationActionsExecutionsRequest#builder()} *

* * @param listAuditMitigationActionsExecutionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsExecutionsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsExecutions */ default ListAuditMitigationActionsExecutionsPublisher listAuditMitigationActionsExecutionsPaginator( Consumer listAuditMitigationActionsExecutionsRequest) { return listAuditMitigationActionsExecutionsPaginator(ListAuditMitigationActionsExecutionsRequest.builder() .applyMutation(listAuditMitigationActionsExecutionsRequest).build()); } /** *

* Gets a list of audit mitigation action tasks that match the specified filters. *

*

* Requires permission to access the ListAuditMitigationActionsTasks action. *

* * @param listAuditMitigationActionsTasksRequest * @return A Java Future containing the result of the ListAuditMitigationActionsTasks operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsTasks */ default CompletableFuture listAuditMitigationActionsTasks( ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of audit mitigation action tasks that match the specified filters. *

*

* Requires permission to access the ListAuditMitigationActionsTasks action. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditMitigationActionsTasksRequest.Builder} * avoiding the need to create one manually via {@link ListAuditMitigationActionsTasksRequest#builder()} *

* * @param listAuditMitigationActionsTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListAuditMitigationActionsTasks operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsTasks */ default CompletableFuture listAuditMitigationActionsTasks( Consumer listAuditMitigationActionsTasksRequest) { return listAuditMitigationActionsTasks(ListAuditMitigationActionsTasksRequest.builder() .applyMutation(listAuditMitigationActionsTasksRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)} * operation. *

* * @param listAuditMitigationActionsTasksRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsTasks */ default ListAuditMitigationActionsTasksPublisher listAuditMitigationActionsTasksPaginator( ListAuditMitigationActionsTasksRequest listAuditMitigationActionsTasksRequest) { return new ListAuditMitigationActionsTasksPublisher(this, listAuditMitigationActionsTasksRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditMitigationActionsTasksPublisher publisher = client.listAuditMitigationActionsTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditMitigationActionsTasksRequest.Builder} * avoiding the need to create one manually via {@link ListAuditMitigationActionsTasksRequest#builder()} *

* * @param listAuditMitigationActionsTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditMitigationActionsTasksRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditMitigationActionsTasks */ default ListAuditMitigationActionsTasksPublisher listAuditMitigationActionsTasksPaginator( Consumer listAuditMitigationActionsTasksRequest) { return listAuditMitigationActionsTasksPaginator(ListAuditMitigationActionsTasksRequest.builder() .applyMutation(listAuditMitigationActionsTasksRequest).build()); } /** *

* Lists your Device Defender audit listings. *

*

* Requires permission to access the ListAuditSuppressions action. *

* * @param listAuditSuppressionsRequest * @return A Java Future containing the result of the ListAuditSuppressions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditSuppressions */ default CompletableFuture listAuditSuppressions( ListAuditSuppressionsRequest listAuditSuppressionsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists your Device Defender audit listings. *

*

* Requires permission to access the ListAuditSuppressions action. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditSuppressionsRequest.Builder} avoiding the * need to create one manually via {@link ListAuditSuppressionsRequest#builder()} *

* * @param listAuditSuppressionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListAuditSuppressions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditSuppressions */ default CompletableFuture listAuditSuppressions( Consumer listAuditSuppressionsRequest) { return listAuditSuppressions(ListAuditSuppressionsRequest.builder().applyMutation(listAuditSuppressionsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)} * operation. *

* * @param listAuditSuppressionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditSuppressions */ default ListAuditSuppressionsPublisher listAuditSuppressionsPaginator( ListAuditSuppressionsRequest listAuditSuppressionsRequest) { return new ListAuditSuppressionsPublisher(this, listAuditSuppressionsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditSuppressionsPublisher publisher = client.listAuditSuppressionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditSuppressions(software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditSuppressionsRequest.Builder} avoiding the * need to create one manually via {@link ListAuditSuppressionsRequest#builder()} *

* * @param listAuditSuppressionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditSuppressionsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditSuppressions */ default ListAuditSuppressionsPublisher listAuditSuppressionsPaginator( Consumer listAuditSuppressionsRequest) { return listAuditSuppressionsPaginator(ListAuditSuppressionsRequest.builder().applyMutation(listAuditSuppressionsRequest) .build()); } /** *

* Lists the Device Defender audits that have been performed during a given time period. *

*

* Requires permission to access the ListAuditTasks action. *

* * @param listAuditTasksRequest * @return A Java Future containing the result of the ListAuditTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditTasks */ default CompletableFuture listAuditTasks(ListAuditTasksRequest listAuditTasksRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the Device Defender audits that have been performed during a given time period. *

*

* Requires permission to access the ListAuditTasks action. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditTasksRequest.Builder} avoiding the need to * create one manually via {@link ListAuditTasksRequest#builder()} *

* * @param listAuditTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditTasksRequest.Builder} to create a request. * @return A Java Future containing the result of the ListAuditTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditTasks */ default CompletableFuture listAuditTasks(Consumer listAuditTasksRequest) { return listAuditTasks(ListAuditTasksRequest.builder().applyMutation(listAuditTasksRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)} operation. *

* * @param listAuditTasksRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditTasks */ default ListAuditTasksPublisher listAuditTasksPaginator(ListAuditTasksRequest listAuditTasksRequest) { return new ListAuditTasksPublisher(this, listAuditTasksRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuditTasksPublisher publisher = client.listAuditTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuditTasks(software.amazon.awssdk.services.iot.model.ListAuditTasksRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAuditTasksRequest.Builder} avoiding the need to * create one manually via {@link ListAuditTasksRequest#builder()} *

* * @param listAuditTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuditTasksRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuditTasks */ default ListAuditTasksPublisher listAuditTasksPaginator(Consumer listAuditTasksRequest) { return listAuditTasksPaginator(ListAuditTasksRequest.builder().applyMutation(listAuditTasksRequest).build()); } /** *

* Lists the authorizers registered in your account. *

*

* Requires permission to access the ListAuthorizers action. *

* * @param listAuthorizersRequest * @return A Java Future containing the result of the ListAuthorizers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuthorizers */ default CompletableFuture listAuthorizers(ListAuthorizersRequest listAuthorizersRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the authorizers registered in your account. *

*

* Requires permission to access the ListAuthorizers action. *

*
*

* This is a convenience which creates an instance of the {@link ListAuthorizersRequest.Builder} avoiding the need * to create one manually via {@link ListAuthorizersRequest#builder()} *

* * @param listAuthorizersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuthorizersRequest.Builder} to create a request. * @return A Java Future containing the result of the ListAuthorizers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuthorizers */ default CompletableFuture listAuthorizers( Consumer listAuthorizersRequest) { return listAuthorizers(ListAuthorizersRequest.builder().applyMutation(listAuthorizersRequest).build()); } /** *

* Lists the authorizers registered in your account. *

*

* Requires permission to access the ListAuthorizers action. *

* * @return A Java Future containing the result of the ListAuthorizers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuthorizers */ default CompletableFuture listAuthorizers() { return listAuthorizers(ListAuthorizersRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuthorizers */ default ListAuthorizersPublisher listAuthorizersPaginator() { return listAuthorizersPaginator(ListAuthorizersRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)} operation. *

* * @param listAuthorizersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuthorizers */ default ListAuthorizersPublisher listAuthorizersPaginator(ListAuthorizersRequest listAuthorizersRequest) { return new ListAuthorizersPublisher(this, listAuthorizersRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListAuthorizersPublisher publisher = client.listAuthorizersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listAuthorizers(software.amazon.awssdk.services.iot.model.ListAuthorizersRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListAuthorizersRequest.Builder} avoiding the need * to create one manually via {@link ListAuthorizersRequest#builder()} *

* * @param listAuthorizersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListAuthorizersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListAuthorizers */ default ListAuthorizersPublisher listAuthorizersPaginator(Consumer listAuthorizersRequest) { return listAuthorizersPaginator(ListAuthorizersRequest.builder().applyMutation(listAuthorizersRequest).build()); } /** *

* Lists the billing groups you have created. *

*

* Requires permission to access the ListBillingGroups action. *

* * @param listBillingGroupsRequest * @return A Java Future containing the result of the ListBillingGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListBillingGroups */ default CompletableFuture listBillingGroups(ListBillingGroupsRequest listBillingGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the billing groups you have created. *

*

* Requires permission to access the ListBillingGroups action. *

*
*

* This is a convenience which creates an instance of the {@link ListBillingGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListBillingGroupsRequest#builder()} *

* * @param listBillingGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListBillingGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListBillingGroups */ default CompletableFuture listBillingGroups( Consumer listBillingGroupsRequest) { return listBillingGroups(ListBillingGroupsRequest.builder().applyMutation(listBillingGroupsRequest).build()); } /** *

* Lists the billing groups you have created. *

*

* Requires permission to access the ListBillingGroups action. *

* * @return A Java Future containing the result of the ListBillingGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListBillingGroups */ default CompletableFuture listBillingGroups() { return listBillingGroups(ListBillingGroupsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListBillingGroups */ default ListBillingGroupsPublisher listBillingGroupsPaginator() { return listBillingGroupsPaginator(ListBillingGroupsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)} operation. *

* * @param listBillingGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListBillingGroups */ default ListBillingGroupsPublisher listBillingGroupsPaginator(ListBillingGroupsRequest listBillingGroupsRequest) { return new ListBillingGroupsPublisher(this, listBillingGroupsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListBillingGroupsPublisher publisher = client.listBillingGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listBillingGroups(software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListBillingGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListBillingGroupsRequest#builder()} *

* * @param listBillingGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListBillingGroupsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListBillingGroups */ default ListBillingGroupsPublisher listBillingGroupsPaginator( Consumer listBillingGroupsRequest) { return listBillingGroupsPaginator(ListBillingGroupsRequest.builder().applyMutation(listBillingGroupsRequest).build()); } /** *

* Lists the CA certificates registered for your Amazon Web Services account. *

*

* The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional * results. *

*

* Requires permission to access the ListCACertificates action. *

* * @param listCaCertificatesRequest * Input for the ListCACertificates operation. * @return A Java Future containing the result of the ListCACertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCACertificates */ default CompletableFuture listCACertificates(ListCaCertificatesRequest listCaCertificatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the CA certificates registered for your Amazon Web Services account. *

*

* The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional * results. *

*

* Requires permission to access the ListCACertificates action. *

*
*

* This is a convenience which creates an instance of the {@link ListCaCertificatesRequest.Builder} avoiding the * need to create one manually via {@link ListCaCertificatesRequest#builder()} *

* * @param listCaCertificatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest.Builder} to create a request. * Input for the ListCACertificates operation. * @return A Java Future containing the result of the ListCACertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCACertificates */ default CompletableFuture listCACertificates( Consumer listCaCertificatesRequest) { return listCACertificates(ListCaCertificatesRequest.builder().applyMutation(listCaCertificatesRequest).build()); } /** *

* Lists the CA certificates registered for your Amazon Web Services account. *

*

* The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional * results. *

*

* Requires permission to access the ListCACertificates action. *

* * @return A Java Future containing the result of the ListCACertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCACertificates */ default CompletableFuture listCACertificates() { return listCACertificates(ListCaCertificatesRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCACertificates */ default ListCACertificatesPublisher listCACertificatesPaginator() { return listCACertificatesPaginator(ListCaCertificatesRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)} operation. *

* * @param listCaCertificatesRequest * Input for the ListCACertificates operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCACertificates */ default ListCACertificatesPublisher listCACertificatesPaginator(ListCaCertificatesRequest listCaCertificatesRequest) { return new ListCACertificatesPublisher(this, listCaCertificatesRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCACertificatesPublisher publisher = client.listCACertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCACertificates(software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCaCertificatesRequest.Builder} avoiding the * need to create one manually via {@link ListCaCertificatesRequest#builder()} *

* * @param listCaCertificatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCaCertificatesRequest.Builder} to create a request. * Input for the ListCACertificates operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCACertificates */ default ListCACertificatesPublisher listCACertificatesPaginator( Consumer listCaCertificatesRequest) { return listCACertificatesPaginator(ListCaCertificatesRequest.builder().applyMutation(listCaCertificatesRequest).build()); } /** *

* Lists all your certificate providers in your Amazon Web Services account. *

*

* Requires permission to access the ListCertificateProviders action. *

* * @param listCertificateProvidersRequest * @return A Java Future containing the result of the ListCertificateProviders operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificateProviders */ default CompletableFuture listCertificateProviders( ListCertificateProvidersRequest listCertificateProvidersRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all your certificate providers in your Amazon Web Services account. *

*

* Requires permission to access the ListCertificateProviders action. *

*
*

* This is a convenience which creates an instance of the {@link ListCertificateProvidersRequest.Builder} avoiding * the need to create one manually via {@link ListCertificateProvidersRequest#builder()} *

* * @param listCertificateProvidersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCertificateProvidersRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListCertificateProviders operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificateProviders */ default CompletableFuture listCertificateProviders( Consumer listCertificateProvidersRequest) { return listCertificateProviders(ListCertificateProvidersRequest.builder().applyMutation(listCertificateProvidersRequest) .build()); } /** *

* Lists the certificates registered in your Amazon Web Services account. *

*

* The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional * results. *

*

* Requires permission to access the ListCertificates action. *

* * @param listCertificatesRequest * The input for the ListCertificates operation. * @return A Java Future containing the result of the ListCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificates */ default CompletableFuture listCertificates(ListCertificatesRequest listCertificatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the certificates registered in your Amazon Web Services account. *

*

* The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional * results. *

*

* Requires permission to access the ListCertificates action. *

*
*

* This is a convenience which creates an instance of the {@link ListCertificatesRequest.Builder} avoiding the need * to create one manually via {@link ListCertificatesRequest#builder()} *

* * @param listCertificatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCertificatesRequest.Builder} to create a request. The * input for the ListCertificates operation. * @return A Java Future containing the result of the ListCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificates */ default CompletableFuture listCertificates( Consumer listCertificatesRequest) { return listCertificates(ListCertificatesRequest.builder().applyMutation(listCertificatesRequest).build()); } /** *

* Lists the certificates registered in your Amazon Web Services account. *

*

* The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional * results. *

*

* Requires permission to access the ListCertificates action. *

* * @return A Java Future containing the result of the ListCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificates */ default CompletableFuture listCertificates() { return listCertificates(ListCertificatesRequest.builder().build()); } /** *

* List the device certificates signed by the specified CA certificate. *

*

* Requires permission to access the ListCertificatesByCA action. *

* * @param listCertificatesByCaRequest * The input to the ListCertificatesByCA operation. * @return A Java Future containing the result of the ListCertificatesByCA operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificatesByCA */ default CompletableFuture listCertificatesByCA( ListCertificatesByCaRequest listCertificatesByCaRequest) { throw new UnsupportedOperationException(); } /** *

* List the device certificates signed by the specified CA certificate. *

*

* Requires permission to access the ListCertificatesByCA action. *

*
*

* This is a convenience which creates an instance of the {@link ListCertificatesByCaRequest.Builder} avoiding the * need to create one manually via {@link ListCertificatesByCaRequest#builder()} *

* * @param listCertificatesByCaRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest.Builder} to create a request. * The input to the ListCertificatesByCA operation. * @return A Java Future containing the result of the ListCertificatesByCA operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificatesByCA */ default CompletableFuture listCertificatesByCA( Consumer listCertificatesByCaRequest) { return listCertificatesByCA(ListCertificatesByCaRequest.builder().applyMutation(listCertificatesByCaRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)} * operation. *

* * @param listCertificatesByCaRequest * The input to the ListCertificatesByCA operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificatesByCA */ default ListCertificatesByCAPublisher listCertificatesByCAPaginator(ListCertificatesByCaRequest listCertificatesByCaRequest) { return new ListCertificatesByCAPublisher(this, listCertificatesByCaRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesByCAPublisher publisher = client.listCertificatesByCAPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCertificatesByCA(software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCertificatesByCaRequest.Builder} avoiding the * need to create one manually via {@link ListCertificatesByCaRequest#builder()} *

* * @param listCertificatesByCaRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCertificatesByCaRequest.Builder} to create a request. * The input to the ListCertificatesByCA operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificatesByCA */ default ListCertificatesByCAPublisher listCertificatesByCAPaginator( Consumer listCertificatesByCaRequest) { return listCertificatesByCAPaginator(ListCertificatesByCaRequest.builder().applyMutation(listCertificatesByCaRequest) .build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificates */ default ListCertificatesPublisher listCertificatesPaginator() { return listCertificatesPaginator(ListCertificatesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)} operation. *

* * @param listCertificatesRequest * The input for the ListCertificates operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificates */ default ListCertificatesPublisher listCertificatesPaginator(ListCertificatesRequest listCertificatesRequest) { return new ListCertificatesPublisher(this, listCertificatesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCertificatesPublisher publisher = client.listCertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCertificates(software.amazon.awssdk.services.iot.model.ListCertificatesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCertificatesRequest.Builder} avoiding the need * to create one manually via {@link ListCertificatesRequest#builder()} *

* * @param listCertificatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCertificatesRequest.Builder} to create a request. The * input for the ListCertificates operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCertificates */ default ListCertificatesPublisher listCertificatesPaginator(Consumer listCertificatesRequest) { return listCertificatesPaginator(ListCertificatesRequest.builder().applyMutation(listCertificatesRequest).build()); } /** *

* Lists your Device Defender detect custom metrics. *

*

* Requires permission to access the ListCustomMetrics action. *

* * @param listCustomMetricsRequest * @return A Java Future containing the result of the ListCustomMetrics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCustomMetrics */ default CompletableFuture listCustomMetrics(ListCustomMetricsRequest listCustomMetricsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists your Device Defender detect custom metrics. *

*

* Requires permission to access the ListCustomMetrics action. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomMetricsRequest.Builder} avoiding the need * to create one manually via {@link ListCustomMetricsRequest#builder()} *

* * @param listCustomMetricsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListCustomMetrics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCustomMetrics */ default CompletableFuture listCustomMetrics( Consumer listCustomMetricsRequest) { return listCustomMetrics(ListCustomMetricsRequest.builder().applyMutation(listCustomMetricsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)} operation. *

* * @param listCustomMetricsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCustomMetrics */ default ListCustomMetricsPublisher listCustomMetricsPaginator(ListCustomMetricsRequest listCustomMetricsRequest) { return new ListCustomMetricsPublisher(this, listCustomMetricsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListCustomMetricsPublisher publisher = client.listCustomMetricsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listCustomMetrics(software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCustomMetricsRequest.Builder} avoiding the need * to create one manually via {@link ListCustomMetricsRequest#builder()} *

* * @param listCustomMetricsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListCustomMetricsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListCustomMetrics */ default ListCustomMetricsPublisher listCustomMetricsPaginator( Consumer listCustomMetricsRequest) { return listCustomMetricsPaginator(ListCustomMetricsRequest.builder().applyMutation(listCustomMetricsRequest).build()); } /** *

* Lists mitigation actions executions for a Device Defender ML Detect Security Profile. *

*

* Requires permission to access the ListDetectMitigationActionsExecutions action. *

* * @param listDetectMitigationActionsExecutionsRequest * @return A Java Future containing the result of the ListDetectMitigationActionsExecutions operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsExecutions */ default CompletableFuture listDetectMitigationActionsExecutions( ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists mitigation actions executions for a Device Defender ML Detect Security Profile. *

*

* Requires permission to access the ListDetectMitigationActionsExecutions action. *

*
*

* This is a convenience which creates an instance of the * {@link ListDetectMitigationActionsExecutionsRequest.Builder} avoiding the need to create one manually via * {@link ListDetectMitigationActionsExecutionsRequest#builder()} *

* * @param listDetectMitigationActionsExecutionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListDetectMitigationActionsExecutions operation returned by * the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsExecutions */ default CompletableFuture listDetectMitigationActionsExecutions( Consumer listDetectMitigationActionsExecutionsRequest) { return listDetectMitigationActionsExecutions(ListDetectMitigationActionsExecutionsRequest.builder() .applyMutation(listDetectMitigationActionsExecutionsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)} * operation. *

* * @param listDetectMitigationActionsExecutionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsExecutions */ default ListDetectMitigationActionsExecutionsPublisher listDetectMitigationActionsExecutionsPaginator( ListDetectMitigationActionsExecutionsRequest listDetectMitigationActionsExecutionsRequest) { return new ListDetectMitigationActionsExecutionsPublisher(this, listDetectMitigationActionsExecutionsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsExecutionsPublisher publisher = client.listDetectMitigationActionsExecutionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectMitigationActionsExecutions(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the * {@link ListDetectMitigationActionsExecutionsRequest.Builder} avoiding the need to create one manually via * {@link ListDetectMitigationActionsExecutionsRequest#builder()} *

* * @param listDetectMitigationActionsExecutionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsExecutionsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsExecutions */ default ListDetectMitigationActionsExecutionsPublisher listDetectMitigationActionsExecutionsPaginator( Consumer listDetectMitigationActionsExecutionsRequest) { return listDetectMitigationActionsExecutionsPaginator(ListDetectMitigationActionsExecutionsRequest.builder() .applyMutation(listDetectMitigationActionsExecutionsRequest).build()); } /** *

* List of Device Defender ML Detect mitigation actions tasks. *

*

* Requires permission to access the ListDetectMitigationActionsTasks action. *

* * @param listDetectMitigationActionsTasksRequest * @return A Java Future containing the result of the ListDetectMitigationActionsTasks operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsTasks */ default CompletableFuture listDetectMitigationActionsTasks( ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) { throw new UnsupportedOperationException(); } /** *

* List of Device Defender ML Detect mitigation actions tasks. *

*

* Requires permission to access the ListDetectMitigationActionsTasks action. *

*
*

* This is a convenience which creates an instance of the {@link ListDetectMitigationActionsTasksRequest.Builder} * avoiding the need to create one manually via {@link ListDetectMitigationActionsTasksRequest#builder()} *

* * @param listDetectMitigationActionsTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListDetectMitigationActionsTasks operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsTasks */ default CompletableFuture listDetectMitigationActionsTasks( Consumer listDetectMitigationActionsTasksRequest) { return listDetectMitigationActionsTasks(ListDetectMitigationActionsTasksRequest.builder() .applyMutation(listDetectMitigationActionsTasksRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)} * operation. *

* * @param listDetectMitigationActionsTasksRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsTasks */ default ListDetectMitigationActionsTasksPublisher listDetectMitigationActionsTasksPaginator( ListDetectMitigationActionsTasksRequest listDetectMitigationActionsTasksRequest) { return new ListDetectMitigationActionsTasksPublisher(this, listDetectMitigationActionsTasksRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDetectMitigationActionsTasksPublisher publisher = client.listDetectMitigationActionsTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectMitigationActionsTasks(software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDetectMitigationActionsTasksRequest.Builder} * avoiding the need to create one manually via {@link ListDetectMitigationActionsTasksRequest#builder()} *

* * @param listDetectMitigationActionsTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDetectMitigationActionsTasksRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDetectMitigationActionsTasks */ default ListDetectMitigationActionsTasksPublisher listDetectMitigationActionsTasksPaginator( Consumer listDetectMitigationActionsTasksRequest) { return listDetectMitigationActionsTasksPaginator(ListDetectMitigationActionsTasksRequest.builder() .applyMutation(listDetectMitigationActionsTasksRequest).build()); } /** *

* List the set of dimensions that are defined for your Amazon Web Services accounts. *

*

* Requires permission to access the ListDimensions action. *

* * @param listDimensionsRequest * @return A Java Future containing the result of the ListDimensions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDimensions */ default CompletableFuture listDimensions(ListDimensionsRequest listDimensionsRequest) { throw new UnsupportedOperationException(); } /** *

* List the set of dimensions that are defined for your Amazon Web Services accounts. *

*

* Requires permission to access the ListDimensions action. *

*
*

* This is a convenience which creates an instance of the {@link ListDimensionsRequest.Builder} avoiding the need to * create one manually via {@link ListDimensionsRequest#builder()} *

* * @param listDimensionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDimensionsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListDimensions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDimensions */ default CompletableFuture listDimensions(Consumer listDimensionsRequest) { return listDimensions(ListDimensionsRequest.builder().applyMutation(listDimensionsRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)} operation. *

* * @param listDimensionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDimensions */ default ListDimensionsPublisher listDimensionsPaginator(ListDimensionsRequest listDimensionsRequest) { return new ListDimensionsPublisher(this, listDimensionsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDimensionsPublisher publisher = client.listDimensionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDimensions(software.amazon.awssdk.services.iot.model.ListDimensionsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDimensionsRequest.Builder} avoiding the need to * create one manually via {@link ListDimensionsRequest#builder()} *

* * @param listDimensionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDimensionsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDimensions */ default ListDimensionsPublisher listDimensionsPaginator(Consumer listDimensionsRequest) { return listDimensionsPaginator(ListDimensionsRequest.builder().applyMutation(listDimensionsRequest).build()); } /** *

* Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration * name. *

*

* Requires permission to access the ListDomainConfigurations action. *

* * @param listDomainConfigurationsRequest * @return A Java Future containing the result of the ListDomainConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDomainConfigurations */ default CompletableFuture listDomainConfigurations( ListDomainConfigurationsRequest listDomainConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of domain configurations for the user. This list is sorted alphabetically by domain configuration * name. *

*

* Requires permission to access the ListDomainConfigurations action. *

*
*

* This is a convenience which creates an instance of the {@link ListDomainConfigurationsRequest.Builder} avoiding * the need to create one manually via {@link ListDomainConfigurationsRequest#builder()} *

* * @param listDomainConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListDomainConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDomainConfigurations */ default CompletableFuture listDomainConfigurations( Consumer listDomainConfigurationsRequest) { return listDomainConfigurations(ListDomainConfigurationsRequest.builder().applyMutation(listDomainConfigurationsRequest) .build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)} * operation. *

* * @param listDomainConfigurationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDomainConfigurations */ default ListDomainConfigurationsPublisher listDomainConfigurationsPaginator( ListDomainConfigurationsRequest listDomainConfigurationsRequest) { return new ListDomainConfigurationsPublisher(this, listDomainConfigurationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListDomainConfigurationsPublisher publisher = client.listDomainConfigurationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDomainConfigurations(software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDomainConfigurationsRequest.Builder} avoiding * the need to create one manually via {@link ListDomainConfigurationsRequest#builder()} *

* * @param listDomainConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListDomainConfigurationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListDomainConfigurations */ default ListDomainConfigurationsPublisher listDomainConfigurationsPaginator( Consumer listDomainConfigurationsRequest) { return listDomainConfigurationsPaginator(ListDomainConfigurationsRequest.builder() .applyMutation(listDomainConfigurationsRequest).build()); } /** *

* Lists all your fleet metrics. *

*

* Requires permission to access the ListFleetMetrics action. *

* * @param listFleetMetricsRequest * @return A Java Future containing the result of the ListFleetMetrics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListFleetMetrics */ default CompletableFuture listFleetMetrics(ListFleetMetricsRequest listFleetMetricsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all your fleet metrics. *

*

* Requires permission to access the ListFleetMetrics action. *

*
*

* This is a convenience which creates an instance of the {@link ListFleetMetricsRequest.Builder} avoiding the need * to create one manually via {@link ListFleetMetricsRequest#builder()} *

* * @param listFleetMetricsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListFleetMetrics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListFleetMetrics */ default CompletableFuture listFleetMetrics( Consumer listFleetMetricsRequest) { return listFleetMetrics(ListFleetMetricsRequest.builder().applyMutation(listFleetMetricsRequest).build()); } /** *

* This is a variant of {@link #listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListFleetMetricsPublisher publisher = client.listFleetMetricsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListFleetMetricsPublisher publisher = client.listFleetMetricsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse 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 * {@link #listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)} operation. *

* * @param listFleetMetricsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListFleetMetrics */ default ListFleetMetricsPublisher listFleetMetricsPaginator(ListFleetMetricsRequest listFleetMetricsRequest) { return new ListFleetMetricsPublisher(this, listFleetMetricsRequest); } /** *

* This is a variant of {@link #listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListFleetMetricsPublisher publisher = client.listFleetMetricsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListFleetMetricsPublisher publisher = client.listFleetMetricsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListFleetMetricsResponse 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 * {@link #listFleetMetrics(software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListFleetMetricsRequest.Builder} avoiding the need * to create one manually via {@link ListFleetMetricsRequest#builder()} *

* * @param listFleetMetricsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListFleetMetricsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListFleetMetrics */ default ListFleetMetricsPublisher listFleetMetricsPaginator(Consumer listFleetMetricsRequest) { return listFleetMetricsPaginator(ListFleetMetricsRequest.builder().applyMutation(listFleetMetricsRequest).build()); } /** *

* Lists the search indices. *

*

* Requires permission to access the ListIndices action. *

* * @param listIndicesRequest * @return A Java Future containing the result of the ListIndices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListIndices */ default CompletableFuture listIndices(ListIndicesRequest listIndicesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the search indices. *

*

* Requires permission to access the ListIndices action. *

*
*

* This is a convenience which creates an instance of the {@link ListIndicesRequest.Builder} avoiding the need to * create one manually via {@link ListIndicesRequest#builder()} *

* * @param listIndicesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListIndicesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListIndices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListIndices */ default CompletableFuture listIndices(Consumer listIndicesRequest) { return listIndices(ListIndicesRequest.builder().applyMutation(listIndicesRequest).build()); } /** *

* Lists the search indices. *

*

* Requires permission to access the ListIndices action. *

* * @return A Java Future containing the result of the ListIndices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListIndices */ default CompletableFuture listIndices() { return listIndices(ListIndicesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListIndices */ default ListIndicesPublisher listIndicesPaginator() { return listIndicesPaginator(ListIndicesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)} operation. *

* * @param listIndicesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListIndices */ default ListIndicesPublisher listIndicesPaginator(ListIndicesRequest listIndicesRequest) { return new ListIndicesPublisher(this, listIndicesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListIndicesPublisher publisher = client.listIndicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listIndices(software.amazon.awssdk.services.iot.model.ListIndicesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListIndicesRequest.Builder} avoiding the need to * create one manually via {@link ListIndicesRequest#builder()} *

* * @param listIndicesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListIndicesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListIndices */ default ListIndicesPublisher listIndicesPaginator(Consumer listIndicesRequest) { return listIndicesPaginator(ListIndicesRequest.builder().applyMutation(listIndicesRequest).build()); } /** *

* Lists the job executions for a job. *

*

* Requires permission to access the ListJobExecutionsForJob action. *

* * @param listJobExecutionsForJobRequest * @return A Java Future containing the result of the ListJobExecutionsForJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForJob */ default CompletableFuture listJobExecutionsForJob( ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the job executions for a job. *

*

* Requires permission to access the ListJobExecutionsForJob action. *

*
*

* This is a convenience which creates an instance of the {@link ListJobExecutionsForJobRequest.Builder} avoiding * the need to create one manually via {@link ListJobExecutionsForJobRequest#builder()} *

* * @param listJobExecutionsForJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListJobExecutionsForJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForJob */ default CompletableFuture listJobExecutionsForJob( Consumer listJobExecutionsForJobRequest) { return listJobExecutionsForJob(ListJobExecutionsForJobRequest.builder().applyMutation(listJobExecutionsForJobRequest) .build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)} * operation. *

* * @param listJobExecutionsForJobRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForJob */ default ListJobExecutionsForJobPublisher listJobExecutionsForJobPaginator( ListJobExecutionsForJobRequest listJobExecutionsForJobRequest) { return new ListJobExecutionsForJobPublisher(this, listJobExecutionsForJobRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForJobPublisher publisher = client.listJobExecutionsForJobPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobExecutionsForJob(software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListJobExecutionsForJobRequest.Builder} avoiding * the need to create one manually via {@link ListJobExecutionsForJobRequest#builder()} *

* * @param listJobExecutionsForJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobExecutionsForJobRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForJob */ default ListJobExecutionsForJobPublisher listJobExecutionsForJobPaginator( Consumer listJobExecutionsForJobRequest) { return listJobExecutionsForJobPaginator(ListJobExecutionsForJobRequest.builder() .applyMutation(listJobExecutionsForJobRequest).build()); } /** *

* Lists the job executions for the specified thing. *

*

* Requires permission to access the ListJobExecutionsForThing action. *

* * @param listJobExecutionsForThingRequest * @return A Java Future containing the result of the ListJobExecutionsForThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForThing */ default CompletableFuture listJobExecutionsForThing( ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the job executions for the specified thing. *

*

* Requires permission to access the ListJobExecutionsForThing action. *

*
*

* This is a convenience which creates an instance of the {@link ListJobExecutionsForThingRequest.Builder} avoiding * the need to create one manually via {@link ListJobExecutionsForThingRequest#builder()} *

* * @param listJobExecutionsForThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListJobExecutionsForThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForThing */ default CompletableFuture listJobExecutionsForThing( Consumer listJobExecutionsForThingRequest) { return listJobExecutionsForThing(ListJobExecutionsForThingRequest.builder() .applyMutation(listJobExecutionsForThingRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)} * operation. *

* * @param listJobExecutionsForThingRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForThing */ default ListJobExecutionsForThingPublisher listJobExecutionsForThingPaginator( ListJobExecutionsForThingRequest listJobExecutionsForThingRequest) { return new ListJobExecutionsForThingPublisher(this, listJobExecutionsForThingRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobExecutionsForThingPublisher publisher = client.listJobExecutionsForThingPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobExecutionsForThing(software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListJobExecutionsForThingRequest.Builder} avoiding * the need to create one manually via {@link ListJobExecutionsForThingRequest#builder()} *

* * @param listJobExecutionsForThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobExecutionsForThingRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobExecutionsForThing */ default ListJobExecutionsForThingPublisher listJobExecutionsForThingPaginator( Consumer listJobExecutionsForThingRequest) { return listJobExecutionsForThingPaginator(ListJobExecutionsForThingRequest.builder() .applyMutation(listJobExecutionsForThingRequest).build()); } /** *

* Returns a list of job templates. *

*

* Requires permission to access the ListJobTemplates action. *

* * @param listJobTemplatesRequest * @return A Java Future containing the result of the ListJobTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobTemplates */ default CompletableFuture listJobTemplates(ListJobTemplatesRequest listJobTemplatesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of job templates. *

*

* Requires permission to access the ListJobTemplates action. *

*
*

* This is a convenience which creates an instance of the {@link ListJobTemplatesRequest.Builder} avoiding the need * to create one manually via {@link ListJobTemplatesRequest#builder()} *

* * @param listJobTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListJobTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobTemplates */ default CompletableFuture listJobTemplates( Consumer listJobTemplatesRequest) { return listJobTemplates(ListJobTemplatesRequest.builder().applyMutation(listJobTemplatesRequest).build()); } /** *

* This is a variant of {@link #listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse 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 * {@link #listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)} operation. *

* * @param listJobTemplatesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobTemplates */ default ListJobTemplatesPublisher listJobTemplatesPaginator(ListJobTemplatesRequest listJobTemplatesRequest) { return new ListJobTemplatesPublisher(this, listJobTemplatesRequest); } /** *

* This is a variant of {@link #listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobTemplatesPublisher publisher = client.listJobTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListJobTemplatesResponse 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 * {@link #listJobTemplates(software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListJobTemplatesRequest.Builder} avoiding the need * to create one manually via {@link ListJobTemplatesRequest#builder()} *

* * @param listJobTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobTemplatesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobTemplates */ default ListJobTemplatesPublisher listJobTemplatesPaginator(Consumer listJobTemplatesRequest) { return listJobTemplatesPaginator(ListJobTemplatesRequest.builder().applyMutation(listJobTemplatesRequest).build()); } /** *

* Lists jobs. *

*

* Requires permission to access the ListJobs action. *

* * @param listJobsRequest * @return A Java Future containing the result of the ListJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobs */ default CompletableFuture listJobs(ListJobsRequest listJobsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists jobs. *

*

* Requires permission to access the ListJobs action. *

*
*

* This is a convenience which creates an instance of the {@link ListJobsRequest.Builder} avoiding the need to * create one manually via {@link ListJobsRequest#builder()} *

* * @param listJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobs */ default CompletableFuture listJobs(Consumer listJobsRequest) { return listJobs(ListJobsRequest.builder().applyMutation(listJobsRequest).build()); } /** *

* Lists jobs. *

*

* Requires permission to access the ListJobs action. *

* * @return A Java Future containing the result of the ListJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobs */ default CompletableFuture listJobs() { return listJobs(ListJobsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobs */ default ListJobsPublisher listJobsPaginator() { return listJobsPaginator(ListJobsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)} operation. *

* * @param listJobsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobs */ default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest) { return new ListJobsPublisher(this, listJobsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listJobs(software.amazon.awssdk.services.iot.model.ListJobsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListJobsRequest.Builder} avoiding the need to * create one manually via {@link ListJobsRequest#builder()} *

* * @param listJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListJobsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListJobs */ default ListJobsPublisher listJobsPaginator(Consumer listJobsRequest) { return listJobsPaginator(ListJobsRequest.builder().applyMutation(listJobsRequest).build()); } /** *

* Returns a list of managed job templates. *

* * @param listManagedJobTemplatesRequest * @return A Java Future containing the result of the ListManagedJobTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListManagedJobTemplates */ default CompletableFuture listManagedJobTemplates( ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of managed job templates. *

*
*

* This is a convenience which creates an instance of the {@link ListManagedJobTemplatesRequest.Builder} avoiding * the need to create one manually via {@link ListManagedJobTemplatesRequest#builder()} *

* * @param listManagedJobTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListManagedJobTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListManagedJobTemplates */ default CompletableFuture listManagedJobTemplates( Consumer listManagedJobTemplatesRequest) { return listManagedJobTemplates(ListManagedJobTemplatesRequest.builder().applyMutation(listManagedJobTemplatesRequest) .build()); } /** *

* This is a variant of * {@link #listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesPublisher publisher = client.listManagedJobTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesPublisher publisher = client.listManagedJobTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesResponse 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 * {@link #listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)} * operation. *

* * @param listManagedJobTemplatesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListManagedJobTemplates */ default ListManagedJobTemplatesPublisher listManagedJobTemplatesPaginator( ListManagedJobTemplatesRequest listManagedJobTemplatesRequest) { return new ListManagedJobTemplatesPublisher(this, listManagedJobTemplatesRequest); } /** *

* This is a variant of * {@link #listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesPublisher publisher = client.listManagedJobTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListManagedJobTemplatesPublisher publisher = client.listManagedJobTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesResponse 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 * {@link #listManagedJobTemplates(software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListManagedJobTemplatesRequest.Builder} avoiding * the need to create one manually via {@link ListManagedJobTemplatesRequest#builder()} *

* * @param listManagedJobTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListManagedJobTemplatesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListManagedJobTemplates */ default ListManagedJobTemplatesPublisher listManagedJobTemplatesPaginator( Consumer listManagedJobTemplatesRequest) { return listManagedJobTemplatesPaginator(ListManagedJobTemplatesRequest.builder() .applyMutation(listManagedJobTemplatesRequest).build()); } /** *

* Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom * metric) by the given thing during the specified time period. *

* * @param listMetricValuesRequest * @return A Java Future containing the result of the ListMetricValues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMetricValues */ default CompletableFuture listMetricValues(ListMetricValuesRequest listMetricValuesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom * metric) by the given thing during the specified time period. *

*
*

* This is a convenience which creates an instance of the {@link ListMetricValuesRequest.Builder} avoiding the need * to create one manually via {@link ListMetricValuesRequest#builder()} *

* * @param listMetricValuesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListMetricValuesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListMetricValues operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMetricValues */ default CompletableFuture listMetricValues( Consumer listMetricValuesRequest) { return listMetricValues(ListMetricValuesRequest.builder().applyMutation(listMetricValuesRequest).build()); } /** *

* This is a variant of {@link #listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMetricValuesPublisher publisher = client.listMetricValuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMetricValuesPublisher publisher = client.listMetricValuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListMetricValuesResponse 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 * {@link #listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)} operation. *

* * @param listMetricValuesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMetricValues */ default ListMetricValuesPublisher listMetricValuesPaginator(ListMetricValuesRequest listMetricValuesRequest) { return new ListMetricValuesPublisher(this, listMetricValuesRequest); } /** *

* This is a variant of {@link #listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMetricValuesPublisher publisher = client.listMetricValuesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMetricValuesPublisher publisher = client.listMetricValuesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListMetricValuesResponse 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 * {@link #listMetricValues(software.amazon.awssdk.services.iot.model.ListMetricValuesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMetricValuesRequest.Builder} avoiding the need * to create one manually via {@link ListMetricValuesRequest#builder()} *

* * @param listMetricValuesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListMetricValuesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMetricValues */ default ListMetricValuesPublisher listMetricValuesPaginator(Consumer listMetricValuesRequest) { return listMetricValuesPaginator(ListMetricValuesRequest.builder().applyMutation(listMetricValuesRequest).build()); } /** *

* Gets a list of all mitigation actions that match the specified filter criteria. *

*

* Requires permission to access the ListMitigationActions action. *

* * @param listMitigationActionsRequest * @return A Java Future containing the result of the ListMitigationActions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMitigationActions */ default CompletableFuture listMitigationActions( ListMitigationActionsRequest listMitigationActionsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of all mitigation actions that match the specified filter criteria. *

*

* Requires permission to access the ListMitigationActions action. *

*
*

* This is a convenience which creates an instance of the {@link ListMitigationActionsRequest.Builder} avoiding the * need to create one manually via {@link ListMitigationActionsRequest#builder()} *

* * @param listMitigationActionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListMitigationActions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMitigationActions */ default CompletableFuture listMitigationActions( Consumer listMitigationActionsRequest) { return listMitigationActions(ListMitigationActionsRequest.builder().applyMutation(listMitigationActionsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)} * operation. *

* * @param listMitigationActionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMitigationActions */ default ListMitigationActionsPublisher listMitigationActionsPaginator( ListMitigationActionsRequest listMitigationActionsRequest) { return new ListMitigationActionsPublisher(this, listMitigationActionsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListMitigationActionsPublisher publisher = client.listMitigationActionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMitigationActions(software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMitigationActionsRequest.Builder} avoiding the * need to create one manually via {@link ListMitigationActionsRequest#builder()} *

* * @param listMitigationActionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListMitigationActionsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListMitigationActions */ default ListMitigationActionsPublisher listMitigationActionsPaginator( Consumer listMitigationActionsRequest) { return listMitigationActionsPaginator(ListMitigationActionsRequest.builder().applyMutation(listMitigationActionsRequest) .build()); } /** *

* Lists OTA updates. *

*

* Requires permission to access the ListOTAUpdates action. *

* * @param listOtaUpdatesRequest * @return A Java Future containing the result of the ListOTAUpdates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOTAUpdates */ default CompletableFuture listOTAUpdates(ListOtaUpdatesRequest listOtaUpdatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists OTA updates. *

*

* Requires permission to access the ListOTAUpdates action. *

*
*

* This is a convenience which creates an instance of the {@link ListOtaUpdatesRequest.Builder} avoiding the need to * create one manually via {@link ListOtaUpdatesRequest#builder()} *

* * @param listOtaUpdatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListOTAUpdates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOTAUpdates */ default CompletableFuture listOTAUpdates(Consumer listOtaUpdatesRequest) { return listOTAUpdates(ListOtaUpdatesRequest.builder().applyMutation(listOtaUpdatesRequest).build()); } /** *

* Lists OTA updates. *

*

* Requires permission to access the ListOTAUpdates action. *

* * @return A Java Future containing the result of the ListOTAUpdates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOTAUpdates */ default CompletableFuture listOTAUpdates() { return listOTAUpdates(ListOtaUpdatesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOTAUpdates */ default ListOTAUpdatesPublisher listOTAUpdatesPaginator() { return listOTAUpdatesPaginator(ListOtaUpdatesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)} operation. *

* * @param listOtaUpdatesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOTAUpdates */ default ListOTAUpdatesPublisher listOTAUpdatesPaginator(ListOtaUpdatesRequest listOtaUpdatesRequest) { return new ListOTAUpdatesPublisher(this, listOtaUpdatesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOTAUpdatesPublisher publisher = client.listOTAUpdatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOTAUpdates(software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOtaUpdatesRequest.Builder} avoiding the need to * create one manually via {@link ListOtaUpdatesRequest#builder()} *

* * @param listOtaUpdatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListOtaUpdatesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOTAUpdates */ default ListOTAUpdatesPublisher listOTAUpdatesPaginator(Consumer listOtaUpdatesRequest) { return listOTAUpdatesPaginator(ListOtaUpdatesRequest.builder().applyMutation(listOtaUpdatesRequest).build()); } /** *

* Lists certificates that are being transferred but not yet accepted. *

*

* Requires permission to access the ListOutgoingCertificates action. *

* * @param listOutgoingCertificatesRequest * The input to the ListOutgoingCertificates operation. * @return A Java Future containing the result of the ListOutgoingCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOutgoingCertificates */ default CompletableFuture listOutgoingCertificates( ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists certificates that are being transferred but not yet accepted. *

*

* Requires permission to access the ListOutgoingCertificates action. *

*
*

* This is a convenience which creates an instance of the {@link ListOutgoingCertificatesRequest.Builder} avoiding * the need to create one manually via {@link ListOutgoingCertificatesRequest#builder()} *

* * @param listOutgoingCertificatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest.Builder} to create a * request. The input to the ListOutgoingCertificates operation. * @return A Java Future containing the result of the ListOutgoingCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOutgoingCertificates */ default CompletableFuture listOutgoingCertificates( Consumer listOutgoingCertificatesRequest) { return listOutgoingCertificates(ListOutgoingCertificatesRequest.builder().applyMutation(listOutgoingCertificatesRequest) .build()); } /** *

* Lists certificates that are being transferred but not yet accepted. *

*

* Requires permission to access the ListOutgoingCertificates action. *

* * @return A Java Future containing the result of the ListOutgoingCertificates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOutgoingCertificates */ default CompletableFuture listOutgoingCertificates() { return listOutgoingCertificates(ListOutgoingCertificatesRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOutgoingCertificates */ default ListOutgoingCertificatesPublisher listOutgoingCertificatesPaginator() { return listOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)} * operation. *

* * @param listOutgoingCertificatesRequest * The input to the ListOutgoingCertificates operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOutgoingCertificates */ default ListOutgoingCertificatesPublisher listOutgoingCertificatesPaginator( ListOutgoingCertificatesRequest listOutgoingCertificatesRequest) { return new ListOutgoingCertificatesPublisher(this, listOutgoingCertificatesRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListOutgoingCertificatesPublisher publisher = client.listOutgoingCertificatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOutgoingCertificates(software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOutgoingCertificatesRequest.Builder} avoiding * the need to create one manually via {@link ListOutgoingCertificatesRequest#builder()} *

* * @param listOutgoingCertificatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListOutgoingCertificatesRequest.Builder} to create a * request. The input to the ListOutgoingCertificates operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListOutgoingCertificates */ default ListOutgoingCertificatesPublisher listOutgoingCertificatesPaginator( Consumer listOutgoingCertificatesRequest) { return listOutgoingCertificatesPaginator(ListOutgoingCertificatesRequest.builder() .applyMutation(listOutgoingCertificatesRequest).build()); } /** *

* Lists the software package versions associated to the account. *

*

* Requires permission to access the ListPackageVersions action. *

* * @param listPackageVersionsRequest * @return A Java Future containing the result of the ListPackageVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackageVersions */ default CompletableFuture listPackageVersions( ListPackageVersionsRequest listPackageVersionsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the software package versions associated to the account. *

*

* Requires permission to access the ListPackageVersions action. *

*
*

* This is a convenience which creates an instance of the {@link ListPackageVersionsRequest.Builder} avoiding the * need to create one manually via {@link ListPackageVersionsRequest#builder()} *

* * @param listPackageVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListPackageVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackageVersions */ default CompletableFuture listPackageVersions( Consumer listPackageVersionsRequest) { return listPackageVersions(ListPackageVersionsRequest.builder().applyMutation(listPackageVersionsRequest).build()); } /** *

* This is a variant of * {@link #listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackageVersionsPublisher publisher = client.listPackageVersionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackageVersionsPublisher publisher = client.listPackageVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListPackageVersionsResponse 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 * {@link #listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)} operation. *

* * @param listPackageVersionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackageVersions */ default ListPackageVersionsPublisher listPackageVersionsPaginator(ListPackageVersionsRequest listPackageVersionsRequest) { return new ListPackageVersionsPublisher(this, listPackageVersionsRequest); } /** *

* This is a variant of * {@link #listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)} 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackageVersionsPublisher publisher = client.listPackageVersionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackageVersionsPublisher publisher = client.listPackageVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListPackageVersionsResponse 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 * {@link #listPackageVersions(software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPackageVersionsRequest.Builder} avoiding the * need to create one manually via {@link ListPackageVersionsRequest#builder()} *

* * @param listPackageVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPackageVersionsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackageVersions */ default ListPackageVersionsPublisher listPackageVersionsPaginator( Consumer listPackageVersionsRequest) { return listPackageVersionsPaginator(ListPackageVersionsRequest.builder().applyMutation(listPackageVersionsRequest) .build()); } /** *

* Lists the software packages associated to the account. *

*

* Requires permission to access the ListPackages action. *

* * @param listPackagesRequest * @return A Java Future containing the result of the ListPackages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackages */ default CompletableFuture listPackages(ListPackagesRequest listPackagesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the software packages associated to the account. *

*

* Requires permission to access the ListPackages action. *

*
*

* This is a convenience which creates an instance of the {@link ListPackagesRequest.Builder} avoiding the need to * create one manually via {@link ListPackagesRequest#builder()} *

* * @param listPackagesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPackagesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListPackages operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackages */ default CompletableFuture listPackages(Consumer listPackagesRequest) { return listPackages(ListPackagesRequest.builder().applyMutation(listPackagesRequest).build()); } /** *

* This is a variant of {@link #listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListPackagesResponse 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 * {@link #listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)} operation. *

* * @param listPackagesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackages */ default ListPackagesPublisher listPackagesPaginator(ListPackagesRequest listPackagesRequest) { return new ListPackagesPublisher(this, listPackagesRequest); } /** *

* This is a variant of {@link #listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPackagesPublisher publisher = client.listPackagesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListPackagesResponse 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 * {@link #listPackages(software.amazon.awssdk.services.iot.model.ListPackagesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPackagesRequest.Builder} avoiding the need to * create one manually via {@link ListPackagesRequest#builder()} *

* * @param listPackagesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPackagesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPackages */ default ListPackagesPublisher listPackagesPaginator(Consumer listPackagesRequest) { return listPackagesPaginator(ListPackagesRequest.builder().applyMutation(listPackagesRequest).build()); } /** *

* Lists your policies. *

*

* Requires permission to access the ListPolicies action. *

* * @param listPoliciesRequest * The input for the ListPolicies operation. * @return A Java Future containing the result of the ListPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicies */ default CompletableFuture listPolicies(ListPoliciesRequest listPoliciesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists your policies. *

*

* Requires permission to access the ListPolicies action. *

*
*

* This is a convenience which creates an instance of the {@link ListPoliciesRequest.Builder} avoiding the need to * create one manually via {@link ListPoliciesRequest#builder()} *

* * @param listPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPoliciesRequest.Builder} to create a request. The * input for the ListPolicies operation. * @return A Java Future containing the result of the ListPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicies */ default CompletableFuture listPolicies(Consumer listPoliciesRequest) { return listPolicies(ListPoliciesRequest.builder().applyMutation(listPoliciesRequest).build()); } /** *

* Lists your policies. *

*

* Requires permission to access the ListPolicies action. *

* * @return A Java Future containing the result of the ListPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicies */ default CompletableFuture listPolicies() { return listPolicies(ListPoliciesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicies */ default ListPoliciesPublisher listPoliciesPaginator() { return listPoliciesPaginator(ListPoliciesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)} operation. *

* * @param listPoliciesRequest * The input for the ListPolicies operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicies */ default ListPoliciesPublisher listPoliciesPaginator(ListPoliciesRequest listPoliciesRequest) { return new ListPoliciesPublisher(this, listPoliciesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPoliciesPublisher publisher = client.listPoliciesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPolicies(software.amazon.awssdk.services.iot.model.ListPoliciesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPoliciesRequest.Builder} avoiding the need to * create one manually via {@link ListPoliciesRequest#builder()} *

* * @param listPoliciesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPoliciesRequest.Builder} to create a request. The * input for the ListPolicies operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicies */ default ListPoliciesPublisher listPoliciesPaginator(Consumer listPoliciesRequest) { return listPoliciesPaginator(ListPoliciesRequest.builder().applyMutation(listPoliciesRequest).build()); } /** *

* Lists the versions of the specified policy and identifies the default version. *

*

* Requires permission to access the ListPolicyVersions action. *

* * @param listPolicyVersionsRequest * The input for the ListPolicyVersions operation. * @return A Java Future containing the result of the ListPolicyVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicyVersions */ default CompletableFuture listPolicyVersions(ListPolicyVersionsRequest listPolicyVersionsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the versions of the specified policy and identifies the default version. *

*

* Requires permission to access the ListPolicyVersions action. *

*
*

* This is a convenience which creates an instance of the {@link ListPolicyVersionsRequest.Builder} avoiding the * need to create one manually via {@link ListPolicyVersionsRequest#builder()} *

* * @param listPolicyVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPolicyVersionsRequest.Builder} to create a request. * The input for the ListPolicyVersions operation. * @return A Java Future containing the result of the ListPolicyVersions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPolicyVersions */ default CompletableFuture listPolicyVersions( Consumer listPolicyVersionsRequest) { return listPolicyVersions(ListPolicyVersionsRequest.builder().applyMutation(listPolicyVersionsRequest).build()); } /** *

* Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, * groups, and roles, Amazon Cognito identities or federated identities. *

*

* Requires permission to access the ListPrincipalThings action. *

* * @param listPrincipalThingsRequest * The input for the ListPrincipalThings operation. * @return A Java Future containing the result of the ListPrincipalThings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPrincipalThings */ default CompletableFuture listPrincipalThings( ListPrincipalThingsRequest listPrincipalThingsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, * groups, and roles, Amazon Cognito identities or federated identities. *

*

* Requires permission to access the ListPrincipalThings action. *

*
*

* This is a convenience which creates an instance of the {@link ListPrincipalThingsRequest.Builder} avoiding the * need to create one manually via {@link ListPrincipalThingsRequest#builder()} *

* * @param listPrincipalThingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest.Builder} to create a request. * The input for the ListPrincipalThings operation. * @return A Java Future containing the result of the ListPrincipalThings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPrincipalThings */ default CompletableFuture listPrincipalThings( Consumer listPrincipalThingsRequest) { return listPrincipalThings(ListPrincipalThingsRequest.builder().applyMutation(listPrincipalThingsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)} operation. *

* * @param listPrincipalThingsRequest * The input for the ListPrincipalThings operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPrincipalThings */ default ListPrincipalThingsPublisher listPrincipalThingsPaginator(ListPrincipalThingsRequest listPrincipalThingsRequest) { return new ListPrincipalThingsPublisher(this, listPrincipalThingsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListPrincipalThingsPublisher publisher = client.listPrincipalThingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPrincipalThings(software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPrincipalThingsRequest.Builder} avoiding the * need to create one manually via {@link ListPrincipalThingsRequest#builder()} *

* * @param listPrincipalThingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListPrincipalThingsRequest.Builder} to create a request. * The input for the ListPrincipalThings operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListPrincipalThings */ default ListPrincipalThingsPublisher listPrincipalThingsPaginator( Consumer listPrincipalThingsRequest) { return listPrincipalThingsPaginator(ListPrincipalThingsRequest.builder().applyMutation(listPrincipalThingsRequest) .build()); } /** *

* A list of provisioning template versions. *

*

* Requires permission to access the ListProvisioningTemplateVersions action. *

* * @param listProvisioningTemplateVersionsRequest * @return A Java Future containing the result of the ListProvisioningTemplateVersions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplateVersions */ default CompletableFuture listProvisioningTemplateVersions( ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) { throw new UnsupportedOperationException(); } /** *

* A list of provisioning template versions. *

*

* Requires permission to access the ListProvisioningTemplateVersions action. *

*
*

* This is a convenience which creates an instance of the {@link ListProvisioningTemplateVersionsRequest.Builder} * avoiding the need to create one manually via {@link ListProvisioningTemplateVersionsRequest#builder()} *

* * @param listProvisioningTemplateVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListProvisioningTemplateVersions operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplateVersions */ default CompletableFuture listProvisioningTemplateVersions( Consumer listProvisioningTemplateVersionsRequest) { return listProvisioningTemplateVersions(ListProvisioningTemplateVersionsRequest.builder() .applyMutation(listProvisioningTemplateVersionsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)} * operation. *

* * @param listProvisioningTemplateVersionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplateVersions */ default ListProvisioningTemplateVersionsPublisher listProvisioningTemplateVersionsPaginator( ListProvisioningTemplateVersionsRequest listProvisioningTemplateVersionsRequest) { return new ListProvisioningTemplateVersionsPublisher(this, listProvisioningTemplateVersionsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplateVersionsPublisher publisher = client.listProvisioningTemplateVersionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listProvisioningTemplateVersions(software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListProvisioningTemplateVersionsRequest.Builder} * avoiding the need to create one manually via {@link ListProvisioningTemplateVersionsRequest#builder()} *

* * @param listProvisioningTemplateVersionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListProvisioningTemplateVersionsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplateVersions */ default ListProvisioningTemplateVersionsPublisher listProvisioningTemplateVersionsPaginator( Consumer listProvisioningTemplateVersionsRequest) { return listProvisioningTemplateVersionsPaginator(ListProvisioningTemplateVersionsRequest.builder() .applyMutation(listProvisioningTemplateVersionsRequest).build()); } /** *

* Lists the provisioning templates in your Amazon Web Services account. *

*

* Requires permission to access the ListProvisioningTemplates action. *

* * @param listProvisioningTemplatesRequest * @return A Java Future containing the result of the ListProvisioningTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplates */ default CompletableFuture listProvisioningTemplates( ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the provisioning templates in your Amazon Web Services account. *

*

* Requires permission to access the ListProvisioningTemplates action. *

*
*

* This is a convenience which creates an instance of the {@link ListProvisioningTemplatesRequest.Builder} avoiding * the need to create one manually via {@link ListProvisioningTemplatesRequest#builder()} *

* * @param listProvisioningTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListProvisioningTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplates */ default CompletableFuture listProvisioningTemplates( Consumer listProvisioningTemplatesRequest) { return listProvisioningTemplates(ListProvisioningTemplatesRequest.builder() .applyMutation(listProvisioningTemplatesRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)} * operation. *

* * @param listProvisioningTemplatesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplates */ default ListProvisioningTemplatesPublisher listProvisioningTemplatesPaginator( ListProvisioningTemplatesRequest listProvisioningTemplatesRequest) { return new ListProvisioningTemplatesPublisher(this, listProvisioningTemplatesRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListProvisioningTemplatesPublisher publisher = client.listProvisioningTemplatesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listProvisioningTemplates(software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListProvisioningTemplatesRequest.Builder} avoiding * the need to create one manually via {@link ListProvisioningTemplatesRequest#builder()} *

* * @param listProvisioningTemplatesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListProvisioningTemplatesRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListProvisioningTemplates */ default ListProvisioningTemplatesPublisher listProvisioningTemplatesPaginator( Consumer listProvisioningTemplatesRequest) { return listProvisioningTemplatesPaginator(ListProvisioningTemplatesRequest.builder() .applyMutation(listProvisioningTemplatesRequest).build()); } /** *

* The related resources of an Audit finding. The following resources can be returned from calling this API: *

*
    *
  • *

    * DEVICE_CERTIFICATE *

    *
  • *
  • *

    * CA_CERTIFICATE *

    *
  • *
  • *

    * IOT_POLICY *

    *
  • *
  • *

    * COGNITO_IDENTITY_POOL *

    *
  • *
  • *

    * CLIENT_ID *

    *
  • *
  • *

    * ACCOUNT_SETTINGS *

    *
  • *
  • *

    * ROLE_ALIAS *

    *
  • *
  • *

    * IAM_ROLE *

    *
  • *
  • *

    * ISSUER_CERTIFICATE *

    *
  • *
* *

* This API is similar to DescribeAuditFinding's RelatedResources but * provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding * for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You * must use this API, ListRelatedResourcesForAuditFinding, to list the certificates. *

*
* * @param listRelatedResourcesForAuditFindingRequest * @return A Java Future containing the result of the ListRelatedResourcesForAuditFinding operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRelatedResourcesForAuditFinding */ default CompletableFuture listRelatedResourcesForAuditFinding( ListRelatedResourcesForAuditFindingRequest listRelatedResourcesForAuditFindingRequest) { throw new UnsupportedOperationException(); } /** *

* The related resources of an Audit finding. The following resources can be returned from calling this API: *

*
    *
  • *

    * DEVICE_CERTIFICATE *

    *
  • *
  • *

    * CA_CERTIFICATE *

    *
  • *
  • *

    * IOT_POLICY *

    *
  • *
  • *

    * COGNITO_IDENTITY_POOL *

    *
  • *
  • *

    * CLIENT_ID *

    *
  • *
  • *

    * ACCOUNT_SETTINGS *

    *
  • *
  • *

    * ROLE_ALIAS *

    *
  • *
  • *

    * IAM_ROLE *

    *
  • *
  • *

    * ISSUER_CERTIFICATE *

    *
  • *
* *

* This API is similar to DescribeAuditFinding's RelatedResources but * provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding * for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You * must use this API, ListRelatedResourcesForAuditFinding, to list the certificates. *

*

*

* This is a convenience which creates an instance of the {@link ListRelatedResourcesForAuditFindingRequest.Builder} * avoiding the need to create one manually via {@link ListRelatedResourcesForAuditFindingRequest#builder()} *

* * @param listRelatedResourcesForAuditFindingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListRelatedResourcesForAuditFinding operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRelatedResourcesForAuditFinding */ default CompletableFuture listRelatedResourcesForAuditFinding( Consumer listRelatedResourcesForAuditFindingRequest) { return listRelatedResourcesForAuditFinding(ListRelatedResourcesForAuditFindingRequest.builder() .applyMutation(listRelatedResourcesForAuditFindingRequest).build()); } /** *

* This is a variant of * {@link #listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingPublisher publisher = client.listRelatedResourcesForAuditFindingPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingPublisher publisher = client.listRelatedResourcesForAuditFindingPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingResponse 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 * {@link #listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)} * operation. *

* * @param listRelatedResourcesForAuditFindingRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRelatedResourcesForAuditFinding */ default ListRelatedResourcesForAuditFindingPublisher listRelatedResourcesForAuditFindingPaginator( ListRelatedResourcesForAuditFindingRequest listRelatedResourcesForAuditFindingRequest) { return new ListRelatedResourcesForAuditFindingPublisher(this, listRelatedResourcesForAuditFindingRequest); } /** *

* This is a variant of * {@link #listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingPublisher publisher = client.listRelatedResourcesForAuditFindingPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRelatedResourcesForAuditFindingPublisher publisher = client.listRelatedResourcesForAuditFindingPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingResponse 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 * {@link #listRelatedResourcesForAuditFinding(software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListRelatedResourcesForAuditFindingRequest.Builder} * avoiding the need to create one manually via {@link ListRelatedResourcesForAuditFindingRequest#builder()} *

* * @param listRelatedResourcesForAuditFindingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListRelatedResourcesForAuditFindingRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRelatedResourcesForAuditFinding */ default ListRelatedResourcesForAuditFindingPublisher listRelatedResourcesForAuditFindingPaginator( Consumer listRelatedResourcesForAuditFindingRequest) { return listRelatedResourcesForAuditFindingPaginator(ListRelatedResourcesForAuditFindingRequest.builder() .applyMutation(listRelatedResourcesForAuditFindingRequest).build()); } /** *

* Lists the role aliases registered in your account. *

*

* Requires permission to access the ListRoleAliases action. *

* * @param listRoleAliasesRequest * @return A Java Future containing the result of the ListRoleAliases operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRoleAliases */ default CompletableFuture listRoleAliases(ListRoleAliasesRequest listRoleAliasesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the role aliases registered in your account. *

*

* Requires permission to access the ListRoleAliases action. *

*
*

* This is a convenience which creates an instance of the {@link ListRoleAliasesRequest.Builder} avoiding the need * to create one manually via {@link ListRoleAliasesRequest#builder()} *

* * @param listRoleAliasesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListRoleAliases operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRoleAliases */ default CompletableFuture listRoleAliases( Consumer listRoleAliasesRequest) { return listRoleAliases(ListRoleAliasesRequest.builder().applyMutation(listRoleAliasesRequest).build()); } /** *

* Lists the role aliases registered in your account. *

*

* Requires permission to access the ListRoleAliases action. *

* * @return A Java Future containing the result of the ListRoleAliases operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRoleAliases */ default CompletableFuture listRoleAliases() { return listRoleAliases(ListRoleAliasesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRoleAliases */ default ListRoleAliasesPublisher listRoleAliasesPaginator() { return listRoleAliasesPaginator(ListRoleAliasesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)} operation. *

* * @param listRoleAliasesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRoleAliases */ default ListRoleAliasesPublisher listRoleAliasesPaginator(ListRoleAliasesRequest listRoleAliasesRequest) { return new ListRoleAliasesPublisher(this, listRoleAliasesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListRoleAliasesPublisher publisher = client.listRoleAliasesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listRoleAliases(software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListRoleAliasesRequest.Builder} avoiding the need * to create one manually via {@link ListRoleAliasesRequest#builder()} *

* * @param listRoleAliasesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListRoleAliasesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListRoleAliases */ default ListRoleAliasesPublisher listRoleAliasesPaginator(Consumer listRoleAliasesRequest) { return listRoleAliasesPaginator(ListRoleAliasesRequest.builder().applyMutation(listRoleAliasesRequest).build()); } /** *

* The validation results for all software bill of materials (SBOM) attached to a specific software package version. *

*

* Requires permission to access the ListSbomValidationResults action. *

* * @param listSbomValidationResultsRequest * @return A Java Future containing the result of the ListSbomValidationResults operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSbomValidationResults */ default CompletableFuture listSbomValidationResults( ListSbomValidationResultsRequest listSbomValidationResultsRequest) { throw new UnsupportedOperationException(); } /** *

* The validation results for all software bill of materials (SBOM) attached to a specific software package version. *

*

* Requires permission to access the ListSbomValidationResults action. *

*
*

* This is a convenience which creates an instance of the {@link ListSbomValidationResultsRequest.Builder} avoiding * the need to create one manually via {@link ListSbomValidationResultsRequest#builder()} *

* * @param listSbomValidationResultsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListSbomValidationResults operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSbomValidationResults */ default CompletableFuture listSbomValidationResults( Consumer listSbomValidationResultsRequest) { return listSbomValidationResults(ListSbomValidationResultsRequest.builder() .applyMutation(listSbomValidationResultsRequest).build()); } /** *

* This is a variant of * {@link #listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsPublisher publisher = client.listSbomValidationResultsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsPublisher publisher = client.listSbomValidationResultsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsResponse 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 * {@link #listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)} * operation. *

* * @param listSbomValidationResultsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSbomValidationResults */ default ListSbomValidationResultsPublisher listSbomValidationResultsPaginator( ListSbomValidationResultsRequest listSbomValidationResultsRequest) { return new ListSbomValidationResultsPublisher(this, listSbomValidationResultsRequest); } /** *

* This is a variant of * {@link #listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsPublisher publisher = client.listSbomValidationResultsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSbomValidationResultsPublisher publisher = client.listSbomValidationResultsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsResponse 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 * {@link #listSbomValidationResults(software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSbomValidationResultsRequest.Builder} avoiding * the need to create one manually via {@link ListSbomValidationResultsRequest#builder()} *

* * @param listSbomValidationResultsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListSbomValidationResultsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSbomValidationResults */ default ListSbomValidationResultsPublisher listSbomValidationResultsPaginator( Consumer listSbomValidationResultsRequest) { return listSbomValidationResultsPaginator(ListSbomValidationResultsRequest.builder() .applyMutation(listSbomValidationResultsRequest).build()); } /** *

* Lists all of your scheduled audits. *

*

* Requires permission to access the ListScheduledAudits action. *

* * @param listScheduledAuditsRequest * @return A Java Future containing the result of the ListScheduledAudits operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListScheduledAudits */ default CompletableFuture listScheduledAudits( ListScheduledAuditsRequest listScheduledAuditsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all of your scheduled audits. *

*

* Requires permission to access the ListScheduledAudits action. *

*
*

* This is a convenience which creates an instance of the {@link ListScheduledAuditsRequest.Builder} avoiding the * need to create one manually via {@link ListScheduledAuditsRequest#builder()} *

* * @param listScheduledAuditsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListScheduledAudits operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListScheduledAudits */ default CompletableFuture listScheduledAudits( Consumer listScheduledAuditsRequest) { return listScheduledAudits(ListScheduledAuditsRequest.builder().applyMutation(listScheduledAuditsRequest).build()); } /** *

* Lists all of your scheduled audits. *

*

* Requires permission to access the ListScheduledAudits action. *

* * @return A Java Future containing the result of the ListScheduledAudits operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListScheduledAudits */ default CompletableFuture listScheduledAudits() { return listScheduledAudits(ListScheduledAuditsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListScheduledAudits */ default ListScheduledAuditsPublisher listScheduledAuditsPaginator() { return listScheduledAuditsPaginator(ListScheduledAuditsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)} operation. *

* * @param listScheduledAuditsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListScheduledAudits */ default ListScheduledAuditsPublisher listScheduledAuditsPaginator(ListScheduledAuditsRequest listScheduledAuditsRequest) { return new ListScheduledAuditsPublisher(this, listScheduledAuditsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListScheduledAuditsPublisher publisher = client.listScheduledAuditsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listScheduledAudits(software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListScheduledAuditsRequest.Builder} avoiding the * need to create one manually via {@link ListScheduledAuditsRequest#builder()} *

* * @param listScheduledAuditsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListScheduledAuditsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListScheduledAudits */ default ListScheduledAuditsPublisher listScheduledAuditsPaginator( Consumer listScheduledAuditsRequest) { return listScheduledAuditsPaginator(ListScheduledAuditsRequest.builder().applyMutation(listScheduledAuditsRequest) .build()); } /** *

* Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or * custom metric. *

*

* Requires permission to access the ListSecurityProfiles action. *

* *

* dimensionName and metricName cannot be used in the same request. *

*
* * @param listSecurityProfilesRequest * @return A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfiles */ default CompletableFuture listSecurityProfiles( ListSecurityProfilesRequest listSecurityProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or * custom metric. *

*

* Requires permission to access the ListSecurityProfiles action. *

* *

* dimensionName and metricName cannot be used in the same request. *

*

*

* This is a convenience which creates an instance of the {@link ListSecurityProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListSecurityProfilesRequest#builder()} *

* * @param listSecurityProfilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest.Builder} to create a request. * @return A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfiles */ default CompletableFuture listSecurityProfiles( Consumer listSecurityProfilesRequest) { return listSecurityProfiles(ListSecurityProfilesRequest.builder().applyMutation(listSecurityProfilesRequest).build()); } /** *

* Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or * custom metric. *

*

* Requires permission to access the ListSecurityProfiles action. *

* *

* dimensionName and metricName cannot be used in the same request. *

*
* * @return A Java Future containing the result of the ListSecurityProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfiles */ default CompletableFuture listSecurityProfiles() { return listSecurityProfiles(ListSecurityProfilesRequest.builder().build()); } /** *

* Lists the Device Defender security profiles attached to a target (thing group). *

*

* Requires permission to access the ListSecurityProfilesForTarget action. *

* * @param listSecurityProfilesForTargetRequest * @return A Java Future containing the result of the ListSecurityProfilesForTarget operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfilesForTarget */ default CompletableFuture listSecurityProfilesForTarget( ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the Device Defender security profiles attached to a target (thing group). *

*

* Requires permission to access the ListSecurityProfilesForTarget action. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityProfilesForTargetRequest.Builder} * avoiding the need to create one manually via {@link ListSecurityProfilesForTargetRequest#builder()} *

* * @param listSecurityProfilesForTargetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListSecurityProfilesForTarget operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfilesForTarget */ default CompletableFuture listSecurityProfilesForTarget( Consumer listSecurityProfilesForTargetRequest) { return listSecurityProfilesForTarget(ListSecurityProfilesForTargetRequest.builder() .applyMutation(listSecurityProfilesForTargetRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)} * operation. *

* * @param listSecurityProfilesForTargetRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfilesForTarget */ default ListSecurityProfilesForTargetPublisher listSecurityProfilesForTargetPaginator( ListSecurityProfilesForTargetRequest listSecurityProfilesForTargetRequest) { return new ListSecurityProfilesForTargetPublisher(this, listSecurityProfilesForTargetRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesForTargetPublisher publisher = client.listSecurityProfilesForTargetPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityProfilesForTarget(software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityProfilesForTargetRequest.Builder} * avoiding the need to create one manually via {@link ListSecurityProfilesForTargetRequest#builder()} *

* * @param listSecurityProfilesForTargetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListSecurityProfilesForTargetRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfilesForTarget */ default ListSecurityProfilesForTargetPublisher listSecurityProfilesForTargetPaginator( Consumer listSecurityProfilesForTargetRequest) { return listSecurityProfilesForTargetPaginator(ListSecurityProfilesForTargetRequest.builder() .applyMutation(listSecurityProfilesForTargetRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfiles */ default ListSecurityProfilesPublisher listSecurityProfilesPaginator() { return listSecurityProfilesPaginator(ListSecurityProfilesRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)} * operation. *

* * @param listSecurityProfilesRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfiles */ default ListSecurityProfilesPublisher listSecurityProfilesPaginator(ListSecurityProfilesRequest listSecurityProfilesRequest) { return new ListSecurityProfilesPublisher(this, listSecurityProfilesRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListSecurityProfilesPublisher publisher = client.listSecurityProfilesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listSecurityProfiles(software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSecurityProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListSecurityProfilesRequest#builder()} *

* * @param listSecurityProfilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListSecurityProfilesRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListSecurityProfiles */ default ListSecurityProfilesPublisher listSecurityProfilesPaginator( Consumer listSecurityProfilesRequest) { return listSecurityProfilesPaginator(ListSecurityProfilesRequest.builder().applyMutation(listSecurityProfilesRequest) .build()); } /** *

* Lists all of the streams in your Amazon Web Services account. *

*

* Requires permission to access the ListStreams action. *

* * @param listStreamsRequest * @return A Java Future containing the result of the ListStreams operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListStreams */ default CompletableFuture listStreams(ListStreamsRequest listStreamsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all of the streams in your Amazon Web Services account. *

*

* Requires permission to access the ListStreams action. *

*
*

* This is a convenience which creates an instance of the {@link ListStreamsRequest.Builder} avoiding the need to * create one manually via {@link ListStreamsRequest#builder()} *

* * @param listStreamsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListStreamsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListStreams operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListStreams */ default CompletableFuture listStreams(Consumer listStreamsRequest) { return listStreams(ListStreamsRequest.builder().applyMutation(listStreamsRequest).build()); } /** *

* Lists all of the streams in your Amazon Web Services account. *

*

* Requires permission to access the ListStreams action. *

* * @return A Java Future containing the result of the ListStreams operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListStreams */ default CompletableFuture listStreams() { return listStreams(ListStreamsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListStreams */ default ListStreamsPublisher listStreamsPaginator() { return listStreamsPaginator(ListStreamsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)} operation. *

* * @param listStreamsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListStreams */ default ListStreamsPublisher listStreamsPaginator(ListStreamsRequest listStreamsRequest) { return new ListStreamsPublisher(this, listStreamsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListStreamsPublisher publisher = client.listStreamsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listStreams(software.amazon.awssdk.services.iot.model.ListStreamsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListStreamsRequest.Builder} avoiding the need to * create one manually via {@link ListStreamsRequest#builder()} *

* * @param listStreamsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListStreamsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListStreams */ default ListStreamsPublisher listStreamsPaginator(Consumer listStreamsRequest) { return listStreamsPaginator(ListStreamsRequest.builder().applyMutation(listStreamsRequest).build()); } /** *

* Lists the tags (metadata) you have assigned to the resource. *

*

* Requires permission to access the ListTagsForResource action. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTagsForResource */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the tags (metadata) you have assigned to the resource. *

*

* Requires permission to access the ListTagsForResource action. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTagsForResource */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)} operation. *

* * @param listTagsForResourceRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTagsForResource */ default ListTagsForResourcePublisher listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) { return new ListTagsForResourcePublisher(this, listTagsForResourceRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTagsForResourcePublisher publisher = client.listTagsForResourcePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTagsForResource(software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTagsForResourceRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTagsForResource */ default ListTagsForResourcePublisher listTagsForResourcePaginator( Consumer listTagsForResourceRequest) { return listTagsForResourcePaginator(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest) .build()); } /** *

* List targets for the specified policy. *

*

* Requires permission to access the ListTargetsForPolicy action. *

* * @param listTargetsForPolicyRequest * @return A Java Future containing the result of the ListTargetsForPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForPolicy */ default CompletableFuture listTargetsForPolicy( ListTargetsForPolicyRequest listTargetsForPolicyRequest) { throw new UnsupportedOperationException(); } /** *

* List targets for the specified policy. *

*

* Requires permission to access the ListTargetsForPolicy action. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetsForPolicyRequest.Builder} avoiding the * need to create one manually via {@link ListTargetsForPolicyRequest#builder()} *

* * @param listTargetsForPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest.Builder} to create a request. * @return A Java Future containing the result of the ListTargetsForPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForPolicy */ default CompletableFuture listTargetsForPolicy( Consumer listTargetsForPolicyRequest) { return listTargetsForPolicy(ListTargetsForPolicyRequest.builder().applyMutation(listTargetsForPolicyRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)} * operation. *

* * @param listTargetsForPolicyRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForPolicy */ default ListTargetsForPolicyPublisher listTargetsForPolicyPaginator(ListTargetsForPolicyRequest listTargetsForPolicyRequest) { return new ListTargetsForPolicyPublisher(this, listTargetsForPolicyRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForPolicyPublisher publisher = client.listTargetsForPolicyPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTargetsForPolicy(software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetsForPolicyRequest.Builder} avoiding the * need to create one manually via {@link ListTargetsForPolicyRequest#builder()} *

* * @param listTargetsForPolicyRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTargetsForPolicyRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForPolicy */ default ListTargetsForPolicyPublisher listTargetsForPolicyPaginator( Consumer listTargetsForPolicyRequest) { return listTargetsForPolicyPaginator(ListTargetsForPolicyRequest.builder().applyMutation(listTargetsForPolicyRequest) .build()); } /** *

* Lists the targets (thing groups) associated with a given Device Defender security profile. *

*

* Requires permission to access the ListTargetsForSecurityProfile action. *

* * @param listTargetsForSecurityProfileRequest * @return A Java Future containing the result of the ListTargetsForSecurityProfile operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForSecurityProfile */ default CompletableFuture listTargetsForSecurityProfile( ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the targets (thing groups) associated with a given Device Defender security profile. *

*

* Requires permission to access the ListTargetsForSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetsForSecurityProfileRequest.Builder} * avoiding the need to create one manually via {@link ListTargetsForSecurityProfileRequest#builder()} *

* * @param listTargetsForSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTargetsForSecurityProfile operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForSecurityProfile */ default CompletableFuture listTargetsForSecurityProfile( Consumer listTargetsForSecurityProfileRequest) { return listTargetsForSecurityProfile(ListTargetsForSecurityProfileRequest.builder() .applyMutation(listTargetsForSecurityProfileRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)} * operation. *

* * @param listTargetsForSecurityProfileRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForSecurityProfile */ default ListTargetsForSecurityProfilePublisher listTargetsForSecurityProfilePaginator( ListTargetsForSecurityProfileRequest listTargetsForSecurityProfileRequest) { return new ListTargetsForSecurityProfilePublisher(this, listTargetsForSecurityProfileRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTargetsForSecurityProfilePublisher publisher = client.listTargetsForSecurityProfilePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTargetsForSecurityProfile(software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTargetsForSecurityProfileRequest.Builder} * avoiding the need to create one manually via {@link ListTargetsForSecurityProfileRequest#builder()} *

* * @param listTargetsForSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTargetsForSecurityProfileRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTargetsForSecurityProfile */ default ListTargetsForSecurityProfilePublisher listTargetsForSecurityProfilePaginator( Consumer listTargetsForSecurityProfileRequest) { return listTargetsForSecurityProfilePaginator(ListTargetsForSecurityProfileRequest.builder() .applyMutation(listTargetsForSecurityProfileRequest).build()); } /** *

* List the thing groups in your account. *

*

* Requires permission to access the ListThingGroups action. *

* * @param listThingGroupsRequest * @return A Java Future containing the result of the ListThingGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroups */ default CompletableFuture listThingGroups(ListThingGroupsRequest listThingGroupsRequest) { throw new UnsupportedOperationException(); } /** *

* List the thing groups in your account. *

*

* Requires permission to access the ListThingGroups action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListThingGroupsRequest#builder()} *

* * @param listThingGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingGroupsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListThingGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroups */ default CompletableFuture listThingGroups( Consumer listThingGroupsRequest) { return listThingGroups(ListThingGroupsRequest.builder().applyMutation(listThingGroupsRequest).build()); } /** *

* List the thing groups in your account. *

*

* Requires permission to access the ListThingGroups action. *

* * @return A Java Future containing the result of the ListThingGroups operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroups */ default CompletableFuture listThingGroups() { return listThingGroups(ListThingGroupsRequest.builder().build()); } /** *

* List the thing groups to which the specified thing belongs. *

*

* Requires permission to access the ListThingGroupsForThing action. *

* * @param listThingGroupsForThingRequest * @return A Java Future containing the result of the ListThingGroupsForThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroupsForThing */ default CompletableFuture listThingGroupsForThing( ListThingGroupsForThingRequest listThingGroupsForThingRequest) { throw new UnsupportedOperationException(); } /** *

* List the thing groups to which the specified thing belongs. *

*

* Requires permission to access the ListThingGroupsForThing action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingGroupsForThingRequest.Builder} avoiding * the need to create one manually via {@link ListThingGroupsForThingRequest#builder()} *

* * @param listThingGroupsForThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListThingGroupsForThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroupsForThing */ default CompletableFuture listThingGroupsForThing( Consumer listThingGroupsForThingRequest) { return listThingGroupsForThing(ListThingGroupsForThingRequest.builder().applyMutation(listThingGroupsForThingRequest) .build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)} * operation. *

* * @param listThingGroupsForThingRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroupsForThing */ default ListThingGroupsForThingPublisher listThingGroupsForThingPaginator( ListThingGroupsForThingRequest listThingGroupsForThingRequest) { return new ListThingGroupsForThingPublisher(this, listThingGroupsForThingRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsForThingPublisher publisher = client.listThingGroupsForThingPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingGroupsForThing(software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingGroupsForThingRequest.Builder} avoiding * the need to create one manually via {@link ListThingGroupsForThingRequest#builder()} *

* * @param listThingGroupsForThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingGroupsForThingRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroupsForThing */ default ListThingGroupsForThingPublisher listThingGroupsForThingPaginator( Consumer listThingGroupsForThingRequest) { return listThingGroupsForThingPaginator(ListThingGroupsForThingRequest.builder() .applyMutation(listThingGroupsForThingRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroups */ default ListThingGroupsPublisher listThingGroupsPaginator() { return listThingGroupsPaginator(ListThingGroupsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)} operation. *

* * @param listThingGroupsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroups */ default ListThingGroupsPublisher listThingGroupsPaginator(ListThingGroupsRequest listThingGroupsRequest) { return new ListThingGroupsPublisher(this, listThingGroupsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingGroupsPublisher publisher = client.listThingGroupsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingGroups(software.amazon.awssdk.services.iot.model.ListThingGroupsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingGroupsRequest.Builder} avoiding the need * to create one manually via {@link ListThingGroupsRequest#builder()} *

* * @param listThingGroupsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingGroupsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingGroups */ default ListThingGroupsPublisher listThingGroupsPaginator(Consumer listThingGroupsRequest) { return listThingGroupsPaginator(ListThingGroupsRequest.builder().applyMutation(listThingGroupsRequest).build()); } /** *

* Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, * groups, and roles, Amazon Cognito identities or federated identities. *

*

* Requires permission to access the ListThingPrincipals action. *

* * @param listThingPrincipalsRequest * The input for the ListThingPrincipal operation. * @return A Java Future containing the result of the ListThingPrincipals operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingPrincipals */ default CompletableFuture listThingPrincipals( ListThingPrincipalsRequest listThingPrincipalsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the principals associated with the specified thing. A principal can be X.509 certificates, IAM users, * groups, and roles, Amazon Cognito identities or federated identities. *

*

* Requires permission to access the ListThingPrincipals action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingPrincipalsRequest.Builder} avoiding the * need to create one manually via {@link ListThingPrincipalsRequest#builder()} *

* * @param listThingPrincipalsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest.Builder} to create a request. * The input for the ListThingPrincipal operation. * @return A Java Future containing the result of the ListThingPrincipals operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingPrincipals */ default CompletableFuture listThingPrincipals( Consumer listThingPrincipalsRequest) { return listThingPrincipals(ListThingPrincipalsRequest.builder().applyMutation(listThingPrincipalsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)} operation. *

* * @param listThingPrincipalsRequest * The input for the ListThingPrincipal operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingPrincipals */ default ListThingPrincipalsPublisher listThingPrincipalsPaginator(ListThingPrincipalsRequest listThingPrincipalsRequest) { return new ListThingPrincipalsPublisher(this, listThingPrincipalsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingPrincipalsPublisher publisher = client.listThingPrincipalsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingPrincipals(software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingPrincipalsRequest.Builder} avoiding the * need to create one manually via {@link ListThingPrincipalsRequest#builder()} *

* * @param listThingPrincipalsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingPrincipalsRequest.Builder} to create a request. * The input for the ListThingPrincipal operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingPrincipals */ default ListThingPrincipalsPublisher listThingPrincipalsPaginator( Consumer listThingPrincipalsRequest) { return listThingPrincipalsPaginator(ListThingPrincipalsRequest.builder().applyMutation(listThingPrincipalsRequest) .build()); } /** *

* Information about the thing registration tasks. *

* * @param listThingRegistrationTaskReportsRequest * @return A Java Future containing the result of the ListThingRegistrationTaskReports operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTaskReports */ default CompletableFuture listThingRegistrationTaskReports( ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) { throw new UnsupportedOperationException(); } /** *

* Information about the thing registration tasks. *

*
*

* This is a convenience which creates an instance of the {@link ListThingRegistrationTaskReportsRequest.Builder} * avoiding the need to create one manually via {@link ListThingRegistrationTaskReportsRequest#builder()} *

* * @param listThingRegistrationTaskReportsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListThingRegistrationTaskReports operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTaskReports */ default CompletableFuture listThingRegistrationTaskReports( Consumer listThingRegistrationTaskReportsRequest) { return listThingRegistrationTaskReports(ListThingRegistrationTaskReportsRequest.builder() .applyMutation(listThingRegistrationTaskReportsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)} * operation. *

* * @param listThingRegistrationTaskReportsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTaskReports */ default ListThingRegistrationTaskReportsPublisher listThingRegistrationTaskReportsPaginator( ListThingRegistrationTaskReportsRequest listThingRegistrationTaskReportsRequest) { return new ListThingRegistrationTaskReportsPublisher(this, listThingRegistrationTaskReportsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTaskReportsPublisher publisher = client.listThingRegistrationTaskReportsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingRegistrationTaskReports(software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingRegistrationTaskReportsRequest.Builder} * avoiding the need to create one manually via {@link ListThingRegistrationTaskReportsRequest#builder()} *

* * @param listThingRegistrationTaskReportsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingRegistrationTaskReportsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTaskReports */ default ListThingRegistrationTaskReportsPublisher listThingRegistrationTaskReportsPaginator( Consumer listThingRegistrationTaskReportsRequest) { return listThingRegistrationTaskReportsPaginator(ListThingRegistrationTaskReportsRequest.builder() .applyMutation(listThingRegistrationTaskReportsRequest).build()); } /** *

* List bulk thing provisioning tasks. *

*

* Requires permission to access the ListThingRegistrationTasks action. *

* * @param listThingRegistrationTasksRequest * @return A Java Future containing the result of the ListThingRegistrationTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTasks */ default CompletableFuture listThingRegistrationTasks( ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) { throw new UnsupportedOperationException(); } /** *

* List bulk thing provisioning tasks. *

*

* Requires permission to access the ListThingRegistrationTasks action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingRegistrationTasksRequest.Builder} avoiding * the need to create one manually via {@link ListThingRegistrationTasksRequest#builder()} *

* * @param listThingRegistrationTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListThingRegistrationTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTasks */ default CompletableFuture listThingRegistrationTasks( Consumer listThingRegistrationTasksRequest) { return listThingRegistrationTasks(ListThingRegistrationTasksRequest.builder() .applyMutation(listThingRegistrationTasksRequest).build()); } /** *

* List bulk thing provisioning tasks. *

*

* Requires permission to access the ListThingRegistrationTasks action. *

* * @return A Java Future containing the result of the ListThingRegistrationTasks operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTasks */ default CompletableFuture listThingRegistrationTasks() { return listThingRegistrationTasks(ListThingRegistrationTasksRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTasks */ default ListThingRegistrationTasksPublisher listThingRegistrationTasksPaginator() { return listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)} * operation. *

* * @param listThingRegistrationTasksRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTasks */ default ListThingRegistrationTasksPublisher listThingRegistrationTasksPaginator( ListThingRegistrationTasksRequest listThingRegistrationTasksRequest) { return new ListThingRegistrationTasksPublisher(this, listThingRegistrationTasksRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingRegistrationTasksPublisher publisher = client.listThingRegistrationTasksPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingRegistrationTasks(software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingRegistrationTasksRequest.Builder} avoiding * the need to create one manually via {@link ListThingRegistrationTasksRequest#builder()} *

* * @param listThingRegistrationTasksRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingRegistrationTasksRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingRegistrationTasks */ default ListThingRegistrationTasksPublisher listThingRegistrationTasksPaginator( Consumer listThingRegistrationTasksRequest) { return listThingRegistrationTasksPaginator(ListThingRegistrationTasksRequest.builder() .applyMutation(listThingRegistrationTasksRequest).build()); } /** *

* Lists the existing thing types. *

*

* Requires permission to access the ListThingTypes action. *

* * @param listThingTypesRequest * The input for the ListThingTypes operation. * @return A Java Future containing the result of the ListThingTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingTypes */ default CompletableFuture listThingTypes(ListThingTypesRequest listThingTypesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the existing thing types. *

*

* Requires permission to access the ListThingTypes action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingTypesRequest.Builder} avoiding the need to * create one manually via {@link ListThingTypesRequest#builder()} *

* * @param listThingTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingTypesRequest.Builder} to create a request. The * input for the ListThingTypes operation. * @return A Java Future containing the result of the ListThingTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingTypes */ default CompletableFuture listThingTypes(Consumer listThingTypesRequest) { return listThingTypes(ListThingTypesRequest.builder().applyMutation(listThingTypesRequest).build()); } /** *

* Lists the existing thing types. *

*

* Requires permission to access the ListThingTypes action. *

* * @return A Java Future containing the result of the ListThingTypes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingTypes */ default CompletableFuture listThingTypes() { return listThingTypes(ListThingTypesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingTypes */ default ListThingTypesPublisher listThingTypesPaginator() { return listThingTypesPaginator(ListThingTypesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)} operation. *

* * @param listThingTypesRequest * The input for the ListThingTypes operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingTypes */ default ListThingTypesPublisher listThingTypesPaginator(ListThingTypesRequest listThingTypesRequest) { return new ListThingTypesPublisher(this, listThingTypesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingTypesPublisher publisher = client.listThingTypesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingTypes(software.amazon.awssdk.services.iot.model.ListThingTypesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingTypesRequest.Builder} avoiding the need to * create one manually via {@link ListThingTypesRequest#builder()} *

* * @param listThingTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingTypesRequest.Builder} to create a request. The * input for the ListThingTypes operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingTypes */ default ListThingTypesPublisher listThingTypesPaginator(Consumer listThingTypesRequest) { return listThingTypesPaginator(ListThingTypesRequest.builder().applyMutation(listThingTypesRequest).build()); } /** *

* 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. For more information, see List Things from * the Amazon Web Services IoT Core Developer Guide. *

*

* Requires permission to access the ListThings action. *

* *

* You will not be charged for calling this API if an Access 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. *

*
* * @param listThingsRequest * The input for the ListThings operation. * @return A Java Future containing the result of the ListThings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThings */ default CompletableFuture listThings(ListThingsRequest listThingsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. For more information, see List Things from * the Amazon Web Services IoT Core Developer Guide. *

*

* Requires permission to access the ListThings action. *

* *

* You will not be charged for calling this API if an Access 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 {@link ListThingsRequest.Builder} avoiding the need to * create one manually via {@link ListThingsRequest#builder()} *

* * @param listThingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingsRequest.Builder} to create a request. The input * for the ListThings operation. * @return A Java Future containing the result of the ListThings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThings */ default CompletableFuture listThings(Consumer listThingsRequest) { return listThings(ListThingsRequest.builder().applyMutation(listThingsRequest).build()); } /** *

* 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. For more information, see List Things from * the Amazon Web Services IoT Core Developer Guide. *

*

* Requires permission to access the ListThings action. *

* *

* You will not be charged for calling this API if an Access 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. *

*
* * @return A Java Future containing the result of the ListThings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThings */ default CompletableFuture listThings() { return listThings(ListThingsRequest.builder().build()); } /** *

* Lists the things you have added to the given billing group. *

*

* Requires permission to access the ListThingsInBillingGroup action. *

* * @param listThingsInBillingGroupRequest * @return A Java Future containing the result of the ListThingsInBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInBillingGroup */ default CompletableFuture listThingsInBillingGroup( ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the things you have added to the given billing group. *

*

* Requires permission to access the ListThingsInBillingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingsInBillingGroupRequest.Builder} avoiding * the need to create one manually via {@link ListThingsInBillingGroupRequest#builder()} *

* * @param listThingsInBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListThingsInBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInBillingGroup */ default CompletableFuture listThingsInBillingGroup( Consumer listThingsInBillingGroupRequest) { return listThingsInBillingGroup(ListThingsInBillingGroupRequest.builder().applyMutation(listThingsInBillingGroupRequest) .build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)} * operation. *

* * @param listThingsInBillingGroupRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInBillingGroup */ default ListThingsInBillingGroupPublisher listThingsInBillingGroupPaginator( ListThingsInBillingGroupRequest listThingsInBillingGroupRequest) { return new ListThingsInBillingGroupPublisher(this, listThingsInBillingGroupRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInBillingGroupPublisher publisher = client.listThingsInBillingGroupPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingsInBillingGroup(software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingsInBillingGroupRequest.Builder} avoiding * the need to create one manually via {@link ListThingsInBillingGroupRequest#builder()} *

* * @param listThingsInBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingsInBillingGroupRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInBillingGroup */ default ListThingsInBillingGroupPublisher listThingsInBillingGroupPaginator( Consumer listThingsInBillingGroupRequest) { return listThingsInBillingGroupPaginator(ListThingsInBillingGroupRequest.builder() .applyMutation(listThingsInBillingGroupRequest).build()); } /** *

* Lists the things in the specified group. *

*

* Requires permission to access the ListThingsInThingGroup action. *

* * @param listThingsInThingGroupRequest * @return A Java Future containing the result of the ListThingsInThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInThingGroup */ default CompletableFuture listThingsInThingGroup( ListThingsInThingGroupRequest listThingsInThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the things in the specified group. *

*

* Requires permission to access the ListThingsInThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link ListThingsInThingGroupRequest.Builder} avoiding the * need to create one manually via {@link ListThingsInThingGroupRequest#builder()} *

* * @param listThingsInThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListThingsInThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInThingGroup */ default CompletableFuture listThingsInThingGroup( Consumer listThingsInThingGroupRequest) { return listThingsInThingGroup(ListThingsInThingGroupRequest.builder().applyMutation(listThingsInThingGroupRequest) .build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)} * operation. *

* * @param listThingsInThingGroupRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInThingGroup */ default ListThingsInThingGroupPublisher listThingsInThingGroupPaginator( ListThingsInThingGroupRequest listThingsInThingGroupRequest) { return new ListThingsInThingGroupPublisher(this, listThingsInThingGroupRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsInThingGroupPublisher publisher = client.listThingsInThingGroupPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThingsInThingGroup(software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingsInThingGroupRequest.Builder} avoiding the * need to create one manually via {@link ListThingsInThingGroupRequest#builder()} *

* * @param listThingsInThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingsInThingGroupRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThingsInThingGroup */ default ListThingsInThingGroupPublisher listThingsInThingGroupPaginator( Consumer listThingsInThingGroupRequest) { return listThingsInThingGroupPaginator(ListThingsInThingGroupRequest.builder() .applyMutation(listThingsInThingGroupRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThings */ default ListThingsPublisher listThingsPaginator() { return listThingsPaginator(ListThingsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)} operation. *

* * @param listThingsRequest * The input for the ListThings operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThings */ default ListThingsPublisher listThingsPaginator(ListThingsRequest listThingsRequest) { return new ListThingsPublisher(this, listThingsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListThingsPublisher publisher = client.listThingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThings(software.amazon.awssdk.services.iot.model.ListThingsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThingsRequest.Builder} avoiding the need to * create one manually via {@link ListThingsRequest#builder()} *

* * @param listThingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListThingsRequest.Builder} to create a request. The input * for the ListThings operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListThings */ default ListThingsPublisher listThingsPaginator(Consumer listThingsRequest) { return listThingsPaginator(ListThingsRequest.builder().applyMutation(listThingsRequest).build()); } /** *

* Lists all the topic rule destinations in your Amazon Web Services account. *

*

* Requires permission to access the ListTopicRuleDestinations action. *

* * @param listTopicRuleDestinationsRequest * @return A Java Future containing the result of the ListTopicRuleDestinations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRuleDestinations */ default CompletableFuture listTopicRuleDestinations( ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists all the topic rule destinations in your Amazon Web Services account. *

*

* Requires permission to access the ListTopicRuleDestinations action. *

*
*

* This is a convenience which creates an instance of the {@link ListTopicRuleDestinationsRequest.Builder} avoiding * the need to create one manually via {@link ListTopicRuleDestinationsRequest#builder()} *

* * @param listTopicRuleDestinationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTopicRuleDestinations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRuleDestinations */ default CompletableFuture listTopicRuleDestinations( Consumer listTopicRuleDestinationsRequest) { return listTopicRuleDestinations(ListTopicRuleDestinationsRequest.builder() .applyMutation(listTopicRuleDestinationsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)} * operation. *

* * @param listTopicRuleDestinationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRuleDestinations */ default ListTopicRuleDestinationsPublisher listTopicRuleDestinationsPaginator( ListTopicRuleDestinationsRequest listTopicRuleDestinationsRequest) { return new ListTopicRuleDestinationsPublisher(this, listTopicRuleDestinationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRuleDestinationsPublisher publisher = client.listTopicRuleDestinationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTopicRuleDestinations(software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTopicRuleDestinationsRequest.Builder} avoiding * the need to create one manually via {@link ListTopicRuleDestinationsRequest#builder()} *

* * @param listTopicRuleDestinationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTopicRuleDestinationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRuleDestinations */ default ListTopicRuleDestinationsPublisher listTopicRuleDestinationsPaginator( Consumer listTopicRuleDestinationsRequest) { return listTopicRuleDestinationsPaginator(ListTopicRuleDestinationsRequest.builder() .applyMutation(listTopicRuleDestinationsRequest).build()); } /** *

* Lists the rules for the specific topic. *

*

* Requires permission to access the ListTopicRules action. *

* * @param listTopicRulesRequest * The input for the ListTopicRules operation. * @return A Java Future containing the result of the ListTopicRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRules */ default CompletableFuture listTopicRules(ListTopicRulesRequest listTopicRulesRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the rules for the specific topic. *

*

* Requires permission to access the ListTopicRules action. *

*
*

* This is a convenience which creates an instance of the {@link ListTopicRulesRequest.Builder} avoiding the need to * create one manually via {@link ListTopicRulesRequest#builder()} *

* * @param listTopicRulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTopicRulesRequest.Builder} to create a request. The * input for the ListTopicRules operation. * @return A Java Future containing the result of the ListTopicRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRules */ default CompletableFuture listTopicRules(Consumer listTopicRulesRequest) { return listTopicRules(ListTopicRulesRequest.builder().applyMutation(listTopicRulesRequest).build()); } /** *

* Lists the rules for the specific topic. *

*

* Requires permission to access the ListTopicRules action. *

* * @return A Java Future containing the result of the ListTopicRules operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRules */ default CompletableFuture listTopicRules() { return listTopicRules(ListTopicRulesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRules */ default ListTopicRulesPublisher listTopicRulesPaginator() { return listTopicRulesPaginator(ListTopicRulesRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)} operation. *

* * @param listTopicRulesRequest * The input for the ListTopicRules operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRules */ default ListTopicRulesPublisher listTopicRulesPaginator(ListTopicRulesRequest listTopicRulesRequest) { return new ListTopicRulesPublisher(this, listTopicRulesRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListTopicRulesPublisher publisher = client.listTopicRulesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listTopicRules(software.amazon.awssdk.services.iot.model.ListTopicRulesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListTopicRulesRequest.Builder} avoiding the need to * create one manually via {@link ListTopicRulesRequest#builder()} *

* * @param listTopicRulesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListTopicRulesRequest.Builder} to create a request. The * input for the ListTopicRules operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListTopicRules */ default ListTopicRulesPublisher listTopicRulesPaginator(Consumer listTopicRulesRequest) { return listTopicRulesPaginator(ListTopicRulesRequest.builder().applyMutation(listTopicRulesRequest).build()); } /** *

* Lists logging levels. *

*

* Requires permission to access the ListV2LoggingLevels action. *

* * @param listV2LoggingLevelsRequest * @return A Java Future containing the result of the ListV2LoggingLevels operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListV2LoggingLevels */ default CompletableFuture listV2LoggingLevels( ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists logging levels. *

*

* Requires permission to access the ListV2LoggingLevels action. *

*
*

* This is a convenience which creates an instance of the {@link ListV2LoggingLevelsRequest.Builder} avoiding the * need to create one manually via {@link ListV2LoggingLevelsRequest#builder()} *

* * @param listV2LoggingLevelsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListV2LoggingLevels operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListV2LoggingLevels */ default CompletableFuture listV2LoggingLevels( Consumer listV2LoggingLevelsRequest) { return listV2LoggingLevels(ListV2LoggingLevelsRequest.builder().applyMutation(listV2LoggingLevelsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)} operation. *

* * @param listV2LoggingLevelsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListV2LoggingLevels */ default ListV2LoggingLevelsPublisher listV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest listV2LoggingLevelsRequest) { return new ListV2LoggingLevelsPublisher(this, listV2LoggingLevelsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListV2LoggingLevelsPublisher publisher = client.listV2LoggingLevelsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listV2LoggingLevels(software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListV2LoggingLevelsRequest.Builder} avoiding the * need to create one manually via {@link ListV2LoggingLevelsRequest#builder()} *

* * @param listV2LoggingLevelsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListV2LoggingLevelsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListV2LoggingLevels */ default ListV2LoggingLevelsPublisher listV2LoggingLevelsPaginator( Consumer listV2LoggingLevelsRequest) { return listV2LoggingLevelsPaginator(ListV2LoggingLevelsRequest.builder().applyMutation(listV2LoggingLevelsRequest) .build()); } /** *

* Lists the Device Defender security profile violations discovered during the given time period. You can use * filters to limit the results to those alerts issued for a particular security profile, behavior, or thing * (device). *

*

* Requires permission to access the ListViolationEvents action. *

* * @param listViolationEventsRequest * @return A Java Future containing the result of the ListViolationEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListViolationEvents */ default CompletableFuture listViolationEvents( ListViolationEventsRequest listViolationEventsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the Device Defender security profile violations discovered during the given time period. You can use * filters to limit the results to those alerts issued for a particular security profile, behavior, or thing * (device). *

*

* Requires permission to access the ListViolationEvents action. *

*
*

* This is a convenience which creates an instance of the {@link ListViolationEventsRequest.Builder} avoiding the * need to create one manually via {@link ListViolationEventsRequest#builder()} *

* * @param listViolationEventsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListViolationEventsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListViolationEvents operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListViolationEvents */ default CompletableFuture listViolationEvents( Consumer listViolationEventsRequest) { return listViolationEvents(ListViolationEventsRequest.builder().applyMutation(listViolationEventsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)} operation. *

* * @param listViolationEventsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListViolationEvents */ default ListViolationEventsPublisher listViolationEventsPaginator(ListViolationEventsRequest listViolationEventsRequest) { return new ListViolationEventsPublisher(this, listViolationEventsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.iot.paginators.ListViolationEventsPublisher publisher = client.listViolationEventsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listViolationEvents(software.amazon.awssdk.services.iot.model.ListViolationEventsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListViolationEventsRequest.Builder} avoiding the * need to create one manually via {@link ListViolationEventsRequest#builder()} *

* * @param listViolationEventsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ListViolationEventsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ListViolationEvents */ default ListViolationEventsPublisher listViolationEventsPaginator( Consumer listViolationEventsRequest) { return listViolationEventsPaginator(ListViolationEventsRequest.builder().applyMutation(listViolationEventsRequest) .build()); } /** *

* Set a verification state and provide a description of that verification state on a violation (detect alarm). *

* * @param putVerificationStateOnViolationRequest * @return A Java Future containing the result of the PutVerificationStateOnViolation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.PutVerificationStateOnViolation */ default CompletableFuture putVerificationStateOnViolation( PutVerificationStateOnViolationRequest putVerificationStateOnViolationRequest) { throw new UnsupportedOperationException(); } /** *

* Set a verification state and provide a description of that verification state on a violation (detect alarm). *

*
*

* This is a convenience which creates an instance of the {@link PutVerificationStateOnViolationRequest.Builder} * avoiding the need to create one manually via {@link PutVerificationStateOnViolationRequest#builder()} *

* * @param putVerificationStateOnViolationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.PutVerificationStateOnViolationRequest.Builder} to create * a request. * @return A Java Future containing the result of the PutVerificationStateOnViolation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.PutVerificationStateOnViolation */ default CompletableFuture putVerificationStateOnViolation( Consumer putVerificationStateOnViolationRequest) { return putVerificationStateOnViolation(PutVerificationStateOnViolationRequest.builder() .applyMutation(putVerificationStateOnViolationRequest).build()); } /** *

* Registers a CA certificate with Amazon Web Services IoT Core. There is no limit to the number of CA certificates * you can register in your Amazon Web Services account. You can register up to 10 CA certificates with the same * CA subject field per Amazon Web Services account. *

*

* Requires permission to access the RegisterCACertificate action. *

* * @param registerCaCertificateRequest * The input to the RegisterCACertificate operation. * @return A Java Future containing the result of the RegisterCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • RegistrationCodeValidationException The registration code is invalid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterCACertificate */ default CompletableFuture registerCACertificate( RegisterCaCertificateRequest registerCaCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Registers a CA certificate with Amazon Web Services IoT Core. There is no limit to the number of CA certificates * you can register in your Amazon Web Services account. You can register up to 10 CA certificates with the same * CA subject field per Amazon Web Services account. *

*

* Requires permission to access the RegisterCACertificate action. *

*
*

* This is a convenience which creates an instance of the {@link RegisterCaCertificateRequest.Builder} avoiding the * need to create one manually via {@link RegisterCaCertificateRequest#builder()} *

* * @param registerCaCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RegisterCaCertificateRequest.Builder} to create a * request. The input to the RegisterCACertificate operation. * @return A Java Future containing the result of the RegisterCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • RegistrationCodeValidationException The registration code is invalid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterCACertificate */ default CompletableFuture registerCACertificate( Consumer registerCaCertificateRequest) { return registerCACertificate(RegisterCaCertificateRequest.builder().applyMutation(registerCaCertificateRequest).build()); } /** *

* Registers a device certificate with IoT in the same certificate mode as the signing CA. If you have more than one CA certificate that has the same subject * field, you must specify the CA certificate that was used to sign the device certificate being registered. *

*

* Requires permission to access the RegisterCertificate action. *

* * @param registerCertificateRequest * The input to the RegisterCertificate operation. * @return A Java Future containing the result of the RegisterCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • CertificateConflictException Unable to verify the CA certificate used to sign the device certificate * you are attempting to register. This is happens when you have registered more than one CA certificate * that has the same subject field and public key.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterCertificate */ default CompletableFuture registerCertificate( RegisterCertificateRequest registerCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Registers a device certificate with IoT in the same certificate mode as the signing CA. If you have more than one CA certificate that has the same subject * field, you must specify the CA certificate that was used to sign the device certificate being registered. *

*

* Requires permission to access the RegisterCertificate action. *

*
*

* This is a convenience which creates an instance of the {@link RegisterCertificateRequest.Builder} avoiding the * need to create one manually via {@link RegisterCertificateRequest#builder()} *

* * @param registerCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RegisterCertificateRequest.Builder} to create a request. * The input to the RegisterCertificate operation. * @return A Java Future containing the result of the RegisterCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • CertificateConflictException Unable to verify the CA certificate used to sign the device certificate * you are attempting to register. This is happens when you have registered more than one CA certificate * that has the same subject field and public key.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterCertificate */ default CompletableFuture registerCertificate( Consumer registerCertificateRequest) { return registerCertificate(RegisterCertificateRequest.builder().applyMutation(registerCertificateRequest).build()); } /** *

* Register a certificate that does not have a certificate authority (CA). For supported certificates, consult * Certificate signing algorithms supported by IoT. *

* * @param registerCertificateWithoutCaRequest * @return A Java Future containing the result of the RegisterCertificateWithoutCA operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterCertificateWithoutCA */ default CompletableFuture registerCertificateWithoutCA( RegisterCertificateWithoutCaRequest registerCertificateWithoutCaRequest) { throw new UnsupportedOperationException(); } /** *

* Register a certificate that does not have a certificate authority (CA). For supported certificates, consult * Certificate signing algorithms supported by IoT. *

*
*

* This is a convenience which creates an instance of the {@link RegisterCertificateWithoutCaRequest.Builder} * avoiding the need to create one manually via {@link RegisterCertificateWithoutCaRequest#builder()} *

* * @param registerCertificateWithoutCaRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RegisterCertificateWithoutCaRequest.Builder} to create a * request. * @return A Java Future containing the result of the RegisterCertificateWithoutCA operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterCertificateWithoutCA */ default CompletableFuture registerCertificateWithoutCA( Consumer registerCertificateWithoutCaRequest) { return registerCertificateWithoutCA(RegisterCertificateWithoutCaRequest.builder() .applyMutation(registerCertificateWithoutCaRequest).build()); } /** *

* Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might * exceed your account level IoT Throttling * Limits and cause throttle errors. Please contact Amazon * Web Services Customer Support to raise your throttling limits if necessary. *

*

* Requires permission to access the RegisterThing action. *

* * @param registerThingRequest * @return A Java Future containing the result of the RegisterThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • ResourceRegistrationFailureException The resource registration failed.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterThing */ default CompletableFuture registerThing(RegisterThingRequest registerThingRequest) { throw new UnsupportedOperationException(); } /** *

* Provisions a thing in the device registry. RegisterThing calls other IoT control plane APIs. These calls might * exceed your account level IoT Throttling * Limits and cause throttle errors. Please contact Amazon * Web Services Customer Support to raise your throttling limits if necessary. *

*

* Requires permission to access the RegisterThing action. *

*
*

* This is a convenience which creates an instance of the {@link RegisterThingRequest.Builder} avoiding the need to * create one manually via {@link RegisterThingRequest#builder()} *

* * @param registerThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RegisterThingRequest.Builder} to create a request. * @return A Java Future containing the result of the RegisterThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • ResourceRegistrationFailureException The resource registration failed.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RegisterThing */ default CompletableFuture registerThing(Consumer registerThingRequest) { return registerThing(RegisterThingRequest.builder().applyMutation(registerThingRequest).build()); } /** *

* Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes * from PENDING_TRANSFER to INACTIVE. *

*

* To check for pending certificate transfers, call ListCertificates to enumerate your certificates. *

*

* This operation can only be called by the transfer destination. After it is called, the certificate will be * returned to the source's account in the INACTIVE state. *

*

* Requires permission to access the RejectCertificateTransfer action. *

* * @param rejectCertificateTransferRequest * The input for the RejectCertificateTransfer operation. * @return A Java Future containing the result of the RejectCertificateTransfer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • TransferAlreadyCompletedException You can't revert the certificate transfer because the transfer is * already complete.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RejectCertificateTransfer */ default CompletableFuture rejectCertificateTransfer( RejectCertificateTransferRequest rejectCertificateTransferRequest) { throw new UnsupportedOperationException(); } /** *

* Rejects a pending certificate transfer. After IoT rejects a certificate transfer, the certificate status changes * from PENDING_TRANSFER to INACTIVE. *

*

* To check for pending certificate transfers, call ListCertificates to enumerate your certificates. *

*

* This operation can only be called by the transfer destination. After it is called, the certificate will be * returned to the source's account in the INACTIVE state. *

*

* Requires permission to access the RejectCertificateTransfer action. *

*
*

* This is a convenience which creates an instance of the {@link RejectCertificateTransferRequest.Builder} avoiding * the need to create one manually via {@link RejectCertificateTransferRequest#builder()} *

* * @param rejectCertificateTransferRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RejectCertificateTransferRequest.Builder} to create a * request. The input for the RejectCertificateTransfer operation. * @return A Java Future containing the result of the RejectCertificateTransfer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • TransferAlreadyCompletedException You can't revert the certificate transfer because the transfer is * already complete.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RejectCertificateTransfer */ default CompletableFuture rejectCertificateTransfer( Consumer rejectCertificateTransferRequest) { return rejectCertificateTransfer(RejectCertificateTransferRequest.builder() .applyMutation(rejectCertificateTransferRequest).build()); } /** *

* Removes the given thing from the billing group. *

*

* Requires permission to access the RemoveThingFromBillingGroup action. *

* *

* This call is asynchronous. It might take several seconds for the detachment to propagate. *

*
* * @param removeThingFromBillingGroupRequest * @return A Java Future containing the result of the RemoveThingFromBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RemoveThingFromBillingGroup */ default CompletableFuture removeThingFromBillingGroup( RemoveThingFromBillingGroupRequest removeThingFromBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the given thing from the billing group. *

*

* Requires permission to access the RemoveThingFromBillingGroup action. *

* *

* This call is asynchronous. It might take several seconds for the detachment to propagate. *

*

*

* This is a convenience which creates an instance of the {@link RemoveThingFromBillingGroupRequest.Builder} * avoiding the need to create one manually via {@link RemoveThingFromBillingGroupRequest#builder()} *

* * @param removeThingFromBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RemoveThingFromBillingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the RemoveThingFromBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RemoveThingFromBillingGroup */ default CompletableFuture removeThingFromBillingGroup( Consumer removeThingFromBillingGroupRequest) { return removeThingFromBillingGroup(RemoveThingFromBillingGroupRequest.builder() .applyMutation(removeThingFromBillingGroupRequest).build()); } /** *

* Remove the specified thing from the specified group. *

*

* You must specify either a thingGroupArn or a thingGroupName to identify the thing group * and either a thingArn or a thingName to identify the thing to remove from the thing * group. *

*

* Requires permission to access the RemoveThingFromThingGroup action. *

* * @param removeThingFromThingGroupRequest * @return A Java Future containing the result of the RemoveThingFromThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RemoveThingFromThingGroup */ default CompletableFuture removeThingFromThingGroup( RemoveThingFromThingGroupRequest removeThingFromThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Remove the specified thing from the specified group. *

*

* You must specify either a thingGroupArn or a thingGroupName to identify the thing group * and either a thingArn or a thingName to identify the thing to remove from the thing * group. *

*

* Requires permission to access the RemoveThingFromThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link RemoveThingFromThingGroupRequest.Builder} avoiding * the need to create one manually via {@link RemoveThingFromThingGroupRequest#builder()} *

* * @param removeThingFromThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.RemoveThingFromThingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the RemoveThingFromThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.RemoveThingFromThingGroup */ default CompletableFuture removeThingFromThingGroup( Consumer removeThingFromThingGroupRequest) { return removeThingFromThingGroup(RemoveThingFromThingGroupRequest.builder() .applyMutation(removeThingFromThingGroupRequest).build()); } /** *

* Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level * action. Any user who has permission to create rules will be able to access data processed by the rule. *

*

* Requires permission to access the ReplaceTopicRule action. *

* * @param replaceTopicRuleRequest * The input for the ReplaceTopicRule operation. * @return A Java Future containing the result of the ReplaceTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • SqlParseException The Rule-SQL expression can't be parsed correctly.
  • *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ReplaceTopicRule */ default CompletableFuture replaceTopicRule(ReplaceTopicRuleRequest replaceTopicRuleRequest) { throw new UnsupportedOperationException(); } /** *

* Replaces the rule. You must specify all parameters for the new rule. Creating rules is an administrator-level * action. Any user who has permission to create rules will be able to access data processed by the rule. *

*

* Requires permission to access the ReplaceTopicRule action. *

*
*

* This is a convenience which creates an instance of the {@link ReplaceTopicRuleRequest.Builder} avoiding the need * to create one manually via {@link ReplaceTopicRuleRequest#builder()} *

* * @param replaceTopicRuleRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ReplaceTopicRuleRequest.Builder} to create a request. The * input for the ReplaceTopicRule operation. * @return A Java Future containing the result of the ReplaceTopicRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • SqlParseException The Rule-SQL expression can't be parsed correctly.
  • *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ReplaceTopicRule */ default CompletableFuture replaceTopicRule( Consumer replaceTopicRuleRequest) { return replaceTopicRule(ReplaceTopicRuleRequest.builder().applyMutation(replaceTopicRuleRequest).build()); } /** *

* The query search index. *

*

* Requires permission to access the SearchIndex action. *

* * @param searchIndexRequest * @return A Java Future containing the result of the SearchIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SearchIndex */ default CompletableFuture searchIndex(SearchIndexRequest searchIndexRequest) { throw new UnsupportedOperationException(); } /** *

* The query search index. *

*

* Requires permission to access the SearchIndex action. *

*
*

* This is a convenience which creates an instance of the {@link SearchIndexRequest.Builder} avoiding the need to * create one manually via {@link SearchIndexRequest#builder()} *

* * @param searchIndexRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.SearchIndexRequest.Builder} to create a request. * @return A Java Future containing the result of the SearchIndex operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SearchIndex */ default CompletableFuture searchIndex(Consumer searchIndexRequest) { return searchIndex(SearchIndexRequest.builder().applyMutation(searchIndexRequest).build()); } /** *

* Sets the default authorizer. This will be used if a websocket connection is made without specifying an * authorizer. *

*

* Requires permission to access the SetDefaultAuthorizer action. *

* * @param setDefaultAuthorizerRequest * @return A Java Future containing the result of the SetDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetDefaultAuthorizer */ default CompletableFuture setDefaultAuthorizer( SetDefaultAuthorizerRequest setDefaultAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Sets the default authorizer. This will be used if a websocket connection is made without specifying an * authorizer. *

*

* Requires permission to access the SetDefaultAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link SetDefaultAuthorizerRequest.Builder} avoiding the * need to create one manually via {@link SetDefaultAuthorizerRequest#builder()} *

* * @param setDefaultAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.SetDefaultAuthorizerRequest.Builder} to create a request. * @return A Java Future containing the result of the SetDefaultAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceAlreadyExistsException The resource already exists.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetDefaultAuthorizer */ default CompletableFuture setDefaultAuthorizer( Consumer setDefaultAuthorizerRequest) { return setDefaultAuthorizer(SetDefaultAuthorizerRequest.builder().applyMutation(setDefaultAuthorizerRequest).build()); } /** *

* Sets the specified version of the specified policy as the policy's default (operative) version. This action * affects all certificates to which the policy is attached. To list the principals the policy is attached to, use * the ListPrincipalPolicies action. *

*

* Requires permission to access the SetDefaultPolicyVersion action. *

* * @param setDefaultPolicyVersionRequest * The input for the SetDefaultPolicyVersion operation. * @return A Java Future containing the result of the SetDefaultPolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetDefaultPolicyVersion */ default CompletableFuture setDefaultPolicyVersion( SetDefaultPolicyVersionRequest setDefaultPolicyVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Sets the specified version of the specified policy as the policy's default (operative) version. This action * affects all certificates to which the policy is attached. To list the principals the policy is attached to, use * the ListPrincipalPolicies action. *

*

* Requires permission to access the SetDefaultPolicyVersion action. *

*
*

* This is a convenience which creates an instance of the {@link SetDefaultPolicyVersionRequest.Builder} avoiding * the need to create one manually via {@link SetDefaultPolicyVersionRequest#builder()} *

* * @param setDefaultPolicyVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.SetDefaultPolicyVersionRequest.Builder} to create a * request. The input for the SetDefaultPolicyVersion operation. * @return A Java Future containing the result of the SetDefaultPolicyVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetDefaultPolicyVersion */ default CompletableFuture setDefaultPolicyVersion( Consumer setDefaultPolicyVersionRequest) { return setDefaultPolicyVersion(SetDefaultPolicyVersionRequest.builder().applyMutation(setDefaultPolicyVersionRequest) .build()); } /** *

* Sets the logging options. *

*

* NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead. *

*

* Requires permission to access the SetLoggingOptions action. *

* * @param setLoggingOptionsRequest * The input for the SetLoggingOptions operation. * @return A Java Future containing the result of the SetLoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetLoggingOptions */ default CompletableFuture setLoggingOptions(SetLoggingOptionsRequest setLoggingOptionsRequest) { throw new UnsupportedOperationException(); } /** *

* Sets the logging options. *

*

* NOTE: use of this command is not recommended. Use SetV2LoggingOptions instead. *

*

* Requires permission to access the SetLoggingOptions action. *

*
*

* This is a convenience which creates an instance of the {@link SetLoggingOptionsRequest.Builder} avoiding the need * to create one manually via {@link SetLoggingOptionsRequest#builder()} *

* * @param setLoggingOptionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.SetLoggingOptionsRequest.Builder} to create a request. * The input for the SetLoggingOptions operation. * @return A Java Future containing the result of the SetLoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetLoggingOptions */ default CompletableFuture setLoggingOptions( Consumer setLoggingOptionsRequest) { return setLoggingOptions(SetLoggingOptionsRequest.builder().applyMutation(setLoggingOptionsRequest).build()); } /** *

* Sets the logging level. *

*

* Requires permission to access the SetV2LoggingLevel action. *

* * @param setV2LoggingLevelRequest * @return A Java Future containing the result of the SetV2LoggingLevel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetV2LoggingLevel */ default CompletableFuture setV2LoggingLevel(SetV2LoggingLevelRequest setV2LoggingLevelRequest) { throw new UnsupportedOperationException(); } /** *

* Sets the logging level. *

*

* Requires permission to access the SetV2LoggingLevel action. *

*
*

* This is a convenience which creates an instance of the {@link SetV2LoggingLevelRequest.Builder} avoiding the need * to create one manually via {@link SetV2LoggingLevelRequest#builder()} *

* * @param setV2LoggingLevelRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.SetV2LoggingLevelRequest.Builder} to create a request. * @return A Java Future containing the result of the SetV2LoggingLevel operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • NotConfiguredException The resource is not configured.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetV2LoggingLevel */ default CompletableFuture setV2LoggingLevel( Consumer setV2LoggingLevelRequest) { return setV2LoggingLevel(SetV2LoggingLevelRequest.builder().applyMutation(setV2LoggingLevelRequest).build()); } /** *

* Sets the logging options for the V2 logging service. *

*

* Requires permission to access the SetV2LoggingOptions action. *

* * @param setV2LoggingOptionsRequest * @return A Java Future containing the result of the SetV2LoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetV2LoggingOptions */ default CompletableFuture setV2LoggingOptions( SetV2LoggingOptionsRequest setV2LoggingOptionsRequest) { throw new UnsupportedOperationException(); } /** *

* Sets the logging options for the V2 logging service. *

*

* Requires permission to access the SetV2LoggingOptions action. *

*
*

* This is a convenience which creates an instance of the {@link SetV2LoggingOptionsRequest.Builder} avoiding the * need to create one manually via {@link SetV2LoggingOptionsRequest#builder()} *

* * @param setV2LoggingOptionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.SetV2LoggingOptionsRequest.Builder} to create a request. * @return A Java Future containing the result of the SetV2LoggingOptions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.SetV2LoggingOptions */ default CompletableFuture setV2LoggingOptions( Consumer setV2LoggingOptionsRequest) { return setV2LoggingOptions(SetV2LoggingOptionsRequest.builder().applyMutation(setV2LoggingOptionsRequest).build()); } /** *

* Starts a task that applies a set of mitigation actions to the specified target. *

*

* Requires permission to access the StartAuditMitigationActionsTask action. *

* * @param startAuditMitigationActionsTaskRequest * @return A Java Future containing the result of the StartAuditMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • TaskAlreadyExistsException This exception occurs if you attempt to start a task with the same task-id * as an existing task but with a different clientRequestToken.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartAuditMitigationActionsTask */ default CompletableFuture startAuditMitigationActionsTask( StartAuditMitigationActionsTaskRequest startAuditMitigationActionsTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Starts a task that applies a set of mitigation actions to the specified target. *

*

* Requires permission to access the StartAuditMitigationActionsTask action. *

*
*

* This is a convenience which creates an instance of the {@link StartAuditMitigationActionsTaskRequest.Builder} * avoiding the need to create one manually via {@link StartAuditMitigationActionsTaskRequest#builder()} *

* * @param startAuditMitigationActionsTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.StartAuditMitigationActionsTaskRequest.Builder} to create * a request. * @return A Java Future containing the result of the StartAuditMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • TaskAlreadyExistsException This exception occurs if you attempt to start a task with the same task-id * as an existing task but with a different clientRequestToken.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartAuditMitigationActionsTask */ default CompletableFuture startAuditMitigationActionsTask( Consumer startAuditMitigationActionsTaskRequest) { return startAuditMitigationActionsTask(StartAuditMitigationActionsTaskRequest.builder() .applyMutation(startAuditMitigationActionsTaskRequest).build()); } /** *

* Starts a Device Defender ML Detect mitigation actions task. *

*

* Requires permission to access the StartDetectMitigationActionsTask action. *

* * @param startDetectMitigationActionsTaskRequest * @return A Java Future containing the result of the StartDetectMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • TaskAlreadyExistsException This exception occurs if you attempt to start a task with the same task-id * as an existing task but with a different clientRequestToken.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartDetectMitigationActionsTask */ default CompletableFuture startDetectMitigationActionsTask( StartDetectMitigationActionsTaskRequest startDetectMitigationActionsTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Starts a Device Defender ML Detect mitigation actions task. *

*

* Requires permission to access the StartDetectMitigationActionsTask action. *

*
*

* This is a convenience which creates an instance of the {@link StartDetectMitigationActionsTaskRequest.Builder} * avoiding the need to create one manually via {@link StartDetectMitigationActionsTaskRequest#builder()} *

* * @param startDetectMitigationActionsTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.StartDetectMitigationActionsTaskRequest.Builder} to * create a request. * @return A Java Future containing the result of the StartDetectMitigationActionsTask operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • TaskAlreadyExistsException This exception occurs if you attempt to start a task with the same task-id * as an existing task but with a different clientRequestToken.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartDetectMitigationActionsTask */ default CompletableFuture startDetectMitigationActionsTask( Consumer startDetectMitigationActionsTaskRequest) { return startDetectMitigationActionsTask(StartDetectMitigationActionsTaskRequest.builder() .applyMutation(startDetectMitigationActionsTaskRequest).build()); } /** *

* Starts an on-demand Device Defender audit. *

*

* Requires permission to access the StartOnDemandAuditTask action. *

* * @param startOnDemandAuditTaskRequest * @return A Java Future containing the result of the StartOnDemandAuditTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartOnDemandAuditTask */ default CompletableFuture startOnDemandAuditTask( StartOnDemandAuditTaskRequest startOnDemandAuditTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Starts an on-demand Device Defender audit. *

*

* Requires permission to access the StartOnDemandAuditTask action. *

*
*

* This is a convenience which creates an instance of the {@link StartOnDemandAuditTaskRequest.Builder} avoiding the * need to create one manually via {@link StartOnDemandAuditTaskRequest#builder()} *

* * @param startOnDemandAuditTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.StartOnDemandAuditTaskRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartOnDemandAuditTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartOnDemandAuditTask */ default CompletableFuture startOnDemandAuditTask( Consumer startOnDemandAuditTaskRequest) { return startOnDemandAuditTask(StartOnDemandAuditTaskRequest.builder().applyMutation(startOnDemandAuditTaskRequest) .build()); } /** *

* Creates a bulk thing provisioning task. *

*

* Requires permission to access the StartThingRegistrationTask action. *

* * @param startThingRegistrationTaskRequest * @return A Java Future containing the result of the StartThingRegistrationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartThingRegistrationTask */ default CompletableFuture startThingRegistrationTask( StartThingRegistrationTaskRequest startThingRegistrationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a bulk thing provisioning task. *

*

* Requires permission to access the StartThingRegistrationTask action. *

*
*

* This is a convenience which creates an instance of the {@link StartThingRegistrationTaskRequest.Builder} avoiding * the need to create one manually via {@link StartThingRegistrationTaskRequest#builder()} *

* * @param startThingRegistrationTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.StartThingRegistrationTaskRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartThingRegistrationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StartThingRegistrationTask */ default CompletableFuture startThingRegistrationTask( Consumer startThingRegistrationTaskRequest) { return startThingRegistrationTask(StartThingRegistrationTaskRequest.builder() .applyMutation(startThingRegistrationTaskRequest).build()); } /** *

* Cancels a bulk thing provisioning task. *

*

* Requires permission to access the StopThingRegistrationTask action. *

* * @param stopThingRegistrationTaskRequest * @return A Java Future containing the result of the StopThingRegistrationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StopThingRegistrationTask */ default CompletableFuture stopThingRegistrationTask( StopThingRegistrationTaskRequest stopThingRegistrationTaskRequest) { throw new UnsupportedOperationException(); } /** *

* Cancels a bulk thing provisioning task. *

*

* Requires permission to access the StopThingRegistrationTask action. *

*
*

* This is a convenience which creates an instance of the {@link StopThingRegistrationTaskRequest.Builder} avoiding * the need to create one manually via {@link StopThingRegistrationTaskRequest#builder()} *

* * @param stopThingRegistrationTaskRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.StopThingRegistrationTaskRequest.Builder} to create a * request. * @return A Java Future containing the result of the StopThingRegistrationTask operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.StopThingRegistrationTask */ default CompletableFuture stopThingRegistrationTask( Consumer stopThingRegistrationTaskRequest) { return stopThingRegistrationTask(StopThingRegistrationTaskRequest.builder() .applyMutation(stopThingRegistrationTaskRequest).build()); } /** *

* Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. *

*

* Requires permission to access the TagResource action. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TagResource */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource. *

*

* Requires permission to access the TagResource action. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TagResource */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test * and debug the authorization behavior of devices that connect to the IoT device gateway. *

*

* Requires permission to access the TestAuthorization action. *

* * @param testAuthorizationRequest * @return A Java Future containing the result of the TestAuthorization operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TestAuthorization */ default CompletableFuture testAuthorization(TestAuthorizationRequest testAuthorizationRequest) { throw new UnsupportedOperationException(); } /** *

* Tests if a specified principal is authorized to perform an IoT action on a specified resource. Use this to test * and debug the authorization behavior of devices that connect to the IoT device gateway. *

*

* Requires permission to access the TestAuthorization action. *

*
*

* This is a convenience which creates an instance of the {@link TestAuthorizationRequest.Builder} avoiding the need * to create one manually via {@link TestAuthorizationRequest#builder()} *

* * @param testAuthorizationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.TestAuthorizationRequest.Builder} to create a request. * @return A Java Future containing the result of the TestAuthorization operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TestAuthorization */ default CompletableFuture testAuthorization( Consumer testAuthorizationRequest) { return testAuthorization(TestAuthorizationRequest.builder().applyMutation(testAuthorizationRequest).build()); } /** *

* Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the * custom authorization behavior of devices that connect to the IoT device gateway. *

*

* Requires permission to access the TestInvokeAuthorizer action. *

* * @param testInvokeAuthorizerRequest * @return A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidResponseException The response is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TestInvokeAuthorizer */ default CompletableFuture testInvokeAuthorizer( TestInvokeAuthorizerRequest testInvokeAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Tests a custom authorization behavior by invoking a specified custom authorizer. Use this to test and debug the * custom authorization behavior of devices that connect to the IoT device gateway. *

*

* Requires permission to access the TestInvokeAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link TestInvokeAuthorizerRequest.Builder} avoiding the * need to create one manually via {@link TestInvokeAuthorizerRequest#builder()} *

* * @param testInvokeAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.TestInvokeAuthorizerRequest.Builder} to create a request. * @return A Java Future containing the result of the TestInvokeAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidResponseException The response is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TestInvokeAuthorizer */ default CompletableFuture testInvokeAuthorizer( Consumer testInvokeAuthorizerRequest) { return testInvokeAuthorizer(TestInvokeAuthorizerRequest.builder().applyMutation(testInvokeAuthorizerRequest).build()); } /** *

* Transfers the specified certificate to the specified Amazon Web Services account. *

*

* Requires permission to access the TransferCertificate action. *

*

* You can cancel the transfer until it is acknowledged by the recipient. *

*

* No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer * target. *

*

* The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate * action to deactivate it. *

*

* The certificate must not have any policies attached to it. You can use the DetachPolicy action to detach * them. *

* * @param transferCertificateRequest * The input for the TransferCertificate operation. * @return A Java Future containing the result of the TransferCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • TransferConflictException You can't transfer the certificate because authorization policies are still * attached.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TransferCertificate */ default CompletableFuture transferCertificate( TransferCertificateRequest transferCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Transfers the specified certificate to the specified Amazon Web Services account. *

*

* Requires permission to access the TransferCertificate action. *

*

* You can cancel the transfer until it is acknowledged by the recipient. *

*

* No notification is sent to the transfer destination's account. It is up to the caller to notify the transfer * target. *

*

* The certificate being transferred must not be in the ACTIVE state. You can use the UpdateCertificate * action to deactivate it. *

*

* The certificate must not have any policies attached to it. You can use the DetachPolicy action to detach * them. *

*
*

* This is a convenience which creates an instance of the {@link TransferCertificateRequest.Builder} avoiding the * need to create one manually via {@link TransferCertificateRequest#builder()} *

* * @param transferCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.TransferCertificateRequest.Builder} to create a request. * The input for the TransferCertificate operation. * @return A Java Future containing the result of the TransferCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • TransferConflictException You can't transfer the certificate because authorization policies are still * attached.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.TransferCertificate */ default CompletableFuture transferCertificate( Consumer transferCertificateRequest) { return transferCertificate(TransferCertificateRequest.builder().applyMutation(transferCertificateRequest).build()); } /** *

* Removes the given tags (metadata) from the resource. *

*

* Requires permission to access the UntagResource action. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UntagResource */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the given tags (metadata) from the resource. *

*

* Requires permission to access the UntagResource action. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UntagResource */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit * notifications are sent and which audit checks are enabled or disabled. *

*

* Requires permission to access the UpdateAccountAuditConfiguration action. *

* * @param updateAccountAuditConfigurationRequest * @return A Java Future containing the result of the UpdateAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateAccountAuditConfiguration */ default CompletableFuture updateAccountAuditConfiguration( UpdateAccountAuditConfigurationRequest updateAccountAuditConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Configures or reconfigures the Device Defender audit settings for this account. Settings include how audit * notifications are sent and which audit checks are enabled or disabled. *

*

* Requires permission to access the UpdateAccountAuditConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateAccountAuditConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateAccountAuditConfigurationRequest#builder()} *

* * @param updateAccountAuditConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateAccountAuditConfigurationRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateAccountAuditConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateAccountAuditConfiguration */ default CompletableFuture updateAccountAuditConfiguration( Consumer updateAccountAuditConfigurationRequest) { return updateAccountAuditConfiguration(UpdateAccountAuditConfigurationRequest.builder() .applyMutation(updateAccountAuditConfigurationRequest).build()); } /** *

* Updates a Device Defender audit suppression. *

* * @param updateAuditSuppressionRequest * @return A Java Future containing the result of the UpdateAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateAuditSuppression */ default CompletableFuture updateAuditSuppression( UpdateAuditSuppressionRequest updateAuditSuppressionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a Device Defender audit suppression. *

*
*

* This is a convenience which creates an instance of the {@link UpdateAuditSuppressionRequest.Builder} avoiding the * need to create one manually via {@link UpdateAuditSuppressionRequest#builder()} *

* * @param updateAuditSuppressionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateAuditSuppressionRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateAuditSuppression operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateAuditSuppression */ default CompletableFuture updateAuditSuppression( Consumer updateAuditSuppressionRequest) { return updateAuditSuppression(UpdateAuditSuppressionRequest.builder().applyMutation(updateAuditSuppressionRequest) .build()); } /** *

* Updates an authorizer. *

*

* Requires permission to access the UpdateAuthorizer action. *

* * @param updateAuthorizerRequest * @return A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateAuthorizer */ default CompletableFuture updateAuthorizer(UpdateAuthorizerRequest updateAuthorizerRequest) { throw new UnsupportedOperationException(); } /** *

* Updates an authorizer. *

*

* Requires permission to access the UpdateAuthorizer action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateAuthorizerRequest.Builder} avoiding the need * to create one manually via {@link UpdateAuthorizerRequest#builder()} *

* * @param updateAuthorizerRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateAuthorizerRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateAuthorizer operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateAuthorizer */ default CompletableFuture updateAuthorizer( Consumer updateAuthorizerRequest) { return updateAuthorizer(UpdateAuthorizerRequest.builder().applyMutation(updateAuthorizerRequest).build()); } /** *

* Updates information about the billing group. *

*

* Requires permission to access the UpdateBillingGroup action. *

* * @param updateBillingGroupRequest * @return A Java Future containing the result of the UpdateBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateBillingGroup */ default CompletableFuture updateBillingGroup(UpdateBillingGroupRequest updateBillingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Updates information about the billing group. *

*

* Requires permission to access the UpdateBillingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateBillingGroupRequest.Builder} avoiding the * need to create one manually via {@link UpdateBillingGroupRequest#builder()} *

* * @param updateBillingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateBillingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateBillingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateBillingGroup */ default CompletableFuture updateBillingGroup( Consumer updateBillingGroupRequest) { return updateBillingGroup(UpdateBillingGroupRequest.builder().applyMutation(updateBillingGroupRequest).build()); } /** *

* Updates a registered CA certificate. *

*

* Requires permission to access the UpdateCACertificate action. *

* * @param updateCaCertificateRequest * The input to the UpdateCACertificate operation. * @return A Java Future containing the result of the UpdateCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCACertificate */ default CompletableFuture updateCACertificate( UpdateCaCertificateRequest updateCaCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a registered CA certificate. *

*

* Requires permission to access the UpdateCACertificate action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCaCertificateRequest.Builder} avoiding the * need to create one manually via {@link UpdateCaCertificateRequest#builder()} *

* * @param updateCaCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateCaCertificateRequest.Builder} to create a request. * The input to the UpdateCACertificate operation. * @return A Java Future containing the result of the UpdateCACertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCACertificate */ default CompletableFuture updateCACertificate( Consumer updateCaCertificateRequest) { return updateCACertificate(UpdateCaCertificateRequest.builder().applyMutation(updateCaCertificateRequest).build()); } /** *

* Updates the status of the specified certificate. This operation is idempotent. *

*

* Requires permission to access the UpdateCertificate action. *

*

* Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT. *

*

* Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all * devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state * to reconnect. *

* * @param updateCertificateRequest * The input for the UpdateCertificate operation. * @return A Java Future containing the result of the UpdateCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCertificate */ default CompletableFuture updateCertificate(UpdateCertificateRequest updateCertificateRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the status of the specified certificate. This operation is idempotent. *

*

* Requires permission to access the UpdateCertificate action. *

*

* Certificates must be in the ACTIVE state to authenticate devices that use a certificate to connect to IoT. *

*

* Within a few minutes of updating a certificate from the ACTIVE state to any other state, IoT disconnects all * devices that used that certificate to connect. Devices cannot use a certificate that is not in the ACTIVE state * to reconnect. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCertificateRequest.Builder} avoiding the need * to create one manually via {@link UpdateCertificateRequest#builder()} *

* * @param updateCertificateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateCertificateRequest.Builder} to create a request. * The input for the UpdateCertificate operation. * @return A Java Future containing the result of the UpdateCertificate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • CertificateStateException The certificate operation is not allowed.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCertificate */ default CompletableFuture updateCertificate( Consumer updateCertificateRequest) { return updateCertificate(UpdateCertificateRequest.builder().applyMutation(updateCertificateRequest).build()); } /** *

* Updates a certificate provider. *

*

* Requires permission to access the UpdateCertificateProvider action. *

* * @param updateCertificateProviderRequest * @return A Java Future containing the result of the UpdateCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCertificateProvider */ default CompletableFuture updateCertificateProvider( UpdateCertificateProviderRequest updateCertificateProviderRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a certificate provider. *

*

* Requires permission to access the UpdateCertificateProvider action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCertificateProviderRequest.Builder} avoiding * the need to create one manually via {@link UpdateCertificateProviderRequest#builder()} *

* * @param updateCertificateProviderRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateCertificateProviderRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateCertificateProvider operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCertificateProvider */ default CompletableFuture updateCertificateProvider( Consumer updateCertificateProviderRequest) { return updateCertificateProvider(UpdateCertificateProviderRequest.builder() .applyMutation(updateCertificateProviderRequest).build()); } /** *

* Updates a Device Defender detect custom metric. *

*

* Requires permission to access the UpdateCustomMetric action. *

* * @param updateCustomMetricRequest * @return A Java Future containing the result of the UpdateCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCustomMetric */ default CompletableFuture updateCustomMetric(UpdateCustomMetricRequest updateCustomMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a Device Defender detect custom metric. *

*

* Requires permission to access the UpdateCustomMetric action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateCustomMetricRequest.Builder} avoiding the * need to create one manually via {@link UpdateCustomMetricRequest#builder()} *

* * @param updateCustomMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateCustomMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateCustomMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateCustomMetric */ default CompletableFuture updateCustomMetric( Consumer updateCustomMetricRequest) { return updateCustomMetric(UpdateCustomMetricRequest.builder().applyMutation(updateCustomMetricRequest).build()); } /** *

* Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can * delete it and recreate it). *

*

* Requires permission to access the UpdateDimension action. *

* * @param updateDimensionRequest * @return A Java Future containing the result of the UpdateDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateDimension */ default CompletableFuture updateDimension(UpdateDimensionRequest updateDimensionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can * delete it and recreate it). *

*

* Requires permission to access the UpdateDimension action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateDimensionRequest.Builder} avoiding the need * to create one manually via {@link UpdateDimensionRequest#builder()} *

* * @param updateDimensionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateDimensionRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateDimension operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateDimension */ default CompletableFuture updateDimension( Consumer updateDimensionRequest) { return updateDimension(UpdateDimensionRequest.builder().applyMutation(updateDimensionRequest).build()); } /** *

* Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated. *

*

* Requires permission to access the UpdateDomainConfiguration action. *

* * @param updateDomainConfigurationRequest * @return A Java Future containing the result of the UpdateDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateDomainConfiguration */ default CompletableFuture updateDomainConfiguration( UpdateDomainConfigurationRequest updateDomainConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates values stored in the domain configuration. Domain configurations for default endpoints can't be updated. *

*

* Requires permission to access the UpdateDomainConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateDomainConfigurationRequest.Builder} avoiding * the need to create one manually via {@link UpdateDomainConfigurationRequest#builder()} *

* * @param updateDomainConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateDomainConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateDomainConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • CertificateValidationException The certificate is invalid.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateDomainConfiguration */ default CompletableFuture updateDomainConfiguration( Consumer updateDomainConfigurationRequest) { return updateDomainConfiguration(UpdateDomainConfigurationRequest.builder() .applyMutation(updateDomainConfigurationRequest).build()); } /** *

* Updates a dynamic thing group. *

*

* Requires permission to access the UpdateDynamicThingGroup action. *

* * @param updateDynamicThingGroupRequest * @return A Java Future containing the result of the UpdateDynamicThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateDynamicThingGroup */ default CompletableFuture updateDynamicThingGroup( UpdateDynamicThingGroupRequest updateDynamicThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a dynamic thing group. *

*

* Requires permission to access the UpdateDynamicThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateDynamicThingGroupRequest.Builder} avoiding * the need to create one manually via {@link UpdateDynamicThingGroupRequest#builder()} *

* * @param updateDynamicThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateDynamicThingGroupRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateDynamicThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateDynamicThingGroup */ default CompletableFuture updateDynamicThingGroup( Consumer updateDynamicThingGroupRequest) { return updateDynamicThingGroup(UpdateDynamicThingGroupRequest.builder().applyMutation(updateDynamicThingGroupRequest) .build()); } /** *

* Updates the event configurations. *

*

* Requires permission to access the UpdateEventConfigurations action. *

* * @param updateEventConfigurationsRequest * @return A Java Future containing the result of the UpdateEventConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateEventConfigurations */ default CompletableFuture updateEventConfigurations( UpdateEventConfigurationsRequest updateEventConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the event configurations. *

*

* Requires permission to access the UpdateEventConfigurations action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateEventConfigurationsRequest.Builder} avoiding * the need to create one manually via {@link UpdateEventConfigurationsRequest#builder()} *

* * @param updateEventConfigurationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateEventConfigurationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateEventConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateEventConfigurations */ default CompletableFuture updateEventConfigurations( Consumer updateEventConfigurationsRequest) { return updateEventConfigurations(UpdateEventConfigurationsRequest.builder() .applyMutation(updateEventConfigurationsRequest).build()); } /** *

* Updates the data for a fleet metric. *

*

* Requires permission to access the UpdateFleetMetric action. *

* * @param updateFleetMetricRequest * @return A Java Future containing the result of the UpdateFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateFleetMetric */ default CompletableFuture updateFleetMetric(UpdateFleetMetricRequest updateFleetMetricRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the data for a fleet metric. *

*

* Requires permission to access the UpdateFleetMetric action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateFleetMetricRequest.Builder} avoiding the need * to create one manually via {@link UpdateFleetMetricRequest#builder()} *

* * @param updateFleetMetricRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateFleetMetricRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateFleetMetric operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidQueryException The query is invalid.
  • *
  • InvalidAggregationException The aggregation is invalid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • IndexNotReadyException The index is not ready.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateFleetMetric */ default CompletableFuture updateFleetMetric( Consumer updateFleetMetricRequest) { return updateFleetMetric(UpdateFleetMetricRequest.builder().applyMutation(updateFleetMetricRequest).build()); } /** *

* Updates the search configuration. *

*

* Requires permission to access the UpdateIndexingConfiguration action. *

* * @param updateIndexingConfigurationRequest * @return A Java Future containing the result of the UpdateIndexingConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateIndexingConfiguration */ default CompletableFuture updateIndexingConfiguration( UpdateIndexingConfigurationRequest updateIndexingConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the search configuration. *

*

* Requires permission to access the UpdateIndexingConfiguration action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateIndexingConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateIndexingConfigurationRequest#builder()} *

* * @param updateIndexingConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateIndexingConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateIndexingConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateIndexingConfiguration */ default CompletableFuture updateIndexingConfiguration( Consumer updateIndexingConfigurationRequest) { return updateIndexingConfiguration(UpdateIndexingConfigurationRequest.builder() .applyMutation(updateIndexingConfigurationRequest).build()); } /** *

* Updates supported fields of the specified job. *

*

* Requires permission to access the UpdateJob action. *

* * @param updateJobRequest * @return A Java Future containing the result of the UpdateJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateJob */ default CompletableFuture updateJob(UpdateJobRequest updateJobRequest) { throw new UnsupportedOperationException(); } /** *

* Updates supported fields of the specified job. *

*

* Requires permission to access the UpdateJob action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateJobRequest.Builder} avoiding the need to * create one manually via {@link UpdateJobRequest#builder()} *

* * @param updateJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateJobRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateJob */ default CompletableFuture updateJob(Consumer updateJobRequest) { return updateJob(UpdateJobRequest.builder().applyMutation(updateJobRequest).build()); } /** *

* Updates the definition for the specified mitigation action. *

*

* Requires permission to access the UpdateMitigationAction action. *

* * @param updateMitigationActionRequest * @return A Java Future containing the result of the UpdateMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateMitigationAction */ default CompletableFuture updateMitigationAction( UpdateMitigationActionRequest updateMitigationActionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the definition for the specified mitigation action. *

*

* Requires permission to access the UpdateMitigationAction action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateMitigationActionRequest.Builder} avoiding the * need to create one manually via {@link UpdateMitigationActionRequest#builder()} *

* * @param updateMitigationActionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateMitigationActionRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateMitigationAction operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateMitigationAction */ default CompletableFuture updateMitigationAction( Consumer updateMitigationActionRequest) { return updateMitigationAction(UpdateMitigationActionRequest.builder().applyMutation(updateMitigationActionRequest) .build()); } /** *

* Updates the supported fields for a specific software package. *

*

* Requires permission to access the UpdatePackage and GetIndexingConfiguration actions. *

* * @param updatePackageRequest * @return A Java Future containing the result of the UpdatePackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdatePackage */ default CompletableFuture updatePackage(UpdatePackageRequest updatePackageRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the supported fields for a specific software package. *

*

* Requires permission to access the UpdatePackage and GetIndexingConfiguration actions. *

*
*

* This is a convenience which creates an instance of the {@link UpdatePackageRequest.Builder} avoiding the need to * create one manually via {@link UpdatePackageRequest#builder()} *

* * @param updatePackageRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdatePackageRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdatePackage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdatePackage */ default CompletableFuture updatePackage(Consumer updatePackageRequest) { return updatePackage(UpdatePackageRequest.builder().applyMutation(updatePackageRequest).build()); } /** *

* Updates the software package configuration. *

*

* Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions. *

* * @param updatePackageConfigurationRequest * @return A Java Future containing the result of the UpdatePackageConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdatePackageConfiguration */ default CompletableFuture updatePackageConfiguration( UpdatePackageConfigurationRequest updatePackageConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the software package configuration. *

*

* Requires permission to access the UpdatePackageConfiguration and iam:PassRole actions. *

*
*

* This is a convenience which creates an instance of the {@link UpdatePackageConfigurationRequest.Builder} avoiding * the need to create one manually via {@link UpdatePackageConfigurationRequest#builder()} *

* * @param updatePackageConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdatePackageConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdatePackageConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdatePackageConfiguration */ default CompletableFuture updatePackageConfiguration( Consumer updatePackageConfigurationRequest) { return updatePackageConfiguration(UpdatePackageConfigurationRequest.builder() .applyMutation(updatePackageConfigurationRequest).build()); } /** *

* Updates the supported fields for a specific package version. *

*

* Requires permission to access the UpdatePackageVersion and GetIndexingConfiguration actions. *

* * @param updatePackageVersionRequest * @return A Java Future containing the result of the UpdatePackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdatePackageVersion */ default CompletableFuture updatePackageVersion( UpdatePackageVersionRequest updatePackageVersionRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the supported fields for a specific package version. *

*

* Requires permission to access the UpdatePackageVersion and GetIndexingConfiguration actions. *

*
*

* This is a convenience which creates an instance of the {@link UpdatePackageVersionRequest.Builder} avoiding the * need to create one manually via {@link UpdatePackageVersionRequest#builder()} *

* * @param updatePackageVersionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdatePackageVersionRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdatePackageVersion operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ThrottlingException The rate exceeds the limit.
  • *
  • ConflictException A resource with the same name already exists.
  • *
  • InternalServerException Internal error from the service that indicates an unexpected error or that * the service is unavailable.
  • *
  • ValidationException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdatePackageVersion */ default CompletableFuture updatePackageVersion( Consumer updatePackageVersionRequest) { return updatePackageVersion(UpdatePackageVersionRequest.builder().applyMutation(updatePackageVersionRequest).build()); } /** *

* Updates a provisioning template. *

*

* Requires permission to access the UpdateProvisioningTemplate action. *

* * @param updateProvisioningTemplateRequest * @return A Java Future containing the result of the UpdateProvisioningTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateProvisioningTemplate */ default CompletableFuture updateProvisioningTemplate( UpdateProvisioningTemplateRequest updateProvisioningTemplateRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a provisioning template. *

*

* Requires permission to access the UpdateProvisioningTemplate action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateProvisioningTemplateRequest.Builder} avoiding * the need to create one manually via {@link UpdateProvisioningTemplateRequest#builder()} *

* * @param updateProvisioningTemplateRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateProvisioningTemplateRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateProvisioningTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalFailureException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateProvisioningTemplate */ default CompletableFuture updateProvisioningTemplate( Consumer updateProvisioningTemplateRequest) { return updateProvisioningTemplate(UpdateProvisioningTemplateRequest.builder() .applyMutation(updateProvisioningTemplateRequest).build()); } /** *

* Updates a role alias. *

*

* Requires permission to access the UpdateRoleAlias action. *

* * @param updateRoleAliasRequest * @return A Java Future containing the result of the UpdateRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateRoleAlias */ default CompletableFuture updateRoleAlias(UpdateRoleAliasRequest updateRoleAliasRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a role alias. *

*

* Requires permission to access the UpdateRoleAlias action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateRoleAliasRequest.Builder} avoiding the need * to create one manually via {@link UpdateRoleAliasRequest#builder()} *

* * @param updateRoleAliasRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateRoleAliasRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateRoleAlias operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateRoleAlias */ default CompletableFuture updateRoleAlias( Consumer updateRoleAliasRequest) { return updateRoleAlias(UpdateRoleAliasRequest.builder().applyMutation(updateRoleAliasRequest).build()); } /** *

* Updates a scheduled audit, including which checks are performed and how often the audit takes place. *

*

* Requires permission to access the UpdateScheduledAudit action. *

* * @param updateScheduledAuditRequest * @return A Java Future containing the result of the UpdateScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateScheduledAudit */ default CompletableFuture updateScheduledAudit( UpdateScheduledAuditRequest updateScheduledAuditRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a scheduled audit, including which checks are performed and how often the audit takes place. *

*

* Requires permission to access the UpdateScheduledAudit action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateScheduledAuditRequest.Builder} avoiding the * need to create one manually via {@link UpdateScheduledAuditRequest#builder()} *

* * @param updateScheduledAuditRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateScheduledAuditRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateScheduledAudit operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateScheduledAudit */ default CompletableFuture updateScheduledAudit( Consumer updateScheduledAuditRequest) { return updateScheduledAudit(UpdateScheduledAuditRequest.builder().applyMutation(updateScheduledAuditRequest).build()); } /** *

* Updates a Device Defender security profile. *

*

* Requires permission to access the UpdateSecurityProfile action. *

* * @param updateSecurityProfileRequest * @return A Java Future containing the result of the UpdateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateSecurityProfile */ default CompletableFuture updateSecurityProfile( UpdateSecurityProfileRequest updateSecurityProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a Device Defender security profile. *

*

* Requires permission to access the UpdateSecurityProfile action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSecurityProfileRequest.Builder} avoiding the * need to create one manually via {@link UpdateSecurityProfileRequest#builder()} *

* * @param updateSecurityProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateSecurityProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateSecurityProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateSecurityProfile */ default CompletableFuture updateSecurityProfile( Consumer updateSecurityProfileRequest) { return updateSecurityProfile(UpdateSecurityProfileRequest.builder().applyMutation(updateSecurityProfileRequest).build()); } /** *

* Updates an existing stream. The stream version will be incremented by one. *

*

* Requires permission to access the UpdateStream action. *

* * @param updateStreamRequest * @return A Java Future containing the result of the UpdateStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateStream */ default CompletableFuture updateStream(UpdateStreamRequest updateStreamRequest) { throw new UnsupportedOperationException(); } /** *

* Updates an existing stream. The stream version will be incremented by one. *

*

* Requires permission to access the UpdateStream action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateStreamRequest.Builder} avoiding the need to * create one manually via {@link UpdateStreamRequest#builder()} *

* * @param updateStreamRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateStreamRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateStream operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • LimitExceededException A limit has been exceeded.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateStream */ default CompletableFuture updateStream(Consumer updateStreamRequest) { return updateStream(UpdateStreamRequest.builder().applyMutation(updateStreamRequest).build()); } /** *

* Updates the data for a thing. *

*

* Requires permission to access the UpdateThing action. *

* * @param updateThingRequest * The input for the UpdateThing operation. * @return A Java Future containing the result of the UpdateThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateThing */ default CompletableFuture updateThing(UpdateThingRequest updateThingRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the data for a thing. *

*

* Requires permission to access the UpdateThing action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateThingRequest.Builder} avoiding the need to * create one manually via {@link UpdateThingRequest#builder()} *

* * @param updateThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateThingRequest.Builder} to create a request. The * input for the UpdateThing operation. * @return A Java Future containing the result of the UpdateThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateThing */ default CompletableFuture updateThing(Consumer updateThingRequest) { return updateThing(UpdateThingRequest.builder().applyMutation(updateThingRequest).build()); } /** *

* Update a thing group. *

*

* Requires permission to access the UpdateThingGroup action. *

* * @param updateThingGroupRequest * @return A Java Future containing the result of the UpdateThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateThingGroup */ default CompletableFuture updateThingGroup(UpdateThingGroupRequest updateThingGroupRequest) { throw new UnsupportedOperationException(); } /** *

* Update a thing group. *

*

* Requires permission to access the UpdateThingGroup action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateThingGroupRequest.Builder} avoiding the need * to create one manually via {@link UpdateThingGroupRequest#builder()} *

* * @param updateThingGroupRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateThingGroupRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateThingGroup operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • VersionConflictException An exception thrown when the version of an entity specified with the * expectedVersion parameter does not match the latest version in the system.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateThingGroup */ default CompletableFuture updateThingGroup( Consumer updateThingGroupRequest) { return updateThingGroup(UpdateThingGroupRequest.builder().applyMutation(updateThingGroupRequest).build()); } /** *

* Updates the groups to which the thing belongs. *

*

* Requires permission to access the UpdateThingGroupsForThing action. *

* * @param updateThingGroupsForThingRequest * @return A Java Future containing the result of the UpdateThingGroupsForThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateThingGroupsForThing */ default CompletableFuture updateThingGroupsForThing( UpdateThingGroupsForThingRequest updateThingGroupsForThingRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the groups to which the thing belongs. *

*

* Requires permission to access the UpdateThingGroupsForThing action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateThingGroupsForThingRequest.Builder} avoiding * the need to create one manually via {@link UpdateThingGroupsForThingRequest#builder()} *

* * @param updateThingGroupsForThingRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateThingGroupsForThingRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateThingGroupsForThing operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • ResourceNotFoundException The specified resource does not exist.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateThingGroupsForThing */ default CompletableFuture updateThingGroupsForThing( Consumer updateThingGroupsForThingRequest) { return updateThingGroupsForThing(UpdateThingGroupsForThingRequest.builder() .applyMutation(updateThingGroupsForThingRequest).build()); } /** *

* Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the * destination. *

*

* Requires permission to access the UpdateTopicRuleDestination action. *

* * @param updateTopicRuleDestinationRequest * @return A Java Future containing the result of the UpdateTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateTopicRuleDestination */ default CompletableFuture updateTopicRuleDestination( UpdateTopicRuleDestinationRequest updateTopicRuleDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates a topic rule destination. You use this to change the status, endpoint URL, or confirmation URL of the * destination. *

*

* Requires permission to access the UpdateTopicRuleDestination action. *

*
*

* This is a convenience which creates an instance of the {@link UpdateTopicRuleDestinationRequest.Builder} avoiding * the need to create one manually via {@link UpdateTopicRuleDestinationRequest#builder()} *

* * @param updateTopicRuleDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.UpdateTopicRuleDestinationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateTopicRuleDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InternalException An unexpected error has occurred.
  • *
  • InvalidRequestException The request is not valid.
  • *
  • ServiceUnavailableException The service is temporarily unavailable.
  • *
  • UnauthorizedException You are not authorized to perform this operation.
  • *
  • ConflictingResourceUpdateException A conflicting resource update exception. This exception is thrown * when two pending updates cause a conflict.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.UpdateTopicRuleDestination */ default CompletableFuture updateTopicRuleDestination( Consumer updateTopicRuleDestinationRequest) { return updateTopicRuleDestination(UpdateTopicRuleDestinationRequest.builder() .applyMutation(updateTopicRuleDestinationRequest).build()); } /** *

* Validates a Device Defender security profile behaviors specification. *

*

* Requires permission to access the ValidateSecurityProfileBehaviors action. *

* * @param validateSecurityProfileBehaviorsRequest * @return A Java Future containing the result of the ValidateSecurityProfileBehaviors operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ValidateSecurityProfileBehaviors */ default CompletableFuture validateSecurityProfileBehaviors( ValidateSecurityProfileBehaviorsRequest validateSecurityProfileBehaviorsRequest) { throw new UnsupportedOperationException(); } /** *

* Validates a Device Defender security profile behaviors specification. *

*

* Requires permission to access the ValidateSecurityProfileBehaviors action. *

*
*

* This is a convenience which creates an instance of the {@link ValidateSecurityProfileBehaviorsRequest.Builder} * avoiding the need to create one manually via {@link ValidateSecurityProfileBehaviorsRequest#builder()} *

* * @param validateSecurityProfileBehaviorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iot.model.ValidateSecurityProfileBehaviorsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ValidateSecurityProfileBehaviors operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. The exception returned is wrapped with CompletionException, so you need to invoke * {@link Throwable#getCause} to retrieve the underlying exception. *
    *
  • InvalidRequestException The request is not valid.
  • *
  • ThrottlingException The rate exceeds the limit.
  • *
  • InternalFailureException An unexpected error has occurred.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • IotException Base class for all service exceptions. Unknown exceptions will be thrown as an instance * of this type.
  • *
* @sample IotAsyncClient.ValidateSecurityProfileBehaviors */ default CompletableFuture validateSecurityProfileBehaviors( Consumer validateSecurityProfileBehaviorsRequest) { return validateSecurityProfileBehaviors(ValidateSecurityProfileBehaviorsRequest.builder() .applyMutation(validateSecurityProfileBehaviorsRequest).build()); } @Override default IotServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link IotAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static IotAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link IotAsyncClient}. */ static IotAsyncClientBuilder builder() { return new DefaultIotAsyncClientBuilder(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy