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§
Source§impl<'de> Deserialize<'de> for Resolver
impl<'de> Deserialize<'de> for Resolver
Source§fn 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 Freeze for Resolver
impl RefUnwindSafe for Resolver
impl Send for Resolver
impl Sync for Resolver
impl Unpin for Resolver
impl UnwindSafe for Resolver
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more