[][src]Struct rusoto_appsync::CreateResolverRequest

pub struct CreateResolverRequest {
    pub api_id: String,
    pub data_source_name: Option<String>,
    pub field_name: String,
    pub kind: Option<String>,
    pub pipeline_config: Option<PipelineConfig>,
    pub request_mapping_template: String,
    pub response_mapping_template: Option<String>,
    pub type_name: String,
}

Fields

api_id: String

The ID for the GraphQL API for which the resolver is being created.

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.

type_name: String

The name of the Type.

Trait Implementations

impl PartialEq<CreateResolverRequest> for CreateResolverRequest[src]

impl Default for CreateResolverRequest[src]

impl Clone for CreateResolverRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CreateResolverRequest[src]

impl Serialize for CreateResolverRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self