Struct rusoto_appsync::UpdateResolverRequest
source · [−]pub struct UpdateResolverRequest {
pub api_id: String,
pub caching_config: Option<CachingConfig>,
pub data_source_name: Option<String>,
pub field_name: String,
pub kind: Option<String>,
pub pipeline_config: Option<PipelineConfig>,
pub request_mapping_template: Option<String>,
pub response_mapping_template: Option<String>,
pub sync_config: Option<SyncConfig>,
pub type_name: String,
}
Fields
api_id: String
The API ID.
caching_config: Option<CachingConfig>
The caching configuration for the resolver.
data_source_name: Option<String>
The new data source name.
field_name: String
The new 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 new request mapping template.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using a Lambda data source. For all other data sources, VTL request and response mapping templates are required.
response_mapping_template: Option<String>
The new response mapping template.
sync_config: Option<SyncConfig>
The SyncConfig
for a resolver attached to a versioned datasource.
type_name: String
The new type name.
Trait Implementations
sourceimpl Clone for UpdateResolverRequest
impl Clone for UpdateResolverRequest
sourcefn clone(&self) -> UpdateResolverRequest
fn clone(&self) -> UpdateResolverRequest
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 Debug for UpdateResolverRequest
impl Debug for UpdateResolverRequest
sourceimpl Default for UpdateResolverRequest
impl Default for UpdateResolverRequest
sourcefn default() -> UpdateResolverRequest
fn default() -> UpdateResolverRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateResolverRequest> for UpdateResolverRequest
impl PartialEq<UpdateResolverRequest> for UpdateResolverRequest
sourcefn eq(&self, other: &UpdateResolverRequest) -> bool
fn eq(&self, other: &UpdateResolverRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateResolverRequest) -> bool
fn ne(&self, other: &UpdateResolverRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for UpdateResolverRequest
impl Serialize for UpdateResolverRequest
impl StructuralPartialEq for UpdateResolverRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateResolverRequest
impl Send for UpdateResolverRequest
impl Sync for UpdateResolverRequest
impl Unpin for UpdateResolverRequest
impl UnwindSafe for UpdateResolverRequest
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