Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Schemas

import { Schemas } from "https://aws-api.deno.dev/v0.3/services/schemas.ts?docs=full";
class Schemas {
constructor(apiFactory: client.ApiFactory);
async createDiscoverer(params: CreateDiscovererRequest, opts?: client.RequestOptions): Promise<CreateDiscovererResponse>;
async createRegistry(params: CreateRegistryRequest, opts?: client.RequestOptions): Promise<CreateRegistryResponse>;
async createSchema(params: CreateSchemaRequest, opts?: client.RequestOptions): Promise<CreateSchemaResponse>;
async deleteDiscoverer(params: DeleteDiscovererRequest, opts?: client.RequestOptions): Promise<void>;
async deleteRegistry(params: DeleteRegistryRequest, opts?: client.RequestOptions): Promise<void>;
async deleteResourcePolicy(params?: DeleteResourcePolicyRequest, opts?: client.RequestOptions): Promise<void>;
async deleteSchema(params: DeleteSchemaRequest, opts?: client.RequestOptions): Promise<void>;
async deleteSchemaVersion(params: DeleteSchemaVersionRequest, opts?: client.RequestOptions): Promise<void>;
async describeCodeBinding(params: DescribeCodeBindingRequest, opts?: client.RequestOptions): Promise<DescribeCodeBindingResponse>;
async describeDiscoverer(params: DescribeDiscovererRequest, opts?: client.RequestOptions): Promise<DescribeDiscovererResponse>;
async describeRegistry(params: DescribeRegistryRequest, opts?: client.RequestOptions): Promise<DescribeRegistryResponse>;
async describeSchema(params: DescribeSchemaRequest, opts?: client.RequestOptions): Promise<DescribeSchemaResponse>;
async exportSchema(params: ExportSchemaRequest, opts?: client.RequestOptions): Promise<ExportSchemaResponse>;
async getCodeBindingSource(params: GetCodeBindingSourceRequest, opts?: client.RequestOptions): Promise<GetCodeBindingSourceResponse>;
async getDiscoveredSchema(params: GetDiscoveredSchemaRequest, opts?: client.RequestOptions): Promise<GetDiscoveredSchemaResponse>;
async getResourcePolicy(params?: GetResourcePolicyRequest, opts?: client.RequestOptions): Promise<GetResourcePolicyResponse>;
async listDiscoverers(params?: ListDiscoverersRequest, opts?: client.RequestOptions): Promise<ListDiscoverersResponse>;
async listRegistries(params?: ListRegistriesRequest, opts?: client.RequestOptions): Promise<ListRegistriesResponse>;
async listSchemas(params: ListSchemasRequest, opts?: client.RequestOptions): Promise<ListSchemasResponse>;
async listSchemaVersions(params: ListSchemaVersionsRequest, opts?: client.RequestOptions): Promise<ListSchemaVersionsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async putCodeBinding(params: PutCodeBindingRequest, opts?: client.RequestOptions): Promise<PutCodeBindingResponse>;
async putResourcePolicy(params: PutResourcePolicyRequest, opts?: client.RequestOptions): Promise<PutResourcePolicyResponse>;
async searchSchemas(params: SearchSchemasRequest, opts?: client.RequestOptions): Promise<SearchSchemasResponse>;
async startDiscoverer(params: StartDiscovererRequest, opts?: client.RequestOptions): Promise<StartDiscovererResponse>;
async stopDiscoverer(params: StopDiscovererRequest, opts?: client.RequestOptions): Promise<StopDiscovererResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateDiscoverer(params: UpdateDiscovererRequest, opts?: client.RequestOptions): Promise<UpdateDiscovererResponse>;
async updateRegistry(params: UpdateRegistryRequest, opts?: client.RequestOptions): Promise<UpdateRegistryResponse>;
async updateSchema(params: UpdateSchemaRequest, opts?: client.RequestOptions): Promise<UpdateSchemaResponse>;
async waitForCodeBindingExists(params: DescribeCodeBindingRequest, opts?: client.RequestOptions): Promise<DescribeCodeBindingResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new Schemas(apiFactory: client.ApiFactory)
[src]

§Methods

§

Creates a discoverer.

§

Creates a registry.

§

Creates a schema definition.

Note: Inactive schemas will be deleted after two years.

§
deleteDiscoverer(params: DeleteDiscovererRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a discoverer.

§
deleteRegistry(params: DeleteRegistryRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a Registry.

§
deleteResourcePolicy(params?: DeleteResourcePolicyRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete the resource-based policy attached to the specified registry.

§
deleteSchema(params: DeleteSchemaRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete a schema definition.

§
deleteSchemaVersion(params: DeleteSchemaVersionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Delete the schema version definition

§

Describe the code binding URI.

§

Describes the discoverer.

§

Describes the registry.

§

Retrieve the schema definition.

§

Get the code binding source URI.

§

Get the discovered schema that was generated based on sampled events.

§

Retrieves the resource-based policy attached to a given registry.

§

List the discoverers.

§

List the registries.

§

List the schemas.

§

Provides a list of the schema versions and related information.

§

Get tags for resource.

§

Put code binding URI

§

The name of the policy.

§

Search the schemas

§

Starts the discoverer

§

Stops the discoverer

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Add tags to a resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes tags from a resource.

§

Updates the discoverer

§

Updates a registry.

§

Updates the schema definition

Note: Inactive schemas will be deleted after two years.

§
waitForCodeBindingExists(params: DescribeCodeBindingRequest, opts?: client.RequestOptions): Promise<DescribeCodeBindingResponse>
[src]

Wait until code binding is generated Checks state up to 30 times, 2 seconds apart (about 1 minutes max wait time).

§Static Properties