@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,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { ApplySchemaRequest, ApplySchemaResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ApplySchemaCommand,
|
|
18
|
-
serializeAws_restJson1ApplySchemaCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ApplySchemaCommandInput extends ApplySchemaRequest {}
|
|
22
|
-
export interface ApplySchemaCommandOutput extends ApplySchemaResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Copies the input published schema, at the specified version, into the <a>Directory</a> with the same
|
|
26
|
-
* name and version as that of the published schema.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CloudDirectoryClient, ApplySchemaCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
31
|
-
* // const { CloudDirectoryClient, ApplySchemaCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
32
|
-
* const client = new CloudDirectoryClient(config);
|
|
33
|
-
* const command = new ApplySchemaCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ApplySchemaCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ApplySchemaCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ApplySchemaCommand extends $Command<
|
|
43
|
-
ApplySchemaCommandInput,
|
|
44
|
-
ApplySchemaCommandOutput,
|
|
45
|
-
CloudDirectoryClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ApplySchemaCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ApplySchemaCommandInput, ApplySchemaCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CloudDirectoryClient";
|
|
70
|
-
const commandName = "ApplySchemaCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ApplySchemaRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ApplySchemaResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ApplySchemaCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1ApplySchemaCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ApplySchemaCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1ApplySchemaCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { AttachObjectRequest, AttachObjectResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1AttachObjectCommand,
|
|
18
|
-
serializeAws_restJson1AttachObjectCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface AttachObjectCommandInput extends AttachObjectRequest {}
|
|
22
|
-
export interface AttachObjectCommandOutput extends AttachObjectResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Attaches an existing object to another object. An object can be accessed in two
|
|
26
|
-
* ways:</p>
|
|
27
|
-
* <ol>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Using the path</p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>Using <code>ObjectIdentifier</code>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ol>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { CloudDirectoryClient, AttachObjectCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
40
|
-
* // const { CloudDirectoryClient, AttachObjectCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
41
|
-
* const client = new CloudDirectoryClient(config);
|
|
42
|
-
* const command = new AttachObjectCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link AttachObjectCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link AttachObjectCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class AttachObjectCommand extends $Command<
|
|
52
|
-
AttachObjectCommandInput,
|
|
53
|
-
AttachObjectCommandOutput,
|
|
54
|
-
CloudDirectoryClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: AttachObjectCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<AttachObjectCommandInput, AttachObjectCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "CloudDirectoryClient";
|
|
79
|
-
const commandName = "AttachObjectCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: AttachObjectRequest.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: AttachObjectResponse.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: AttachObjectCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_restJson1AttachObjectCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AttachObjectCommandOutput> {
|
|
100
|
-
return deserializeAws_restJson1AttachObjectCommand(output, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
// Start section: command_body_extra
|
|
104
|
-
// End section: command_body_extra
|
|
105
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { AttachPolicyRequest, AttachPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1AttachPolicyCommand,
|
|
18
|
-
serializeAws_restJson1AttachPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface AttachPolicyCommandInput extends AttachPolicyRequest {}
|
|
22
|
-
export interface AttachPolicyCommandOutput extends AttachPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Attaches a policy object to a regular object. An object can have a limited number of attached
|
|
26
|
-
* policies.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CloudDirectoryClient, AttachPolicyCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
31
|
-
* // const { CloudDirectoryClient, AttachPolicyCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
32
|
-
* const client = new CloudDirectoryClient(config);
|
|
33
|
-
* const command = new AttachPolicyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link AttachPolicyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link AttachPolicyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class AttachPolicyCommand extends $Command<
|
|
43
|
-
AttachPolicyCommandInput,
|
|
44
|
-
AttachPolicyCommandOutput,
|
|
45
|
-
CloudDirectoryClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: AttachPolicyCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<AttachPolicyCommandInput, AttachPolicyCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CloudDirectoryClient";
|
|
70
|
-
const commandName = "AttachPolicyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: AttachPolicyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: AttachPolicyResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: AttachPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1AttachPolicyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AttachPolicyCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1AttachPolicyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { AttachToIndexRequest, AttachToIndexResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1AttachToIndexCommand,
|
|
18
|
-
serializeAws_restJson1AttachToIndexCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface AttachToIndexCommandInput extends AttachToIndexRequest {}
|
|
22
|
-
export interface AttachToIndexCommandOutput extends AttachToIndexResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Attaches the specified object to the specified index.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudDirectoryClient, AttachToIndexCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
30
|
-
* // const { CloudDirectoryClient, AttachToIndexCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
31
|
-
* const client = new CloudDirectoryClient(config);
|
|
32
|
-
* const command = new AttachToIndexCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AttachToIndexCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AttachToIndexCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AttachToIndexCommand extends $Command<
|
|
42
|
-
AttachToIndexCommandInput,
|
|
43
|
-
AttachToIndexCommandOutput,
|
|
44
|
-
CloudDirectoryClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AttachToIndexCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<AttachToIndexCommandInput, AttachToIndexCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CloudDirectoryClient";
|
|
69
|
-
const commandName = "AttachToIndexCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AttachToIndexRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AttachToIndexResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: AttachToIndexCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1AttachToIndexCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AttachToIndexCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1AttachToIndexCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { AttachTypedLinkRequest, AttachTypedLinkResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1AttachTypedLinkCommand,
|
|
18
|
-
serializeAws_restJson1AttachTypedLinkCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface AttachTypedLinkCommandInput extends AttachTypedLinkRequest {}
|
|
22
|
-
export interface AttachTypedLinkCommandOutput extends AttachTypedLinkResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Attaches a typed link to a specified source and target object. For more information, see <a href="https://docs.aws.amazon.com/clouddirectory/latest/developerguide/directory_objects_links.html#directory_objects_links_typedlink">Typed Links</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudDirectoryClient, AttachTypedLinkCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
30
|
-
* // const { CloudDirectoryClient, AttachTypedLinkCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
31
|
-
* const client = new CloudDirectoryClient(config);
|
|
32
|
-
* const command = new AttachTypedLinkCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AttachTypedLinkCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AttachTypedLinkCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AttachTypedLinkCommand extends $Command<
|
|
42
|
-
AttachTypedLinkCommandInput,
|
|
43
|
-
AttachTypedLinkCommandOutput,
|
|
44
|
-
CloudDirectoryClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AttachTypedLinkCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<AttachTypedLinkCommandInput, AttachTypedLinkCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CloudDirectoryClient";
|
|
69
|
-
const commandName = "AttachTypedLinkCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AttachTypedLinkRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AttachTypedLinkResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: AttachTypedLinkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1AttachTypedLinkCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AttachTypedLinkCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1AttachTypedLinkCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { BatchReadRequest, BatchReadResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1BatchReadCommand,
|
|
18
|
-
serializeAws_restJson1BatchReadCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface BatchReadCommandInput extends BatchReadRequest {}
|
|
22
|
-
export interface BatchReadCommandOutput extends BatchReadResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Performs all the read operations in a batch. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CloudDirectoryClient, BatchReadCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
30
|
-
* // const { CloudDirectoryClient, BatchReadCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
31
|
-
* const client = new CloudDirectoryClient(config);
|
|
32
|
-
* const command = new BatchReadCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link BatchReadCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link BatchReadCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class BatchReadCommand extends $Command<
|
|
42
|
-
BatchReadCommandInput,
|
|
43
|
-
BatchReadCommandOutput,
|
|
44
|
-
CloudDirectoryClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: BatchReadCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<BatchReadCommandInput, BatchReadCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CloudDirectoryClient";
|
|
69
|
-
const commandName = "BatchReadCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: BatchReadRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: BatchReadResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: BatchReadCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1BatchReadCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchReadCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1BatchReadCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { CloudDirectoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudDirectoryClient";
|
|
15
|
-
import { BatchWriteRequest, BatchWriteResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1BatchWriteCommand,
|
|
18
|
-
serializeAws_restJson1BatchWriteCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface BatchWriteCommandInput extends BatchWriteRequest {}
|
|
22
|
-
export interface BatchWriteCommandOutput extends BatchWriteResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Performs all the write operations in a batch. Either all the operations succeed or
|
|
26
|
-
* none.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CloudDirectoryClient, BatchWriteCommand } from "@aws-sdk/client-clouddirectory"; // ES Modules import
|
|
31
|
-
* // const { CloudDirectoryClient, BatchWriteCommand } = require("@aws-sdk/client-clouddirectory"); // CommonJS import
|
|
32
|
-
* const client = new CloudDirectoryClient(config);
|
|
33
|
-
* const command = new BatchWriteCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link BatchWriteCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link BatchWriteCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CloudDirectoryClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class BatchWriteCommand extends $Command<
|
|
43
|
-
BatchWriteCommandInput,
|
|
44
|
-
BatchWriteCommandOutput,
|
|
45
|
-
CloudDirectoryClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: BatchWriteCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CloudDirectoryClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<BatchWriteCommandInput, BatchWriteCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CloudDirectoryClient";
|
|
70
|
-
const commandName = "BatchWriteCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: BatchWriteRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: BatchWriteResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: BatchWriteCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1BatchWriteCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<BatchWriteCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1BatchWriteCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|