[][src]Struct rusoto_schemas::SchemasClient

pub struct SchemasClient { /* fields omitted */ }

A client for the Schemas API.

Implementations

impl SchemasClient[src]

pub fn new(region: Region) -> SchemasClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> SchemasClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> SchemasClient[src]

Trait Implementations

impl Clone for SchemasClient[src]

impl Schemas for SchemasClient[src]

pub fn create_discoverer<'life0, 'async_trait>(
    &'life0 self,
    input: CreateDiscovererRequest
) -> Pin<Box<dyn Future<Output = Result<CreateDiscovererResponse, RusotoError<CreateDiscovererError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a discoverer.

pub fn create_registry<'life0, 'async_trait>(
    &'life0 self,
    input: CreateRegistryRequest
) -> Pin<Box<dyn Future<Output = Result<CreateRegistryResponse, RusotoError<CreateRegistryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a registry.

pub fn create_schema<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSchemaResponse, RusotoError<CreateSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a schema definition.

Inactive schemas will be deleted after two years.

pub fn delete_discoverer<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteDiscovererRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteDiscovererError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a discoverer.

pub fn delete_registry<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteRegistryRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteRegistryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a Registry.

pub fn delete_resource_policy<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteResourcePolicyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteResourcePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn delete_schema<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Delete a schema definition.

pub fn delete_schema_version<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSchemaVersionRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteSchemaVersionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Delete the schema version definition

pub fn describe_code_binding<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeCodeBindingRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeCodeBindingResponse, RusotoError<DescribeCodeBindingError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describe the code binding URI.

pub fn describe_discoverer<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeDiscovererRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDiscovererResponse, RusotoError<DescribeDiscovererError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the discoverer.

pub fn describe_registry<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeRegistryRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeRegistryResponse, RusotoError<DescribeRegistryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the registry.

pub fn describe_schema<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSchemaResponse, RusotoError<DescribeSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieve the schema definition.

pub fn get_code_binding_source<'life0, 'async_trait>(
    &'life0 self,
    input: GetCodeBindingSourceRequest
) -> Pin<Box<dyn Future<Output = Result<GetCodeBindingSourceResponse, RusotoError<GetCodeBindingSourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Get the code binding source URI.

pub fn get_discovered_schema<'life0, 'async_trait>(
    &'life0 self,
    input: GetDiscoveredSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<GetDiscoveredSchemaResponse, RusotoError<GetDiscoveredSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn get_resource_policy<'life0, 'async_trait>(
    &'life0 self,
    input: GetResourcePolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetResourcePolicyResponse, RusotoError<GetResourcePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

pub fn list_discoverers<'life0, 'async_trait>(
    &'life0 self,
    input: ListDiscoverersRequest
) -> Pin<Box<dyn Future<Output = Result<ListDiscoverersResponse, RusotoError<ListDiscoverersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List the discoverers.

pub fn list_registries<'life0, 'async_trait>(
    &'life0 self,
    input: ListRegistriesRequest
) -> Pin<Box<dyn Future<Output = Result<ListRegistriesResponse, RusotoError<ListRegistriesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List the registries.

pub fn list_schema_versions<'life0, 'async_trait>(
    &'life0 self,
    input: ListSchemaVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSchemaVersionsResponse, RusotoError<ListSchemaVersionsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Provides a list of the schema versions and related information.

pub fn list_schemas<'life0, 'async_trait>(
    &'life0 self,
    input: ListSchemasRequest
) -> Pin<Box<dyn Future<Output = Result<ListSchemasResponse, RusotoError<ListSchemasError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

List the schemas.

pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Get tags for resource.

pub fn put_code_binding<'life0, 'async_trait>(
    &'life0 self,
    input: PutCodeBindingRequest
) -> Pin<Box<dyn Future<Output = Result<PutCodeBindingResponse, RusotoError<PutCodeBindingError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Put code binding URI

pub fn put_resource_policy<'life0, 'async_trait>(
    &'life0 self,
    input: PutResourcePolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutResourcePolicyResponse, RusotoError<PutResourcePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

The name of the policy.

pub fn search_schemas<'life0, 'async_trait>(
    &'life0 self,
    input: SearchSchemasRequest
) -> Pin<Box<dyn Future<Output = Result<SearchSchemasResponse, RusotoError<SearchSchemasError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Search the schemas

pub fn start_discoverer<'life0, 'async_trait>(
    &'life0 self,
    input: StartDiscovererRequest
) -> Pin<Box<dyn Future<Output = Result<StartDiscovererResponse, RusotoError<StartDiscovererError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Starts the discoverer

pub fn stop_discoverer<'life0, 'async_trait>(
    &'life0 self,
    input: StopDiscovererRequest
) -> Pin<Box<dyn Future<Output = Result<StopDiscovererResponse, RusotoError<StopDiscovererError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Stops the discoverer

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Add tags to a resource.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes tags from a resource.

pub fn update_discoverer<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateDiscovererRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDiscovererResponse, RusotoError<UpdateDiscovererError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the discoverer

pub fn update_registry<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateRegistryRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateRegistryResponse, RusotoError<UpdateRegistryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a registry.

pub fn update_schema<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSchemaResponse, RusotoError<UpdateSchemaError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the schema definition

Inactive schemas will be deleted after two years.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.