@aws-sdk/client-iot 3.477.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/pagination/GetBehaviorModelTrainingSummariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListActiveViolationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAttachedPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAuditFindingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAuditMitigationActionsExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAuditMitigationActionsTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListAuditSuppressionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAuditTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListAuthorizersPaginator.js +2 -24
- package/dist-cjs/pagination/ListBillingGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListCACertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCertificatesByCAPaginator.js +2 -24
- package/dist-cjs/pagination/ListCertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCustomMetricsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDetectMitigationActionsExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDetectMitigationActionsTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListDimensionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDomainConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFleetMetricsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIndicesPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobExecutionsForJobPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobExecutionsForThingPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListManagedJobTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMetricValuesPaginator.js +2 -24
- package/dist-cjs/pagination/ListMitigationActionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListOTAUpdatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListOutgoingCertificatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPackageVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPackagesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPolicyPrincipalsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPrincipalPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListPrincipalThingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProvisioningTemplateVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListProvisioningTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRelatedResourcesForAuditFindingPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoleAliasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListScheduledAuditsPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfilesForTargetPaginator.js +2 -24
- package/dist-cjs/pagination/ListSecurityProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListStreamsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-cjs/pagination/ListTargetsForPolicyPaginator.js +2 -24
- package/dist-cjs/pagination/ListTargetsForSecurityProfilePaginator.js +2 -24
- package/dist-cjs/pagination/ListThingGroupsForThingPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingPrincipalsPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingRegistrationTaskReportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingRegistrationTasksPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingTypesPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingsInBillingGroupPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingsInThingGroupPaginator.js +2 -24
- package/dist-cjs/pagination/ListThingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTopicRuleDestinationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTopicRulesPaginator.js +2 -24
- package/dist-cjs/pagination/ListV2LoggingLevelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListViolationEventsPaginator.js +2 -24
- package/dist-es/pagination/GetBehaviorModelTrainingSummariesPaginator.js +2 -23
- package/dist-es/pagination/ListActiveViolationsPaginator.js +2 -23
- package/dist-es/pagination/ListAttachedPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListAuditFindingsPaginator.js +2 -23
- package/dist-es/pagination/ListAuditMitigationActionsExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListAuditMitigationActionsTasksPaginator.js +2 -23
- package/dist-es/pagination/ListAuditSuppressionsPaginator.js +2 -23
- package/dist-es/pagination/ListAuditTasksPaginator.js +2 -23
- package/dist-es/pagination/ListAuthorizersPaginator.js +2 -23
- package/dist-es/pagination/ListBillingGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListCACertificatesPaginator.js +2 -23
- package/dist-es/pagination/ListCertificatesByCAPaginator.js +2 -23
- package/dist-es/pagination/ListCertificatesPaginator.js +2 -23
- package/dist-es/pagination/ListCustomMetricsPaginator.js +2 -23
- package/dist-es/pagination/ListDetectMitigationActionsExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListDetectMitigationActionsTasksPaginator.js +2 -23
- package/dist-es/pagination/ListDimensionsPaginator.js +2 -23
- package/dist-es/pagination/ListDomainConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListFleetMetricsPaginator.js +2 -23
- package/dist-es/pagination/ListIndicesPaginator.js +2 -23
- package/dist-es/pagination/ListJobExecutionsForJobPaginator.js +2 -23
- package/dist-es/pagination/ListJobExecutionsForThingPaginator.js +2 -23
- package/dist-es/pagination/ListJobTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListJobsPaginator.js +2 -23
- package/dist-es/pagination/ListManagedJobTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListMetricValuesPaginator.js +2 -23
- package/dist-es/pagination/ListMitigationActionsPaginator.js +2 -23
- package/dist-es/pagination/ListOTAUpdatesPaginator.js +2 -23
- package/dist-es/pagination/ListOutgoingCertificatesPaginator.js +2 -23
- package/dist-es/pagination/ListPackageVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListPackagesPaginator.js +2 -23
- package/dist-es/pagination/ListPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListPolicyPrincipalsPaginator.js +2 -23
- package/dist-es/pagination/ListPrincipalPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListPrincipalThingsPaginator.js +2 -23
- package/dist-es/pagination/ListProvisioningTemplateVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListProvisioningTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListRelatedResourcesForAuditFindingPaginator.js +2 -23
- package/dist-es/pagination/ListRoleAliasesPaginator.js +2 -23
- package/dist-es/pagination/ListScheduledAuditsPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfilesForTargetPaginator.js +2 -23
- package/dist-es/pagination/ListSecurityProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListStreamsPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -22
- package/dist-es/pagination/ListTargetsForPolicyPaginator.js +2 -23
- package/dist-es/pagination/ListTargetsForSecurityProfilePaginator.js +2 -23
- package/dist-es/pagination/ListThingGroupsForThingPaginator.js +2 -23
- package/dist-es/pagination/ListThingGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListThingPrincipalsPaginator.js +2 -23
- package/dist-es/pagination/ListThingRegistrationTaskReportsPaginator.js +2 -23
- package/dist-es/pagination/ListThingRegistrationTasksPaginator.js +2 -23
- package/dist-es/pagination/ListThingTypesPaginator.js +2 -23
- package/dist-es/pagination/ListThingsInBillingGroupPaginator.js +2 -23
- package/dist-es/pagination/ListThingsInThingGroupPaginator.js +2 -23
- package/dist-es/pagination/ListThingsPaginator.js +2 -23
- package/dist-es/pagination/ListTopicRuleDestinationsPaginator.js +2 -23
- package/dist-es/pagination/ListTopicRulesPaginator.js +2 -23
- package/dist-es/pagination/ListV2LoggingLevelsPaginator.js +2 -23
- package/dist-es/pagination/ListViolationEventsPaginator.js +2 -23
- package/dist-types/pagination/GetBehaviorModelTrainingSummariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListActiveViolationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAttachedPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditFindingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditMitigationActionsExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditMitigationActionsTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditSuppressionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuditTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAuthorizersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListBillingGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCACertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCertificatesByCAPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCustomMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDetectMitigationActionsExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDetectMitigationActionsTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDimensionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDomainConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFleetMetricsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIndicesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobExecutionsForJobPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobExecutionsForThingPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListManagedJobTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMetricValuesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMitigationActionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOTAUpdatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOutgoingCertificatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackageVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPackagesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPolicyPrincipalsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPrincipalThingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisioningTemplateVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisioningTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRelatedResourcesForAuditFindingPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoleAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScheduledAuditsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilesForTargetPaginator.d.ts +1 -1
- package/dist-types/pagination/ListSecurityProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetsForPolicyPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTargetsForSecurityProfilePaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingGroupsForThingPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingPrincipalsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingRegistrationTaskReportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingRegistrationTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingsInBillingGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingsInThingGroupPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicRuleDestinationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListV2LoggingLevelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListViolationEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetBehaviorModelTrainingSummariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListActiveViolationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAttachedPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAuditFindingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAuditMitigationActionsExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAuditMitigationActionsTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAuditSuppressionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAuditTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAuthorizersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListBillingGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCACertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCertificatesByCAPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCustomMetricsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDetectMitigationActionsExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDetectMitigationActionsTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDimensionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDomainConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFleetMetricsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIndicesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobExecutionsForJobPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobExecutionsForThingPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListManagedJobTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMetricValuesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMitigationActionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOTAUpdatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOutgoingCertificatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPackageVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPackagesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPolicyPrincipalsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPrincipalPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPrincipalThingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProvisioningTemplateVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProvisioningTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRelatedResourcesForAuditFindingPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoleAliasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListScheduledAuditsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfilesForTargetPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListSecurityProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTargetsForPolicyPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTargetsForSecurityProfilePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingGroupsForThingPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingPrincipalsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingRegistrationTaskReportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingRegistrationTasksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingsInBillingGroupPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingsInThingGroupPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTopicRuleDestinationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTopicRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListV2LoggingLevelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListViolationEventsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListStreamsCommand } from "../commands/ListStreamsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListStreamsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListStreams(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListStreams = createPaginator(IoTClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof IoTClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTagsForResource = createPaginator(IoTClient, ListTagsForResourceCommand, "nextToken", "nextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTargetsForPolicyCommand, } from "../commands/ListTargetsForPolicyCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTargetsForPolicyCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTargetsForPolicy(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.marker = token;
|
|
12
|
-
input["pageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTargetsForPolicy = createPaginator(IoTClient, ListTargetsForPolicyCommand, "marker", "nextMarker", "pageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTargetsForSecurityProfileCommand, } from "../commands/ListTargetsForSecurityProfileCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTargetsForSecurityProfileCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTargetsForSecurityProfile(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTargetsForSecurityProfile = createPaginator(IoTClient, ListTargetsForSecurityProfileCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingGroupsForThingCommand, } from "../commands/ListThingGroupsForThingCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingGroupsForThingCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingGroupsForThing(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingGroupsForThing = createPaginator(IoTClient, ListThingGroupsForThingCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingGroupsCommand, } from "../commands/ListThingGroupsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingGroups(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingGroups = createPaginator(IoTClient, ListThingGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingPrincipalsCommand, } from "../commands/ListThingPrincipalsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingPrincipalsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingPrincipals(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingPrincipals = createPaginator(IoTClient, ListThingPrincipalsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingRegistrationTaskReportsCommand, } from "../commands/ListThingRegistrationTaskReportsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingRegistrationTaskReportsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingRegistrationTaskReports(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingRegistrationTaskReports = createPaginator(IoTClient, ListThingRegistrationTaskReportsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingRegistrationTasksCommand, } from "../commands/ListThingRegistrationTasksCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingRegistrationTasksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingRegistrationTasks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingRegistrationTasks = createPaginator(IoTClient, ListThingRegistrationTasksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingTypesCommand, } from "../commands/ListThingTypesCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingTypes = createPaginator(IoTClient, ListThingTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingsInBillingGroupCommand, } from "../commands/ListThingsInBillingGroupCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingsInBillingGroupCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingsInBillingGroup(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingsInBillingGroup = createPaginator(IoTClient, ListThingsInBillingGroupCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingsInThingGroupCommand, } from "../commands/ListThingsInThingGroupCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingsInThingGroupCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThingsInThingGroup(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThingsInThingGroup = createPaginator(IoTClient, ListThingsInThingGroupCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThingsCommand } from "../commands/ListThingsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThings(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListThings = createPaginator(IoTClient, ListThingsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTopicRuleDestinationsCommand, } from "../commands/ListTopicRuleDestinationsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTopicRuleDestinationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTopicRuleDestinations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTopicRuleDestinations = createPaginator(IoTClient, ListTopicRuleDestinationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTopicRulesCommand, } from "../commands/ListTopicRulesCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTopicRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTopicRules(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTopicRules = createPaginator(IoTClient, ListTopicRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListV2LoggingLevelsCommand, } from "../commands/ListV2LoggingLevelsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListV2LoggingLevelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListV2LoggingLevels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListV2LoggingLevels = createPaginator(IoTClient, ListV2LoggingLevelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListViolationEventsCommand, } from "../commands/ListViolationEventsCommand";
|
|
2
3
|
import { IoTClient } from "../IoTClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListViolationEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListViolationEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof IoTClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected IoT | IoTClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListViolationEvents = createPaginator(IoTClient, ListViolationEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetBehaviorModelTrainingSummaries: (config: IoTPaginationConfiguration, input: GetBehaviorModelTrainingSummariesCommandInput, ...rest: any[]) => Paginator<GetBehaviorModelTrainingSummariesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListActiveViolations: (config: IoTPaginationConfiguration, input: ListActiveViolationsCommandInput, ...rest: any[]) => Paginator<ListActiveViolationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAttachedPolicies: (config: IoTPaginationConfiguration, input: ListAttachedPoliciesCommandInput, ...rest: any[]) => Paginator<ListAttachedPoliciesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAuditFindings: (config: IoTPaginationConfiguration, input: ListAuditFindingsCommandInput, ...rest: any[]) => Paginator<ListAuditFindingsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAuditMitigationActionsExecutions: (config: IoTPaginationConfiguration, input: ListAuditMitigationActionsExecutionsCommandInput, ...rest: any[]) => Paginator<ListAuditMitigationActionsExecutionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAuditMitigationActionsTasks: (config: IoTPaginationConfiguration, input: ListAuditMitigationActionsTasksCommandInput, ...rest: any[]) => Paginator<ListAuditMitigationActionsTasksCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAuditSuppressions: (config: IoTPaginationConfiguration, input: ListAuditSuppressionsCommandInput, ...rest: any[]) => Paginator<ListAuditSuppressionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAuditTasks: (config: IoTPaginationConfiguration, input: ListAuditTasksCommandInput, ...rest: any[]) => Paginator<ListAuditTasksCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAuthorizers: (config: IoTPaginationConfiguration, input: ListAuthorizersCommandInput, ...rest: any[]) => Paginator<ListAuthorizersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListBillingGroups: (config: IoTPaginationConfiguration, input: ListBillingGroupsCommandInput, ...rest: any[]) => Paginator<ListBillingGroupsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCACertificates: (config: IoTPaginationConfiguration, input: ListCACertificatesCommandInput, ...rest: any[]) => Paginator<ListCACertificatesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCertificatesByCA: (config: IoTPaginationConfiguration, input: ListCertificatesByCACommandInput, ...rest: any[]) => Paginator<ListCertificatesByCACommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCertificates: (config: IoTPaginationConfiguration, input: ListCertificatesCommandInput, ...rest: any[]) => Paginator<ListCertificatesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListCustomMetrics: (config: IoTPaginationConfiguration, input: ListCustomMetricsCommandInput, ...rest: any[]) => Paginator<ListCustomMetricsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDetectMitigationActionsExecutions: (config: IoTPaginationConfiguration, input: ListDetectMitigationActionsExecutionsCommandInput, ...rest: any[]) => Paginator<ListDetectMitigationActionsExecutionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDetectMitigationActionsTasks: (config: IoTPaginationConfiguration, input: ListDetectMitigationActionsTasksCommandInput, ...rest: any[]) => Paginator<ListDetectMitigationActionsTasksCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDimensions: (config: IoTPaginationConfiguration, input: ListDimensionsCommandInput, ...rest: any[]) => Paginator<ListDimensionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDomainConfigurations: (config: IoTPaginationConfiguration, input: ListDomainConfigurationsCommandInput, ...rest: any[]) => Paginator<ListDomainConfigurationsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { IoTPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListFleetMetrics: (config: IoTPaginationConfiguration, input: ListFleetMetricsCommandInput, ...rest: any[]) => Paginator<ListFleetMetricsCommandOutput>;
|