@aws-sdk/client-clouddirectory 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/CloudDirectory.js +0 -1
- package/dist-cjs/CloudDirectoryClient.js +0 -1
- package/dist-cjs/commands/AddFacetToObjectCommand.js +0 -1
- package/dist-cjs/commands/ApplySchemaCommand.js +0 -1
- package/dist-cjs/commands/AttachObjectCommand.js +0 -1
- package/dist-cjs/commands/AttachPolicyCommand.js +0 -1
- package/dist-cjs/commands/AttachToIndexCommand.js +0 -1
- package/dist-cjs/commands/AttachTypedLinkCommand.js +0 -1
- package/dist-cjs/commands/BatchReadCommand.js +0 -1
- package/dist-cjs/commands/BatchWriteCommand.js +0 -1
- package/dist-cjs/commands/CreateDirectoryCommand.js +0 -1
- package/dist-cjs/commands/CreateFacetCommand.js +0 -1
- package/dist-cjs/commands/CreateIndexCommand.js +0 -1
- package/dist-cjs/commands/CreateObjectCommand.js +0 -1
- package/dist-cjs/commands/CreateSchemaCommand.js +0 -1
- package/dist-cjs/commands/CreateTypedLinkFacetCommand.js +0 -1
- package/dist-cjs/commands/DeleteDirectoryCommand.js +0 -1
- package/dist-cjs/commands/DeleteFacetCommand.js +0 -1
- package/dist-cjs/commands/DeleteObjectCommand.js +0 -1
- package/dist-cjs/commands/DeleteSchemaCommand.js +0 -1
- package/dist-cjs/commands/DeleteTypedLinkFacetCommand.js +0 -1
- package/dist-cjs/commands/DetachFromIndexCommand.js +0 -1
- package/dist-cjs/commands/DetachObjectCommand.js +0 -1
- package/dist-cjs/commands/DetachPolicyCommand.js +0 -1
- package/dist-cjs/commands/DetachTypedLinkCommand.js +0 -1
- package/dist-cjs/commands/DisableDirectoryCommand.js +0 -1
- package/dist-cjs/commands/EnableDirectoryCommand.js +0 -1
- package/dist-cjs/commands/GetAppliedSchemaVersionCommand.js +0 -1
- package/dist-cjs/commands/GetDirectoryCommand.js +0 -1
- package/dist-cjs/commands/GetFacetCommand.js +0 -1
- package/dist-cjs/commands/GetLinkAttributesCommand.js +0 -1
- package/dist-cjs/commands/GetObjectAttributesCommand.js +0 -1
- package/dist-cjs/commands/GetObjectInformationCommand.js +0 -1
- package/dist-cjs/commands/GetSchemaAsJsonCommand.js +0 -1
- package/dist-cjs/commands/GetTypedLinkFacetInformationCommand.js +0 -1
- package/dist-cjs/commands/ListAppliedSchemaArnsCommand.js +0 -1
- package/dist-cjs/commands/ListAttachedIndicesCommand.js +0 -1
- package/dist-cjs/commands/ListDevelopmentSchemaArnsCommand.js +0 -1
- package/dist-cjs/commands/ListDirectoriesCommand.js +0 -1
- package/dist-cjs/commands/ListFacetAttributesCommand.js +0 -1
- package/dist-cjs/commands/ListFacetNamesCommand.js +0 -1
- package/dist-cjs/commands/ListIncomingTypedLinksCommand.js +0 -1
- package/dist-cjs/commands/ListIndexCommand.js +0 -1
- package/dist-cjs/commands/ListManagedSchemaArnsCommand.js +0 -1
- package/dist-cjs/commands/ListObjectAttributesCommand.js +0 -1
- package/dist-cjs/commands/ListObjectChildrenCommand.js +0 -1
- package/dist-cjs/commands/ListObjectParentPathsCommand.js +0 -1
- package/dist-cjs/commands/ListObjectParentsCommand.js +0 -1
- package/dist-cjs/commands/ListObjectPoliciesCommand.js +0 -1
- package/dist-cjs/commands/ListOutgoingTypedLinksCommand.js +0 -1
- package/dist-cjs/commands/ListPolicyAttachmentsCommand.js +0 -1
- package/dist-cjs/commands/ListPublishedSchemaArnsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ListTypedLinkFacetAttributesCommand.js +0 -1
- package/dist-cjs/commands/ListTypedLinkFacetNamesCommand.js +0 -1
- package/dist-cjs/commands/LookupPolicyCommand.js +0 -1
- package/dist-cjs/commands/PublishSchemaCommand.js +0 -1
- package/dist-cjs/commands/PutSchemaFromJsonCommand.js +0 -1
- package/dist-cjs/commands/RemoveFacetFromObjectCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateFacetCommand.js +0 -1
- package/dist-cjs/commands/UpdateLinkAttributesCommand.js +0 -1
- package/dist-cjs/commands/UpdateObjectAttributesCommand.js +0 -1
- package/dist-cjs/commands/UpdateSchemaCommand.js +0 -1
- package/dist-cjs/commands/UpdateTypedLinkFacetCommand.js +0 -1
- package/dist-cjs/commands/UpgradeAppliedSchemaCommand.js +0 -1
- package/dist-cjs/commands/UpgradePublishedSchemaCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAppliedSchemaArnsPaginator.js +0 -1
- package/dist-cjs/pagination/ListAttachedIndicesPaginator.js +0 -1
- package/dist-cjs/pagination/ListDevelopmentSchemaArnsPaginator.js +0 -1
- package/dist-cjs/pagination/ListDirectoriesPaginator.js +0 -1
- package/dist-cjs/pagination/ListFacetAttributesPaginator.js +0 -1
- package/dist-cjs/pagination/ListFacetNamesPaginator.js +0 -1
- package/dist-cjs/pagination/ListIndexPaginator.js +0 -1
- package/dist-cjs/pagination/ListManagedSchemaArnsPaginator.js +0 -1
- package/dist-cjs/pagination/ListObjectAttributesPaginator.js +0 -1
- package/dist-cjs/pagination/ListObjectChildrenPaginator.js +0 -1
- package/dist-cjs/pagination/ListObjectParentPathsPaginator.js +0 -1
- package/dist-cjs/pagination/ListObjectParentsPaginator.js +0 -1
- package/dist-cjs/pagination/ListObjectPoliciesPaginator.js +0 -1
- package/dist-cjs/pagination/ListPolicyAttachmentsPaginator.js +0 -1
- package/dist-cjs/pagination/ListPublishedSchemaArnsPaginator.js +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-cjs/pagination/ListTypedLinkFacetAttributesPaginator.js +0 -1
- package/dist-cjs/pagination/ListTypedLinkFacetNamesPaginator.js +0 -1
- package/dist-cjs/pagination/LookupPolicyPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/CloudDirectory.js +0 -1
- package/dist-es/CloudDirectoryClient.js +0 -1
- package/dist-es/commands/AddFacetToObjectCommand.js +0 -1
- package/dist-es/commands/ApplySchemaCommand.js +0 -1
- package/dist-es/commands/AttachObjectCommand.js +0 -1
- package/dist-es/commands/AttachPolicyCommand.js +0 -1
- package/dist-es/commands/AttachToIndexCommand.js +0 -1
- package/dist-es/commands/AttachTypedLinkCommand.js +0 -1
- package/dist-es/commands/BatchReadCommand.js +0 -1
- package/dist-es/commands/BatchWriteCommand.js +0 -1
- package/dist-es/commands/CreateDirectoryCommand.js +0 -1
- package/dist-es/commands/CreateFacetCommand.js +0 -1
- package/dist-es/commands/CreateIndexCommand.js +0 -1
- package/dist-es/commands/CreateObjectCommand.js +0 -1
- package/dist-es/commands/CreateSchemaCommand.js +0 -1
- package/dist-es/commands/CreateTypedLinkFacetCommand.js +0 -1
- package/dist-es/commands/DeleteDirectoryCommand.js +0 -1
- package/dist-es/commands/DeleteFacetCommand.js +0 -1
- package/dist-es/commands/DeleteObjectCommand.js +0 -1
- package/dist-es/commands/DeleteSchemaCommand.js +0 -1
- package/dist-es/commands/DeleteTypedLinkFacetCommand.js +0 -1
- package/dist-es/commands/DetachFromIndexCommand.js +0 -1
- package/dist-es/commands/DetachObjectCommand.js +0 -1
- package/dist-es/commands/DetachPolicyCommand.js +0 -1
- package/dist-es/commands/DetachTypedLinkCommand.js +0 -1
- package/dist-es/commands/DisableDirectoryCommand.js +0 -1
- package/dist-es/commands/EnableDirectoryCommand.js +0 -1
- package/dist-es/commands/GetAppliedSchemaVersionCommand.js +0 -1
- package/dist-es/commands/GetDirectoryCommand.js +0 -1
- package/dist-es/commands/GetFacetCommand.js +0 -1
- package/dist-es/commands/GetLinkAttributesCommand.js +0 -1
- package/dist-es/commands/GetObjectAttributesCommand.js +0 -1
- package/dist-es/commands/GetObjectInformationCommand.js +0 -1
- package/dist-es/commands/GetSchemaAsJsonCommand.js +0 -1
- package/dist-es/commands/GetTypedLinkFacetInformationCommand.js +0 -1
- package/dist-es/commands/ListAppliedSchemaArnsCommand.js +0 -1
- package/dist-es/commands/ListAttachedIndicesCommand.js +0 -1
- package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js +0 -1
- package/dist-es/commands/ListDirectoriesCommand.js +0 -1
- package/dist-es/commands/ListFacetAttributesCommand.js +0 -1
- package/dist-es/commands/ListFacetNamesCommand.js +0 -1
- package/dist-es/commands/ListIncomingTypedLinksCommand.js +0 -1
- package/dist-es/commands/ListIndexCommand.js +0 -1
- package/dist-es/commands/ListManagedSchemaArnsCommand.js +0 -1
- package/dist-es/commands/ListObjectAttributesCommand.js +0 -1
- package/dist-es/commands/ListObjectChildrenCommand.js +0 -1
- package/dist-es/commands/ListObjectParentPathsCommand.js +0 -1
- package/dist-es/commands/ListObjectParentsCommand.js +0 -1
- package/dist-es/commands/ListObjectPoliciesCommand.js +0 -1
- package/dist-es/commands/ListOutgoingTypedLinksCommand.js +0 -1
- package/dist-es/commands/ListPolicyAttachmentsCommand.js +0 -1
- package/dist-es/commands/ListPublishedSchemaArnsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js +0 -1
- package/dist-es/commands/ListTypedLinkFacetNamesCommand.js +0 -1
- package/dist-es/commands/LookupPolicyCommand.js +0 -1
- package/dist-es/commands/PublishSchemaCommand.js +0 -1
- package/dist-es/commands/PutSchemaFromJsonCommand.js +0 -1
- package/dist-es/commands/RemoveFacetFromObjectCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateFacetCommand.js +0 -1
- package/dist-es/commands/UpdateLinkAttributesCommand.js +0 -1
- package/dist-es/commands/UpdateObjectAttributesCommand.js +0 -1
- package/dist-es/commands/UpdateSchemaCommand.js +0 -1
- package/dist-es/commands/UpdateTypedLinkFacetCommand.js +0 -1
- package/dist-es/commands/UpgradeAppliedSchemaCommand.js +0 -1
- package/dist-es/commands/UpgradePublishedSchemaCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAppliedSchemaArnsPaginator.js +0 -1
- package/dist-es/pagination/ListAttachedIndicesPaginator.js +0 -1
- package/dist-es/pagination/ListDevelopmentSchemaArnsPaginator.js +0 -1
- package/dist-es/pagination/ListDirectoriesPaginator.js +0 -1
- package/dist-es/pagination/ListFacetAttributesPaginator.js +0 -1
- package/dist-es/pagination/ListFacetNamesPaginator.js +0 -1
- package/dist-es/pagination/ListIndexPaginator.js +0 -1
- package/dist-es/pagination/ListManagedSchemaArnsPaginator.js +0 -1
- package/dist-es/pagination/ListObjectAttributesPaginator.js +0 -1
- package/dist-es/pagination/ListObjectChildrenPaginator.js +0 -1
- package/dist-es/pagination/ListObjectParentPathsPaginator.js +0 -1
- package/dist-es/pagination/ListObjectParentsPaginator.js +0 -1
- package/dist-es/pagination/ListObjectPoliciesPaginator.js +0 -1
- package/dist-es/pagination/ListPolicyAttachmentsPaginator.js +0 -1
- package/dist-es/pagination/ListPublishedSchemaArnsPaginator.js +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
- package/dist-es/pagination/ListTypedLinkFacetAttributesPaginator.js +0 -1
- package/dist-es/pagination/ListTypedLinkFacetNamesPaginator.js +0 -1
- package/dist-es/pagination/LookupPolicyPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/CloudDirectory.js.map +0 -1
- package/dist-cjs/CloudDirectoryClient.js.map +0 -1
- package/dist-cjs/commands/AddFacetToObjectCommand.js.map +0 -1
- package/dist-cjs/commands/ApplySchemaCommand.js.map +0 -1
- package/dist-cjs/commands/AttachObjectCommand.js.map +0 -1
- package/dist-cjs/commands/AttachPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/AttachToIndexCommand.js.map +0 -1
- package/dist-cjs/commands/AttachTypedLinkCommand.js.map +0 -1
- package/dist-cjs/commands/BatchReadCommand.js.map +0 -1
- package/dist-cjs/commands/BatchWriteCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFacetCommand.js.map +0 -1
- package/dist-cjs/commands/CreateIndexCommand.js.map +0 -1
- package/dist-cjs/commands/CreateObjectCommand.js.map +0 -1
- package/dist-cjs/commands/CreateSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTypedLinkFacetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFacetCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteObjectCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTypedLinkFacetCommand.js.map +0 -1
- package/dist-cjs/commands/DetachFromIndexCommand.js.map +0 -1
- package/dist-cjs/commands/DetachObjectCommand.js.map +0 -1
- package/dist-cjs/commands/DetachPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DetachTypedLinkCommand.js.map +0 -1
- package/dist-cjs/commands/DisableDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/EnableDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/GetAppliedSchemaVersionCommand.js.map +0 -1
- package/dist-cjs/commands/GetDirectoryCommand.js.map +0 -1
- package/dist-cjs/commands/GetFacetCommand.js.map +0 -1
- package/dist-cjs/commands/GetLinkAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/GetObjectAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/GetObjectInformationCommand.js.map +0 -1
- package/dist-cjs/commands/GetSchemaAsJsonCommand.js.map +0 -1
- package/dist-cjs/commands/GetTypedLinkFacetInformationCommand.js.map +0 -1
- package/dist-cjs/commands/ListAppliedSchemaArnsCommand.js.map +0 -1
- package/dist-cjs/commands/ListAttachedIndicesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDevelopmentSchemaArnsCommand.js.map +0 -1
- package/dist-cjs/commands/ListDirectoriesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFacetAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/ListFacetNamesCommand.js.map +0 -1
- package/dist-cjs/commands/ListIncomingTypedLinksCommand.js.map +0 -1
- package/dist-cjs/commands/ListIndexCommand.js.map +0 -1
- package/dist-cjs/commands/ListManagedSchemaArnsCommand.js.map +0 -1
- package/dist-cjs/commands/ListObjectAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/ListObjectChildrenCommand.js.map +0 -1
- package/dist-cjs/commands/ListObjectParentPathsCommand.js.map +0 -1
- package/dist-cjs/commands/ListObjectParentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListObjectPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/ListOutgoingTypedLinksCommand.js.map +0 -1
- package/dist-cjs/commands/ListPolicyAttachmentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPublishedSchemaArnsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTypedLinkFacetAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTypedLinkFacetNamesCommand.js.map +0 -1
- package/dist-cjs/commands/LookupPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/PublishSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/PutSchemaFromJsonCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveFacetFromObjectCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFacetCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateLinkAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateObjectAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTypedLinkFacetCommand.js.map +0 -1
- package/dist-cjs/commands/UpgradeAppliedSchemaCommand.js.map +0 -1
- package/dist-cjs/commands/UpgradePublishedSchemaCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAppliedSchemaArnsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListAttachedIndicesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDevelopmentSchemaArnsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDirectoriesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFacetAttributesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFacetNamesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListIndexPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListManagedSchemaArnsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListObjectAttributesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListObjectChildrenPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListObjectParentPathsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListObjectParentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListObjectPoliciesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPolicyAttachmentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPublishedSchemaArnsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTypedLinkFacetAttributesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTypedLinkFacetNamesPaginator.js.map +0 -1
- package/dist-cjs/pagination/LookupPolicyPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/CloudDirectory.js.map +0 -1
- package/dist-es/CloudDirectoryClient.js.map +0 -1
- package/dist-es/commands/AddFacetToObjectCommand.js.map +0 -1
- package/dist-es/commands/ApplySchemaCommand.js.map +0 -1
- package/dist-es/commands/AttachObjectCommand.js.map +0 -1
- package/dist-es/commands/AttachPolicyCommand.js.map +0 -1
- package/dist-es/commands/AttachToIndexCommand.js.map +0 -1
- package/dist-es/commands/AttachTypedLinkCommand.js.map +0 -1
- package/dist-es/commands/BatchReadCommand.js.map +0 -1
- package/dist-es/commands/BatchWriteCommand.js.map +0 -1
- package/dist-es/commands/CreateDirectoryCommand.js.map +0 -1
- package/dist-es/commands/CreateFacetCommand.js.map +0 -1
- package/dist-es/commands/CreateIndexCommand.js.map +0 -1
- package/dist-es/commands/CreateObjectCommand.js.map +0 -1
- package/dist-es/commands/CreateSchemaCommand.js.map +0 -1
- package/dist-es/commands/CreateTypedLinkFacetCommand.js.map +0 -1
- package/dist-es/commands/DeleteDirectoryCommand.js.map +0 -1
- package/dist-es/commands/DeleteFacetCommand.js.map +0 -1
- package/dist-es/commands/DeleteObjectCommand.js.map +0 -1
- package/dist-es/commands/DeleteSchemaCommand.js.map +0 -1
- package/dist-es/commands/DeleteTypedLinkFacetCommand.js.map +0 -1
- package/dist-es/commands/DetachFromIndexCommand.js.map +0 -1
- package/dist-es/commands/DetachObjectCommand.js.map +0 -1
- package/dist-es/commands/DetachPolicyCommand.js.map +0 -1
- package/dist-es/commands/DetachTypedLinkCommand.js.map +0 -1
- package/dist-es/commands/DisableDirectoryCommand.js.map +0 -1
- package/dist-es/commands/EnableDirectoryCommand.js.map +0 -1
- package/dist-es/commands/GetAppliedSchemaVersionCommand.js.map +0 -1
- package/dist-es/commands/GetDirectoryCommand.js.map +0 -1
- package/dist-es/commands/GetFacetCommand.js.map +0 -1
- package/dist-es/commands/GetLinkAttributesCommand.js.map +0 -1
- package/dist-es/commands/GetObjectAttributesCommand.js.map +0 -1
- package/dist-es/commands/GetObjectInformationCommand.js.map +0 -1
- package/dist-es/commands/GetSchemaAsJsonCommand.js.map +0 -1
- package/dist-es/commands/GetTypedLinkFacetInformationCommand.js.map +0 -1
- package/dist-es/commands/ListAppliedSchemaArnsCommand.js.map +0 -1
- package/dist-es/commands/ListAttachedIndicesCommand.js.map +0 -1
- package/dist-es/commands/ListDevelopmentSchemaArnsCommand.js.map +0 -1
- package/dist-es/commands/ListDirectoriesCommand.js.map +0 -1
- package/dist-es/commands/ListFacetAttributesCommand.js.map +0 -1
- package/dist-es/commands/ListFacetNamesCommand.js.map +0 -1
- package/dist-es/commands/ListIncomingTypedLinksCommand.js.map +0 -1
- package/dist-es/commands/ListIndexCommand.js.map +0 -1
- package/dist-es/commands/ListManagedSchemaArnsCommand.js.map +0 -1
- package/dist-es/commands/ListObjectAttributesCommand.js.map +0 -1
- package/dist-es/commands/ListObjectChildrenCommand.js.map +0 -1
- package/dist-es/commands/ListObjectParentPathsCommand.js.map +0 -1
- package/dist-es/commands/ListObjectParentsCommand.js.map +0 -1
- package/dist-es/commands/ListObjectPoliciesCommand.js.map +0 -1
- package/dist-es/commands/ListOutgoingTypedLinksCommand.js.map +0 -1
- package/dist-es/commands/ListPolicyAttachmentsCommand.js.map +0 -1
- package/dist-es/commands/ListPublishedSchemaArnsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTypedLinkFacetAttributesCommand.js.map +0 -1
- package/dist-es/commands/ListTypedLinkFacetNamesCommand.js.map +0 -1
- package/dist-es/commands/LookupPolicyCommand.js.map +0 -1
- package/dist-es/commands/PublishSchemaCommand.js.map +0 -1
- package/dist-es/commands/PutSchemaFromJsonCommand.js.map +0 -1
- package/dist-es/commands/RemoveFacetFromObjectCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateFacetCommand.js.map +0 -1
- package/dist-es/commands/UpdateLinkAttributesCommand.js.map +0 -1
- package/dist-es/commands/UpdateObjectAttributesCommand.js.map +0 -1
- package/dist-es/commands/UpdateSchemaCommand.js.map +0 -1
- package/dist-es/commands/UpdateTypedLinkFacetCommand.js.map +0 -1
- package/dist-es/commands/UpgradeAppliedSchemaCommand.js.map +0 -1
- package/dist-es/commands/UpgradePublishedSchemaCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAppliedSchemaArnsPaginator.js.map +0 -1
- package/dist-es/pagination/ListAttachedIndicesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDevelopmentSchemaArnsPaginator.js.map +0 -1
- package/dist-es/pagination/ListDirectoriesPaginator.js.map +0 -1
- package/dist-es/pagination/ListFacetAttributesPaginator.js.map +0 -1
- package/dist-es/pagination/ListFacetNamesPaginator.js.map +0 -1
- package/dist-es/pagination/ListIndexPaginator.js.map +0 -1
- package/dist-es/pagination/ListManagedSchemaArnsPaginator.js.map +0 -1
- package/dist-es/pagination/ListObjectAttributesPaginator.js.map +0 -1
- package/dist-es/pagination/ListObjectChildrenPaginator.js.map +0 -1
- package/dist-es/pagination/ListObjectParentPathsPaginator.js.map +0 -1
- package/dist-es/pagination/ListObjectParentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListObjectPoliciesPaginator.js.map +0 -1
- package/dist-es/pagination/ListPolicyAttachmentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPublishedSchemaArnsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist-es/pagination/ListTypedLinkFacetAttributesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTypedLinkFacetNamesPaginator.js.map +0 -1
- package/dist-es/pagination/LookupPolicyPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/CloudDirectory.ts +0 -2406
- package/src/CloudDirectoryClient.ts +0 -517
- package/src/commands/AddFacetToObjectCommand.ts +0 -95
- package/src/commands/ApplySchemaCommand.ts +0 -96
- package/src/commands/AttachObjectCommand.ts +0 -105
- package/src/commands/AttachPolicyCommand.ts +0 -96
- package/src/commands/AttachToIndexCommand.ts +0 -95
- package/src/commands/AttachTypedLinkCommand.ts +0 -95
- package/src/commands/BatchReadCommand.ts +0 -95
- package/src/commands/BatchWriteCommand.ts +0 -96
- package/src/commands/CreateDirectoryCommand.ts +0 -98
- package/src/commands/CreateFacetCommand.ts +0 -96
- package/src/commands/CreateIndexCommand.ts +0 -95
- package/src/commands/CreateObjectCommand.ts +0 -98
- package/src/commands/CreateSchemaCommand.ts +0 -115
- package/src/commands/CreateTypedLinkFacetCommand.ts +0 -95
- package/src/commands/DeleteDirectoryCommand.ts +0 -97
- package/src/commands/DeleteFacetCommand.ts +0 -97
- package/src/commands/DeleteObjectCommand.ts +0 -96
- package/src/commands/DeleteSchemaCommand.ts +0 -95
- package/src/commands/DeleteTypedLinkFacetCommand.ts +0 -95
- package/src/commands/DetachFromIndexCommand.ts +0 -95
- package/src/commands/DetachObjectCommand.ts +0 -96
- package/src/commands/DetachPolicyCommand.ts +0 -95
- package/src/commands/DetachTypedLinkCommand.ts +0 -95
- package/src/commands/DisableDirectoryCommand.ts +0 -96
- package/src/commands/EnableDirectoryCommand.ts +0 -96
- package/src/commands/GetAppliedSchemaVersionCommand.ts +0 -95
- package/src/commands/GetDirectoryCommand.ts +0 -95
- package/src/commands/GetFacetCommand.ts +0 -96
- package/src/commands/GetLinkAttributesCommand.ts +0 -95
- package/src/commands/GetObjectAttributesCommand.ts +0 -95
- package/src/commands/GetObjectInformationCommand.ts +0 -95
- package/src/commands/GetSchemaAsJsonCommand.ts +0 -95
- package/src/commands/GetTypedLinkFacetInformationCommand.ts +0 -100
- package/src/commands/ListAppliedSchemaArnsCommand.ts +0 -95
- package/src/commands/ListAttachedIndicesCommand.ts +0 -95
- package/src/commands/ListDevelopmentSchemaArnsCommand.ts +0 -99
- package/src/commands/ListDirectoriesCommand.ts +0 -95
- package/src/commands/ListFacetAttributesCommand.ts +0 -95
- package/src/commands/ListFacetNamesCommand.ts +0 -95
- package/src/commands/ListIncomingTypedLinksCommand.ts +0 -97
- package/src/commands/ListIndexCommand.ts +0 -95
- package/src/commands/ListManagedSchemaArnsCommand.ts +0 -95
- package/src/commands/ListObjectAttributesCommand.ts +0 -96
- package/src/commands/ListObjectChildrenCommand.ts +0 -96
- package/src/commands/ListObjectParentPathsCommand.ts +0 -102
- package/src/commands/ListObjectParentsCommand.ts +0 -96
- package/src/commands/ListObjectPoliciesCommand.ts +0 -95
- package/src/commands/ListOutgoingTypedLinksCommand.ts +0 -97
- package/src/commands/ListPolicyAttachmentsCommand.ts +0 -95
- package/src/commands/ListPublishedSchemaArnsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -97
- package/src/commands/ListTypedLinkFacetAttributesCommand.ts +0 -100
- package/src/commands/ListTypedLinkFacetNamesCommand.ts +0 -96
- package/src/commands/LookupPolicyCommand.ts +0 -100
- package/src/commands/PublishSchemaCommand.ts +0 -95
- package/src/commands/PutSchemaFromJsonCommand.ts +0 -95
- package/src/commands/RemoveFacetFromObjectCommand.ts +0 -95
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateFacetCommand.ts +0 -106
- package/src/commands/UpdateLinkAttributesCommand.ts +0 -95
- package/src/commands/UpdateObjectAttributesCommand.ts +0 -95
- package/src/commands/UpdateSchemaCommand.ts +0 -96
- package/src/commands/UpdateTypedLinkFacetCommand.ts +0 -95
- package/src/commands/UpgradeAppliedSchemaCommand.ts +0 -95
- package/src/commands/UpgradePublishedSchemaCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -89
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6731
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAppliedSchemaArnsPaginator.ts +0 -59
- package/src/pagination/ListAttachedIndicesPaginator.ts +0 -59
- package/src/pagination/ListDevelopmentSchemaArnsPaginator.ts +0 -59
- package/src/pagination/ListDirectoriesPaginator.ts +0 -59
- package/src/pagination/ListFacetAttributesPaginator.ts +0 -59
- package/src/pagination/ListFacetNamesPaginator.ts +0 -59
- package/src/pagination/ListIndexPaginator.ts +0 -55
- package/src/pagination/ListManagedSchemaArnsPaginator.ts +0 -59
- package/src/pagination/ListObjectAttributesPaginator.ts +0 -59
- package/src/pagination/ListObjectChildrenPaginator.ts +0 -59
- package/src/pagination/ListObjectParentPathsPaginator.ts +0 -59
- package/src/pagination/ListObjectParentsPaginator.ts +0 -59
- package/src/pagination/ListObjectPoliciesPaginator.ts +0 -59
- package/src/pagination/ListPolicyAttachmentsPaginator.ts +0 -59
- package/src/pagination/ListPublishedSchemaArnsPaginator.ts +0 -59
- package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
- package/src/pagination/ListTypedLinkFacetAttributesPaginator.ts +0 -59
- package/src/pagination/ListTypedLinkFacetNamesPaginator.ts +0 -59
- package/src/pagination/LookupPolicyPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -12887
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
|
|
6
|
-
export interface CloudDirectoryPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: CloudDirectory | CloudDirectoryClient;
|
|
8
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListAppliedSchemaArnsCommand,
|
|
7
|
-
ListAppliedSchemaArnsCommandInput,
|
|
8
|
-
ListAppliedSchemaArnsCommandOutput,
|
|
9
|
-
} from "../commands/ListAppliedSchemaArnsCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListAppliedSchemaArnsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListAppliedSchemaArnsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListAppliedSchemaArnsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListAppliedSchemaArnsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListAppliedSchemaArnsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listAppliedSchemaArns(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListAppliedSchemaArns(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListAppliedSchemaArnsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListAppliedSchemaArnsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListAppliedSchemaArnsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListAttachedIndicesCommand,
|
|
7
|
-
ListAttachedIndicesCommandInput,
|
|
8
|
-
ListAttachedIndicesCommandOutput,
|
|
9
|
-
} from "../commands/ListAttachedIndicesCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListAttachedIndicesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListAttachedIndicesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListAttachedIndicesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListAttachedIndicesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListAttachedIndicesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listAttachedIndices(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListAttachedIndices(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListAttachedIndicesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListAttachedIndicesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListAttachedIndicesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListDevelopmentSchemaArnsCommand,
|
|
7
|
-
ListDevelopmentSchemaArnsCommandInput,
|
|
8
|
-
ListDevelopmentSchemaArnsCommandOutput,
|
|
9
|
-
} from "../commands/ListDevelopmentSchemaArnsCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListDevelopmentSchemaArnsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListDevelopmentSchemaArnsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListDevelopmentSchemaArnsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListDevelopmentSchemaArnsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListDevelopmentSchemaArnsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listDevelopmentSchemaArns(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListDevelopmentSchemaArns(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListDevelopmentSchemaArnsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListDevelopmentSchemaArnsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListDevelopmentSchemaArnsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListDirectoriesCommand,
|
|
7
|
-
ListDirectoriesCommandInput,
|
|
8
|
-
ListDirectoriesCommandOutput,
|
|
9
|
-
} from "../commands/ListDirectoriesCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListDirectoriesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListDirectoriesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListDirectoriesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListDirectoriesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListDirectoriesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listDirectories(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListDirectories(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListDirectoriesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListDirectoriesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListDirectoriesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListFacetAttributesCommand,
|
|
7
|
-
ListFacetAttributesCommandInput,
|
|
8
|
-
ListFacetAttributesCommandOutput,
|
|
9
|
-
} from "../commands/ListFacetAttributesCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListFacetAttributesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFacetAttributesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFacetAttributesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListFacetAttributesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFacetAttributesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFacetAttributes(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFacetAttributes(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListFacetAttributesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFacetAttributesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFacetAttributesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListFacetNamesCommand,
|
|
7
|
-
ListFacetNamesCommandInput,
|
|
8
|
-
ListFacetNamesCommandOutput,
|
|
9
|
-
} from "../commands/ListFacetNamesCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListFacetNamesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFacetNamesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFacetNamesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListFacetNamesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFacetNamesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFacetNames(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFacetNames(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListFacetNamesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFacetNamesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFacetNamesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import { ListIndexCommand, ListIndexCommandInput, ListIndexCommandOutput } from "../commands/ListIndexCommand";
|
|
6
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: CloudDirectoryClient,
|
|
13
|
-
input: ListIndexCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListIndexCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListIndexCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: CloudDirectory,
|
|
24
|
-
input: ListIndexCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListIndexCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listIndex(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListIndex(
|
|
31
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
32
|
-
input: ListIndexCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListIndexCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
36
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListIndexCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.NextToken = token;
|
|
41
|
-
input["MaxResults"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof CloudDirectory) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.NextToken;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListManagedSchemaArnsCommand,
|
|
7
|
-
ListManagedSchemaArnsCommandInput,
|
|
8
|
-
ListManagedSchemaArnsCommandOutput,
|
|
9
|
-
} from "../commands/ListManagedSchemaArnsCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListManagedSchemaArnsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListManagedSchemaArnsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListManagedSchemaArnsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListManagedSchemaArnsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListManagedSchemaArnsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listManagedSchemaArns(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListManagedSchemaArns(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListManagedSchemaArnsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListManagedSchemaArnsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListManagedSchemaArnsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListObjectAttributesCommand,
|
|
7
|
-
ListObjectAttributesCommandInput,
|
|
8
|
-
ListObjectAttributesCommandOutput,
|
|
9
|
-
} from "../commands/ListObjectAttributesCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListObjectAttributesCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListObjectAttributesCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListObjectAttributesCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListObjectAttributesCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListObjectAttributesCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listObjectAttributes(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListObjectAttributes(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListObjectAttributesCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListObjectAttributesCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListObjectAttributesCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListObjectChildrenCommand,
|
|
7
|
-
ListObjectChildrenCommandInput,
|
|
8
|
-
ListObjectChildrenCommandOutput,
|
|
9
|
-
} from "../commands/ListObjectChildrenCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListObjectChildrenCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListObjectChildrenCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListObjectChildrenCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListObjectChildrenCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListObjectChildrenCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listObjectChildren(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListObjectChildren(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListObjectChildrenCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListObjectChildrenCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListObjectChildrenCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { CloudDirectory } from "../CloudDirectory";
|
|
4
|
-
import { CloudDirectoryClient } from "../CloudDirectoryClient";
|
|
5
|
-
import {
|
|
6
|
-
ListObjectParentPathsCommand,
|
|
7
|
-
ListObjectParentPathsCommandInput,
|
|
8
|
-
ListObjectParentPathsCommandOutput,
|
|
9
|
-
} from "../commands/ListObjectParentPathsCommand";
|
|
10
|
-
import { CloudDirectoryPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: CloudDirectoryClient,
|
|
17
|
-
input: ListObjectParentPathsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListObjectParentPathsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListObjectParentPathsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: CloudDirectory,
|
|
28
|
-
input: ListObjectParentPathsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListObjectParentPathsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listObjectParentPaths(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListObjectParentPaths(
|
|
35
|
-
config: CloudDirectoryPaginationConfiguration,
|
|
36
|
-
input: ListObjectParentPathsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListObjectParentPathsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.NextToken
|
|
40
|
-
let token: typeof input.NextToken | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListObjectParentPathsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.NextToken = token;
|
|
45
|
-
input["MaxResults"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof CloudDirectory) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof CloudDirectoryClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected CloudDirectory | CloudDirectoryClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextToken;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|