Struct rusoto_appsync::Resolver
source · [−]pub struct Resolver {
pub caching_config: Option<CachingConfig>,
pub data_source_name: Option<String>,
pub field_name: Option<String>,
pub kind: Option<String>,
pub pipeline_config: Option<PipelineConfig>,
pub request_mapping_template: Option<String>,
pub resolver_arn: Option<String>,
pub response_mapping_template: Option<String>,
pub sync_config: Option<SyncConfig>,
pub type_name: Option<String>,
}
Expand description
Describes a resolver.
Fields
caching_config: Option<CachingConfig>
The caching configuration for the resolver.
data_source_name: Option<String>
The resolver data source name.
field_name: Option<String>
The resolver field name.
kind: Option<String>
The resolver type.
-
UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. A UNIT resolver enables you to execute a GraphQL query against a single data source.
-
PIPELINE: A PIPELINE resolver type. A PIPELINE resolver enables you to execute a series of
Function
in a serial manner. You can use a pipeline resolver to execute a GraphQL query against multiple data sources.
pipeline_config: Option<PipelineConfig>
The PipelineConfig
.
request_mapping_template: Option<String>
The request mapping template.
resolver_arn: Option<String>
The resolver ARN.
response_mapping_template: Option<String>
The response mapping template.
sync_config: Option<SyncConfig>
The SyncConfig
for a resolver attached to a versioned datasource.
type_name: Option<String>
The resolver type name.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Resolver
impl<'de> Deserialize<'de> for Resolver
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Resolver
Auto Trait Implementations
impl RefUnwindSafe for Resolver
impl Send for Resolver
impl Sync for Resolver
impl Unpin for Resolver
impl UnwindSafe for Resolver
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