Struct rusoto_schemas::SchemasClient
source · [−]pub struct SchemasClient { /* private fields */ }
Expand description
A client for the Schemas API.
Implementations
sourceimpl SchemasClient
impl SchemasClient
sourcepub fn new(region: Region) -> SchemasClient
pub fn new(region: Region) -> SchemasClient
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,
pub fn new_with_client(client: Client, region: Region) -> SchemasClient
Trait Implementations
sourceimpl Clone for SchemasClient
impl Clone for SchemasClient
sourcefn clone(&self) -> SchemasClient
fn clone(&self) -> SchemasClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Schemas for SchemasClient
impl Schemas for SchemasClient
sourcefn 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,
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,
Creates a discoverer.
sourcefn 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,
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,
Creates a registry.
sourcefn 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,
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,
Creates a schema definition.
Inactive schemas will be deleted after two years.
sourcefn 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,
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,
Deletes a discoverer.
sourcefn 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,
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,
Deletes a Registry.
sourcefn 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,
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,
Delete the resource-based policy attached to the specified registry.
sourcefn 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,
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,
Delete a schema definition.
sourcefn 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,
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,
Delete the schema version definition
sourcefn 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,
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,
Describe the code binding URI.
sourcefn 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,
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,
Describes the discoverer.
sourcefn 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,
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,
Describes the registry.
sourcefn 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,
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,
Retrieve the schema definition.
sourcefn 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,
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,
Get the code binding source URI.
sourcefn 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,
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,
Get the discovered schema that was generated based on sampled events.
sourcefn 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,
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,
Retrieves the resource-based policy attached to a given registry.
sourcefn 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,
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,
List the discoverers.
sourcefn 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,
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,
List the registries.
sourcefn 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,
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,
Provides a list of the schema versions and related information.
sourcefn 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,
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,
List the schemas.
Get tags for resource.
sourcefn 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,
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,
Put code binding URI
sourcefn 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,
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,
The name of the policy.
sourcefn 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,
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,
Search the schemas
sourcefn 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,
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,
Starts the discoverer
sourcefn 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,
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,
Stops the discoverer
sourcefn 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,
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,
Add tags to a resource.
sourcefn 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,
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,
Removes tags from a resource.
sourcefn 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,
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,
Updates the discoverer
sourcefn 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,
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,
Updates a registry.
sourcefn 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,
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,
Updates the schema definition
Inactive schemas will be deleted after two years.
fn export_schema<'life0, 'async_trait>(
&'life0 self,
input: ExportSchemaRequest
) -> Pin<Box<dyn Future<Output = Result<ExportSchemaResponse, RusotoError<ExportSchemaError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for SchemasClient
impl Send for SchemasClient
impl Sync for SchemasClient
impl Unpin for SchemasClient
impl !UnwindSafe for SchemasClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more