[−][src]Struct rusoto_appsync::CreateResolverRequest
Fields
api_id: String
The ID for the GraphQL API for which the resolver is being created.
caching_config: Option<CachingConfig>
The caching configuration for the resolver.
data_source_name: Option<String>
The name of the data source for which the resolver is being created.
field_name: String
The name of the field to attach the resolver to.
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: String
The mapping template to be used for requests.
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).
response_mapping_template: Option<String>
The mapping template to be used for responses from the data source.
sync_config: Option<SyncConfig>
The SyncConfig
for a resolver attached to a versioned datasource.
type_name: String
The name of the Type
.
Trait Implementations
impl Clone for CreateResolverRequest
[src]
pub fn clone(&self) -> CreateResolverRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateResolverRequest
[src]
impl Default for CreateResolverRequest
[src]
pub fn default() -> CreateResolverRequest
[src]
impl PartialEq<CreateResolverRequest> for CreateResolverRequest
[src]
pub fn eq(&self, other: &CreateResolverRequest) -> bool
[src]
pub fn ne(&self, other: &CreateResolverRequest) -> bool
[src]
impl Serialize for CreateResolverRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreateResolverRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateResolverRequest
[src]
impl Send for CreateResolverRequest
[src]
impl Sync for CreateResolverRequest
[src]
impl Unpin for CreateResolverRequest
[src]
impl UnwindSafe for CreateResolverRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,