-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon AppSync SDK. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- Lenses are used for constructing and manipulating types, due to the -- depth of nesting of AWS types and transparency regarding -- de/serialisation into more palatable Haskell values. The provided -- lenses should be compatible with any of the major lens libraries such -- as lens or lens-family-core. -- -- See Network.AWS.AppSync or the AWS documentation to get -- started. @package amazonka-appsync @version 1.6.0 module Network.AWS.AppSync.Types -- | API version 2017-07-25 of the Amazon AppSync SDK -- configuration. appSync :: Service -- | The API key expiration must be set to a value between 1 and 365 days -- from creation (for CreateApiKey ) or from update (for -- UpdateApiKey ). _APIKeyValidityOutOfBoundsException :: AsError a => Getting (First ServiceError) a ServiceError -- | The API key exceeded a limit. Try your request again. _APIKeyLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError -- | The GraphQL API exceeded a limit. Try your request again. _APILimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError -- | The resource specified in the request was not found. Check the -- resource and try again. _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError -- | The GraphQL schema is not valid. _GraphQLSchemaException :: AsError a => Getting (First ServiceError) a ServiceError -- | Another modification is being made. That modification must complete -- before you can make your change. _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError -- | An internal AWS AppSync error occurred. Try your request again. _InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError -- | You are not authorized to perform this operation. _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request is not well formed. For example, a value is invalid or a -- required field is missing. Check the field values, and try again. _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request exceeded a limit. Try your request again. _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError data AuthenticationType APIKey :: AuthenticationType AWSIAM :: AuthenticationType AmazonCognitoUserPools :: AuthenticationType OpenidConnect :: AuthenticationType data DataSourceType AWSLambda :: DataSourceType AmazonDynamodb :: DataSourceType AmazonElasticsearch :: DataSourceType None :: DataSourceType data DefaultAction Allow :: DefaultAction Deny :: DefaultAction data FieldLogLevel FLLAll :: FieldLogLevel FLLError' :: FieldLogLevel FLLNone :: FieldLogLevel data OutputType OTJSON :: OutputType OTSdl :: OutputType data SchemaStatus Active :: SchemaStatus Deleting :: SchemaStatus Processing :: SchemaStatus data TypeDefinitionFormat JSON :: TypeDefinitionFormat Sdl :: TypeDefinitionFormat -- | Describes an API key. -- -- Customers invoke AWS AppSync GraphQL APIs with API keys as an identity -- mechanism. There are two key versions: -- -- da1 : This version was introduced at launch in November 2017. -- These keys always expire after 7 days. Key expiration is managed by -- DynamoDB TTL. The keys will cease to be valid after Feb 21, 2018 and -- should not be used after that date. -- -- -- -- da2 : This version was introduced in February 2018 when AppSync -- added support to extend key expiration. -- -- -- -- See: apiKey smart constructor. data APIKey -- | Creates a value of APIKey with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- apiKey :: APIKey -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. akExpires :: Lens' APIKey (Maybe Integer) -- | The API key ID. akId :: Lens' APIKey (Maybe Text) -- | A description of the purpose of the API key. akDescription :: Lens' APIKey (Maybe Text) -- | Describes a data source. -- -- See: dataSource smart constructor. data DataSource -- | Creates a value of DataSource with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- dataSource :: DataSource -- | The IAM service role ARN for the data source. The system assumes this -- role when accessing the data source. dsServiceRoleARN :: Lens' DataSource (Maybe Text) -- | The data source ARN. dsDataSourceARN :: Lens' DataSource (Maybe Text) -- | DynamoDB settings. dsDynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) -- | The name of the data source. dsName :: Lens' DataSource (Maybe Text) -- | Lambda settings. dsLambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) -- | The type of the data source. * AMAZON_DYNAMODB : The data -- source is an Amazon DynamoDB table. * AMAZON_ELASTICSEARCH : -- The data source is an Amazon Elasticsearch Service domain. * -- AWS_LAMBDA : The data source is an AWS Lambda function. * -- NONE : There is no data source. This type is used when when you -- wish to invoke a GraphQL operation without connecting to a data -- source, such as performing data transformation with resolvers or -- triggering a subscription to be invoked from a mutation. dsType :: Lens' DataSource (Maybe DataSourceType) -- | The description of the data source. dsDescription :: Lens' DataSource (Maybe Text) -- | Amazon Elasticsearch settings. dsElasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) -- | Describes a DynamoDB data source configuration. -- -- See: dynamodbDataSourceConfig smart constructor. data DynamodbDataSourceConfig -- | Creates a value of DynamodbDataSourceConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- dynamodbDataSourceConfig :: Text -> Text -> DynamodbDataSourceConfig -- | Set to TRUE to use Amazon Cognito credentials with this data source. ddscUseCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | The table name. ddscTableName :: Lens' DynamodbDataSourceConfig Text -- | The AWS region. ddscAwsRegion :: Lens' DynamodbDataSourceConfig Text -- | Describes an Elasticsearch data source configuration. -- -- See: elasticsearchDataSourceConfig smart constructor. data ElasticsearchDataSourceConfig -- | Creates a value of ElasticsearchDataSourceConfig with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- elasticsearchDataSourceConfig :: Text -> Text -> ElasticsearchDataSourceConfig -- | The endpoint. edscEndpoint :: Lens' ElasticsearchDataSourceConfig Text -- | The AWS region. edscAwsRegion :: Lens' ElasticsearchDataSourceConfig Text -- | Describes a GraphQL API. -- -- See: graphqlAPI smart constructor. data GraphqlAPI -- | Creates a value of GraphqlAPI with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- graphqlAPI :: GraphqlAPI -- | The ARN. gaArn :: Lens' GraphqlAPI (Maybe Text) -- | The API ID. gaApiId :: Lens' GraphqlAPI (Maybe Text) -- | The URIs. gaUris :: Lens' GraphqlAPI (HashMap Text Text) -- | The Open Id Connect configuration. gaOpenIdConnectConfig :: Lens' GraphqlAPI (Maybe OpenIdConnectConfig) -- | The API name. gaName :: Lens' GraphqlAPI (Maybe Text) -- | The Amazon Cognito User Pool configuration. gaUserPoolConfig :: Lens' GraphqlAPI (Maybe UserPoolConfig) -- | The authentication type. gaAuthenticationType :: Lens' GraphqlAPI (Maybe AuthenticationType) -- | The Amazon CloudWatch Logs configuration. gaLogConfig :: Lens' GraphqlAPI (Maybe LogConfig) -- | Describes a Lambda data source configuration. -- -- See: lambdaDataSourceConfig smart constructor. data LambdaDataSourceConfig -- | Creates a value of LambdaDataSourceConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- lambdaDataSourceConfig :: Text -> LambdaDataSourceConfig -- | The ARN for the Lambda function. ldscLambdaFunctionARN :: Lens' LambdaDataSourceConfig Text -- | The CloudWatch Logs configuration. -- -- See: logConfig smart constructor. data LogConfig -- | Creates a value of LogConfig with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- logConfig :: FieldLogLevel -> Text -> LogConfig -- | The field logging level. Values can be NONE, ERROR, ALL. * NONE -- : No field-level logs are captured. * ERROR : Logs the -- following information only for the fields that are in error: * The -- error section in the server response. * Field-level errors. * The -- generated requestresponse functions that got resolved for error -- fields. * ALL : The following information is logged for all -- fields in the query: * Field-level tracing information. * The -- generated requestresponse functions that got resolved for each -- field. lcFieldLogLevel :: Lens' LogConfig FieldLogLevel -- | The service role that AWS AppSync will assume to publish to Amazon -- CloudWatch logs in your account. lcCloudWatchLogsRoleARN :: Lens' LogConfig Text -- | Describes an Open Id Connect configuration. -- -- See: openIdConnectConfig smart constructor. data OpenIdConnectConfig -- | Creates a value of OpenIdConnectConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- openIdConnectConfig :: Text -> OpenIdConnectConfig -- | The number of milliseconds a token is valid after being authenticated. oiccAuthTTL :: Lens' OpenIdConnectConfig (Maybe Integer) -- | The client identifier of the Relying party at the OpenID Provider. -- This identifier is typically obtained when the Relying party is -- registered with the OpenID Provider. You can specify a regular -- expression so the AWS AppSync can validate against multiple client -- identifiers at a time oiccClientId :: Lens' OpenIdConnectConfig (Maybe Text) -- | The number of milliseconds a token is valid after being issued to a -- user. oiccIatTTL :: Lens' OpenIdConnectConfig (Maybe Integer) -- | The issuer for the open id connect configuration. The issuer returned -- by discovery MUST exactly match the value of iss in the ID Token. oiccIssuer :: Lens' OpenIdConnectConfig Text -- | Describes a resolver. -- -- See: resolver smart constructor. data Resolver -- | Creates a value of Resolver with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- resolver :: Resolver -- | The resolver type name. rTypeName :: Lens' Resolver (Maybe Text) -- | The resolver data source name. rDataSourceName :: Lens' Resolver (Maybe Text) -- | The request mapping template. rRequestMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver ARN. rResolverARN :: Lens' Resolver (Maybe Text) -- | The response mapping template. rResponseMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver field name. rFieldName :: Lens' Resolver (Maybe Text) -- | Describes a type. -- -- See: type' smart constructor. data Type -- | Creates a value of Type with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- type' :: Type -- | The type ARN. tArn :: Lens' Type (Maybe Text) -- | The type definition. tDefinition :: Lens' Type (Maybe Text) -- | The type format: SDL or JSON. tFormat :: Lens' Type (Maybe TypeDefinitionFormat) -- | The type name. tName :: Lens' Type (Maybe Text) -- | The type description. tDescription :: Lens' Type (Maybe Text) -- | Describes an Amazon Cognito User Pool configuration. -- -- See: userPoolConfig smart constructor. data UserPoolConfig -- | Creates a value of UserPoolConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- userPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig -- | A regular expression for validating the incoming Amazon Cognito User -- Pool app client ID. upcAppIdClientRegex :: Lens' UserPoolConfig (Maybe Text) -- | The user pool ID. upcUserPoolId :: Lens' UserPoolConfig Text -- | The AWS region in which the user pool was created. upcAwsRegion :: Lens' UserPoolConfig Text -- | The action that you want your GraphQL API to take when a request that -- uses Amazon Cognito User Pool authentication doesn't match the Amazon -- Cognito User Pool configuration. upcDefaultAction :: Lens' UserPoolConfig DefaultAction -- | Adds a new schema to your GraphQL API. -- -- This operation is asynchronous. Use to determine when it has -- completed. module Network.AWS.AppSync.StartSchemaCreation -- | Creates a value of StartSchemaCreation with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- startSchemaCreation :: Text -> ByteString -> StartSchemaCreation -- | See: startSchemaCreation smart constructor. data StartSchemaCreation -- | The API ID. sscApiId :: Lens' StartSchemaCreation Text -- | The schema definition, in GraphQL schema language format.-- -- Note: This Lens automatically encodes and decodes -- Base64 data. The underlying isomorphism will encode to Base64 -- representation during serialisation, and decode from Base64 -- representation during deserialisation. This Lens accepts and -- returns only raw unencoded data. sscDefinition :: Lens' StartSchemaCreation ByteString -- | Creates a value of StartSchemaCreationResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- startSchemaCreationResponse :: Int -> StartSchemaCreationResponse -- | See: startSchemaCreationResponse smart constructor. data StartSchemaCreationResponse -- | The current state of the schema (PROCESSING, ACTIVE, or DELETING). -- Once the schema is in the ACTIVE state, you can add data. sscrsStatus :: Lens' StartSchemaCreationResponse (Maybe SchemaStatus) -- | sscrsResponseStatus :: Lens' StartSchemaCreationResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance Data.Data.Data Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Show.Show Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Read.Read Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Classes.Eq Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance GHC.Generics.Generic Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Data.Data.Data Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Show.Show Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Read.Read Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance GHC.Classes.Eq Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Control.DeepSeq.NFData Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreationResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Control.DeepSeq.NFData Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.StartSchemaCreation.StartSchemaCreation -- | Lists the types for a given API. module Network.AWS.AppSync.ListTypes -- | Creates a value of ListTypes with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listTypes :: Text -> TypeDefinitionFormat -> ListTypes -- | See: listTypes smart constructor. data ListTypes -- | An identifier that was returned from the previous call to this -- operation, which can be used to return the next set of items in the -- list. ltNextToken :: Lens' ListTypes (Maybe Text) -- | The maximum number of results you want the request to return. ltMaxResults :: Lens' ListTypes (Maybe Natural) -- | The API ID. ltApiId :: Lens' ListTypes Text -- | The type format: SDL or JSON. ltFormat :: Lens' ListTypes TypeDefinitionFormat -- | Creates a value of ListTypesResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listTypesResponse :: Int -> ListTypesResponse -- | See: listTypesResponse smart constructor. data ListTypesResponse -- | The Type objects. ltrsTypes :: Lens' ListTypesResponse [Type] -- | An identifier to be passed in the next request to this operation to -- return the next set of items in the list. ltrsNextToken :: Lens' ListTypesResponse (Maybe Text) -- | ltrsResponseStatus :: Lens' ListTypesResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.ListTypes.ListTypesResponse instance Data.Data.Data Network.AWS.AppSync.ListTypes.ListTypesResponse instance GHC.Show.Show Network.AWS.AppSync.ListTypes.ListTypesResponse instance GHC.Read.Read Network.AWS.AppSync.ListTypes.ListTypesResponse instance GHC.Classes.Eq Network.AWS.AppSync.ListTypes.ListTypesResponse instance GHC.Generics.Generic Network.AWS.AppSync.ListTypes.ListTypes instance Data.Data.Data Network.AWS.AppSync.ListTypes.ListTypes instance GHC.Show.Show Network.AWS.AppSync.ListTypes.ListTypes instance GHC.Read.Read Network.AWS.AppSync.ListTypes.ListTypes instance GHC.Classes.Eq Network.AWS.AppSync.ListTypes.ListTypes instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.ListTypes.ListTypes instance Control.DeepSeq.NFData Network.AWS.AppSync.ListTypes.ListTypesResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.ListTypes.ListTypes instance Control.DeepSeq.NFData Network.AWS.AppSync.ListTypes.ListTypes instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.ListTypes.ListTypes instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.ListTypes.ListTypes instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.ListTypes.ListTypes -- | Lists the resolvers for a given API and type. module Network.AWS.AppSync.ListResolvers -- | Creates a value of ListResolvers with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listResolvers :: Text -> Text -> ListResolvers -- | See: listResolvers smart constructor. data ListResolvers -- | An identifier that was returned from the previous call to this -- operation, which can be used to return the next set of items in the -- list. lrNextToken :: Lens' ListResolvers (Maybe Text) -- | The maximum number of results you want the request to return. lrMaxResults :: Lens' ListResolvers (Maybe Natural) -- | The API ID. lrApiId :: Lens' ListResolvers Text -- | The type name. lrTypeName :: Lens' ListResolvers Text -- | Creates a value of ListResolversResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listResolversResponse :: Int -> ListResolversResponse -- | See: listResolversResponse smart constructor. data ListResolversResponse -- | An identifier to be passed in the next request to this operation to -- return the next set of items in the list. lrrsNextToken :: Lens' ListResolversResponse (Maybe Text) -- | The Resolver objects. lrrsResolvers :: Lens' ListResolversResponse [Resolver] -- | lrrsResponseStatus :: Lens' ListResolversResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.ListResolvers.ListResolversResponse instance Data.Data.Data Network.AWS.AppSync.ListResolvers.ListResolversResponse instance GHC.Show.Show Network.AWS.AppSync.ListResolvers.ListResolversResponse instance GHC.Read.Read Network.AWS.AppSync.ListResolvers.ListResolversResponse instance GHC.Classes.Eq Network.AWS.AppSync.ListResolvers.ListResolversResponse instance GHC.Generics.Generic Network.AWS.AppSync.ListResolvers.ListResolvers instance Data.Data.Data Network.AWS.AppSync.ListResolvers.ListResolvers instance GHC.Show.Show Network.AWS.AppSync.ListResolvers.ListResolvers instance GHC.Read.Read Network.AWS.AppSync.ListResolvers.ListResolvers instance GHC.Classes.Eq Network.AWS.AppSync.ListResolvers.ListResolvers instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.ListResolvers.ListResolvers instance Control.DeepSeq.NFData Network.AWS.AppSync.ListResolvers.ListResolversResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.ListResolvers.ListResolvers instance Control.DeepSeq.NFData Network.AWS.AppSync.ListResolvers.ListResolvers instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.ListResolvers.ListResolvers instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.ListResolvers.ListResolvers instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.ListResolvers.ListResolvers -- | Lists your GraphQL APIs. module Network.AWS.AppSync.ListGraphqlAPIs -- | Creates a value of ListGraphqlAPIs with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listGraphqlAPIs :: ListGraphqlAPIs -- | See: listGraphqlAPIs smart constructor. data ListGraphqlAPIs -- | An identifier that was returned from the previous call to this -- operation, which can be used to return the next set of items in the -- list. lgaNextToken :: Lens' ListGraphqlAPIs (Maybe Text) -- | The maximum number of results you want the request to return. lgaMaxResults :: Lens' ListGraphqlAPIs (Maybe Natural) -- | Creates a value of ListGraphqlAPIsResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listGraphqlAPIsResponse :: Int -> ListGraphqlAPIsResponse -- | See: listGraphqlAPIsResponse smart constructor. data ListGraphqlAPIsResponse -- | An identifier to be passed in the next request to this operation to -- return the next set of items in the list. lgarsNextToken :: Lens' ListGraphqlAPIsResponse (Maybe Text) -- | The GraphqlApi objects. lgarsGraphqlAPIs :: Lens' ListGraphqlAPIsResponse [GraphqlAPI] -- | lgarsResponseStatus :: Lens' ListGraphqlAPIsResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIsResponse instance Data.Data.Data Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIsResponse instance GHC.Show.Show Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIsResponse instance GHC.Read.Read Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIsResponse instance GHC.Classes.Eq Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIsResponse instance GHC.Generics.Generic Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Data.Data.Data Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance GHC.Show.Show Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance GHC.Read.Read Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance GHC.Classes.Eq Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Control.DeepSeq.NFData Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIsResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Control.DeepSeq.NFData Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.ListGraphqlAPIs.ListGraphqlAPIs -- | Lists the data sources for a given API. module Network.AWS.AppSync.ListDataSources -- | Creates a value of ListDataSources with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listDataSources :: Text -> ListDataSources -- | See: listDataSources smart constructor. data ListDataSources -- | An identifier that was returned from the previous call to this -- operation, which can be used to return the next set of items in the -- list. ldsNextToken :: Lens' ListDataSources (Maybe Text) -- | The maximum number of results you want the request to return. ldsMaxResults :: Lens' ListDataSources (Maybe Natural) -- | The API ID. ldsApiId :: Lens' ListDataSources Text -- | Creates a value of ListDataSourcesResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listDataSourcesResponse :: Int -> ListDataSourcesResponse -- | See: listDataSourcesResponse smart constructor. data ListDataSourcesResponse -- | The DataSource objects. ldsrsDataSources :: Lens' ListDataSourcesResponse [DataSource] -- | An identifier to be passed in the next request to this operation to -- return the next set of items in the list. ldsrsNextToken :: Lens' ListDataSourcesResponse (Maybe Text) -- | ldsrsResponseStatus :: Lens' ListDataSourcesResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.ListDataSources.ListDataSourcesResponse instance Data.Data.Data Network.AWS.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Show.Show Network.AWS.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Read.Read Network.AWS.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Classes.Eq Network.AWS.AppSync.ListDataSources.ListDataSourcesResponse instance GHC.Generics.Generic Network.AWS.AppSync.ListDataSources.ListDataSources instance Data.Data.Data Network.AWS.AppSync.ListDataSources.ListDataSources instance GHC.Show.Show Network.AWS.AppSync.ListDataSources.ListDataSources instance GHC.Read.Read Network.AWS.AppSync.ListDataSources.ListDataSources instance GHC.Classes.Eq Network.AWS.AppSync.ListDataSources.ListDataSources instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.ListDataSources.ListDataSources instance Control.DeepSeq.NFData Network.AWS.AppSync.ListDataSources.ListDataSourcesResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.ListDataSources.ListDataSources instance Control.DeepSeq.NFData Network.AWS.AppSync.ListDataSources.ListDataSources instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.ListDataSources.ListDataSources instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.ListDataSources.ListDataSources instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.ListDataSources.ListDataSources -- | Lists the API keys for a given API. module Network.AWS.AppSync.ListAPIKeys -- | Creates a value of ListAPIKeys with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listAPIKeys :: Text -> ListAPIKeys -- | See: listAPIKeys smart constructor. data ListAPIKeys -- | An identifier that was returned from the previous call to this -- operation, which can be used to return the next set of items in the -- list. lakNextToken :: Lens' ListAPIKeys (Maybe Text) -- | The maximum number of results you want the request to return. lakMaxResults :: Lens' ListAPIKeys (Maybe Natural) -- | The API ID. lakApiId :: Lens' ListAPIKeys Text -- | Creates a value of ListAPIKeysResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- listAPIKeysResponse :: Int -> ListAPIKeysResponse -- | See: listAPIKeysResponse smart constructor. data ListAPIKeysResponse -- | The ApiKey objects. lakrsApiKeys :: Lens' ListAPIKeysResponse [APIKey] -- | An identifier to be passed in the next request to this operation to -- return the next set of items in the list. lakrsNextToken :: Lens' ListAPIKeysResponse (Maybe Text) -- | lakrsResponseStatus :: Lens' ListAPIKeysResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.ListAPIKeys.ListAPIKeysResponse instance Data.Data.Data Network.AWS.AppSync.ListAPIKeys.ListAPIKeysResponse instance GHC.Show.Show Network.AWS.AppSync.ListAPIKeys.ListAPIKeysResponse instance GHC.Read.Read Network.AWS.AppSync.ListAPIKeys.ListAPIKeysResponse instance GHC.Classes.Eq Network.AWS.AppSync.ListAPIKeys.ListAPIKeysResponse instance GHC.Generics.Generic Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Data.Data.Data Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance GHC.Show.Show Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance GHC.Read.Read Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance GHC.Classes.Eq Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Control.DeepSeq.NFData Network.AWS.AppSync.ListAPIKeys.ListAPIKeysResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Control.DeepSeq.NFData Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.ListAPIKeys.ListAPIKeys instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.ListAPIKeys.ListAPIKeys -- | Retrieves a Type object. module Network.AWS.AppSync.GetType -- | Creates a value of GetType with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getType :: Text -> Text -> TypeDefinitionFormat -> GetType -- | See: getType smart constructor. data GetType -- | The API ID. gtApiId :: Lens' GetType Text -- | The type name. gtTypeName :: Lens' GetType Text -- | The type format: SDL or JSON. gtFormat :: Lens' GetType TypeDefinitionFormat -- | Creates a value of GetTypeResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getTypeResponse :: Int -> GetTypeResponse -- | See: getTypeResponse smart constructor. data GetTypeResponse -- | The Type object. gtrsType :: Lens' GetTypeResponse (Maybe Type) -- | gtrsResponseStatus :: Lens' GetTypeResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.GetType.GetTypeResponse instance Data.Data.Data Network.AWS.AppSync.GetType.GetTypeResponse instance GHC.Show.Show Network.AWS.AppSync.GetType.GetTypeResponse instance GHC.Read.Read Network.AWS.AppSync.GetType.GetTypeResponse instance GHC.Classes.Eq Network.AWS.AppSync.GetType.GetTypeResponse instance GHC.Generics.Generic Network.AWS.AppSync.GetType.GetType instance Data.Data.Data Network.AWS.AppSync.GetType.GetType instance GHC.Show.Show Network.AWS.AppSync.GetType.GetType instance GHC.Read.Read Network.AWS.AppSync.GetType.GetType instance GHC.Classes.Eq Network.AWS.AppSync.GetType.GetType instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.GetType.GetType instance Control.DeepSeq.NFData Network.AWS.AppSync.GetType.GetTypeResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.GetType.GetType instance Control.DeepSeq.NFData Network.AWS.AppSync.GetType.GetType instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.GetType.GetType instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.GetType.GetType instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.GetType.GetType -- | Retrieves the current status of a schema creation operation. module Network.AWS.AppSync.GetSchemaCreationStatus -- | Creates a value of GetSchemaCreationStatus with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getSchemaCreationStatus :: Text -> GetSchemaCreationStatus -- | See: getSchemaCreationStatus smart constructor. data GetSchemaCreationStatus -- | The API ID. gscsApiId :: Lens' GetSchemaCreationStatus Text -- | Creates a value of GetSchemaCreationStatusResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getSchemaCreationStatusResponse :: Int -> GetSchemaCreationStatusResponse -- | See: getSchemaCreationStatusResponse smart constructor. data GetSchemaCreationStatusResponse -- | The current state of the schema (PROCESSING, ACTIVE, or DELETING). -- Once the schema is in the ACTIVE state, you can add data. gscsrsStatus :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus) -- | Detailed information about the status of the schema creation -- operation. gscsrsDetails :: Lens' GetSchemaCreationStatusResponse (Maybe Text) -- | gscsrsResponseStatus :: Lens' GetSchemaCreationStatusResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance Data.Data.Data Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Show.Show Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Read.Read Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Classes.Eq Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance GHC.Generics.Generic Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Data.Data.Data Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Show.Show Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Read.Read Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance GHC.Classes.Eq Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Control.DeepSeq.NFData Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatusResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Control.DeepSeq.NFData Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.GetSchemaCreationStatus.GetSchemaCreationStatus -- | Retrieves a Resolver object. module Network.AWS.AppSync.GetResolver -- | Creates a value of GetResolver with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getResolver :: Text -> Text -> Text -> GetResolver -- | See: getResolver smart constructor. data GetResolver -- | The API ID. grApiId :: Lens' GetResolver Text -- | The resolver type name. grTypeName :: Lens' GetResolver Text -- | The resolver field name. grFieldName :: Lens' GetResolver Text -- | Creates a value of GetResolverResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getResolverResponse :: Int -> GetResolverResponse -- | See: getResolverResponse smart constructor. data GetResolverResponse -- | The Resolver object. grrsResolver :: Lens' GetResolverResponse (Maybe Resolver) -- | grrsResponseStatus :: Lens' GetResolverResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.GetResolver.GetResolverResponse instance Data.Data.Data Network.AWS.AppSync.GetResolver.GetResolverResponse instance GHC.Show.Show Network.AWS.AppSync.GetResolver.GetResolverResponse instance GHC.Read.Read Network.AWS.AppSync.GetResolver.GetResolverResponse instance GHC.Classes.Eq Network.AWS.AppSync.GetResolver.GetResolverResponse instance GHC.Generics.Generic Network.AWS.AppSync.GetResolver.GetResolver instance Data.Data.Data Network.AWS.AppSync.GetResolver.GetResolver instance GHC.Show.Show Network.AWS.AppSync.GetResolver.GetResolver instance GHC.Read.Read Network.AWS.AppSync.GetResolver.GetResolver instance GHC.Classes.Eq Network.AWS.AppSync.GetResolver.GetResolver instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.GetResolver.GetResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.GetResolver.GetResolverResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.GetResolver.GetResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.GetResolver.GetResolver instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.GetResolver.GetResolver instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.GetResolver.GetResolver instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.GetResolver.GetResolver -- | Retrieves the introspection schema for a GraphQL API. module Network.AWS.AppSync.GetIntrospectionSchema -- | Creates a value of GetIntrospectionSchema with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getIntrospectionSchema :: Text -> OutputType -> GetIntrospectionSchema -- | See: getIntrospectionSchema smart constructor. data GetIntrospectionSchema -- | The API ID. gisApiId :: Lens' GetIntrospectionSchema Text -- | The schema format: SDL or JSON. gisFormat :: Lens' GetIntrospectionSchema OutputType -- | Creates a value of GetIntrospectionSchemaResponse with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getIntrospectionSchemaResponse :: Int -> GetIntrospectionSchemaResponse -- | See: getIntrospectionSchemaResponse smart constructor. data GetIntrospectionSchemaResponse -- | The schema, in GraphQL Schema Definition Language (SDL) format. For -- more information, see the GraphQL SDL documentation . gisrsSchema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString) -- | gisrsResponseStatus :: Lens' GetIntrospectionSchemaResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance Data.Data.Data Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Show.Show Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Read.Read Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Classes.Eq Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance GHC.Generics.Generic Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Data.Data.Data Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Show.Show Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Read.Read Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance GHC.Classes.Eq Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Control.DeepSeq.NFData Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchemaResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Control.DeepSeq.NFData Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.GetIntrospectionSchema.GetIntrospectionSchema -- | Retrieves a GraphqlApi object. module Network.AWS.AppSync.GetGraphqlAPI -- | Creates a value of GetGraphqlAPI with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getGraphqlAPI :: Text -> GetGraphqlAPI -- | See: getGraphqlAPI smart constructor. data GetGraphqlAPI -- | The API ID for the GraphQL API. ggaApiId :: Lens' GetGraphqlAPI Text -- | Creates a value of GetGraphqlAPIResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getGraphqlAPIResponse :: Int -> GetGraphqlAPIResponse -- | See: getGraphqlAPIResponse smart constructor. data GetGraphqlAPIResponse -- | The GraphqlApi object. ggarsGraphqlAPI :: Lens' GetGraphqlAPIResponse (Maybe GraphqlAPI) -- | ggarsResponseStatus :: Lens' GetGraphqlAPIResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPIResponse instance Data.Data.Data Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPIResponse instance GHC.Show.Show Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPIResponse instance GHC.Read.Read Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPIResponse instance GHC.Classes.Eq Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPIResponse instance GHC.Generics.Generic Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Data.Data.Data Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance GHC.Show.Show Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance GHC.Read.Read Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance GHC.Classes.Eq Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPIResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.GetGraphqlAPI.GetGraphqlAPI -- | Retrieves a DataSource object. module Network.AWS.AppSync.GetDataSource -- | Creates a value of GetDataSource with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getDataSource :: Text -> Text -> GetDataSource -- | See: getDataSource smart constructor. data GetDataSource -- | The API ID. gdsApiId :: Lens' GetDataSource Text -- | The name of the data source. gdsName :: Lens' GetDataSource Text -- | Creates a value of GetDataSourceResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- getDataSourceResponse :: Int -> GetDataSourceResponse -- | See: getDataSourceResponse smart constructor. data GetDataSourceResponse -- | The DataSource object. gdsrsDataSource :: Lens' GetDataSourceResponse (Maybe DataSource) -- | gdsrsResponseStatus :: Lens' GetDataSourceResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.GetDataSource.GetDataSourceResponse instance Data.Data.Data Network.AWS.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Show.Show Network.AWS.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Read.Read Network.AWS.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Classes.Eq Network.AWS.AppSync.GetDataSource.GetDataSourceResponse instance GHC.Generics.Generic Network.AWS.AppSync.GetDataSource.GetDataSource instance Data.Data.Data Network.AWS.AppSync.GetDataSource.GetDataSource instance GHC.Show.Show Network.AWS.AppSync.GetDataSource.GetDataSource instance GHC.Read.Read Network.AWS.AppSync.GetDataSource.GetDataSource instance GHC.Classes.Eq Network.AWS.AppSync.GetDataSource.GetDataSource instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.GetDataSource.GetDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.GetDataSource.GetDataSourceResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.GetDataSource.GetDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.GetDataSource.GetDataSource instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.GetDataSource.GetDataSource instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.GetDataSource.GetDataSource instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.GetDataSource.GetDataSource -- | Deletes a Type object. module Network.AWS.AppSync.DeleteType -- | Creates a value of DeleteType with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteType :: Text -> Text -> DeleteType -- | See: deleteType smart constructor. data DeleteType -- | The API ID. dtApiId :: Lens' DeleteType Text -- | The type name. dtTypeName :: Lens' DeleteType Text -- | Creates a value of DeleteTypeResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteTypeResponse :: Int -> DeleteTypeResponse -- | See: deleteTypeResponse smart constructor. data DeleteTypeResponse -- | dtrsResponseStatus :: Lens' DeleteTypeResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.DeleteType.DeleteTypeResponse instance Data.Data.Data Network.AWS.AppSync.DeleteType.DeleteTypeResponse instance GHC.Show.Show Network.AWS.AppSync.DeleteType.DeleteTypeResponse instance GHC.Read.Read Network.AWS.AppSync.DeleteType.DeleteTypeResponse instance GHC.Classes.Eq Network.AWS.AppSync.DeleteType.DeleteTypeResponse instance GHC.Generics.Generic Network.AWS.AppSync.DeleteType.DeleteType instance Data.Data.Data Network.AWS.AppSync.DeleteType.DeleteType instance GHC.Show.Show Network.AWS.AppSync.DeleteType.DeleteType instance GHC.Read.Read Network.AWS.AppSync.DeleteType.DeleteType instance GHC.Classes.Eq Network.AWS.AppSync.DeleteType.DeleteType instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.DeleteType.DeleteType instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteType.DeleteTypeResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.DeleteType.DeleteType instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteType.DeleteType instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.DeleteType.DeleteType instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.DeleteType.DeleteType instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.DeleteType.DeleteType -- | Deletes a Resolver object. module Network.AWS.AppSync.DeleteResolver -- | Creates a value of DeleteResolver with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteResolver :: Text -> Text -> Text -> DeleteResolver -- | See: deleteResolver smart constructor. data DeleteResolver -- | The API ID. drApiId :: Lens' DeleteResolver Text -- | The name of the resolver type. drTypeName :: Lens' DeleteResolver Text -- | The resolver field name. drFieldName :: Lens' DeleteResolver Text -- | Creates a value of DeleteResolverResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteResolverResponse :: Int -> DeleteResolverResponse -- | See: deleteResolverResponse smart constructor. data DeleteResolverResponse -- | drrsResponseStatus :: Lens' DeleteResolverResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.DeleteResolver.DeleteResolverResponse instance Data.Data.Data Network.AWS.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Show.Show Network.AWS.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Read.Read Network.AWS.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Classes.Eq Network.AWS.AppSync.DeleteResolver.DeleteResolverResponse instance GHC.Generics.Generic Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Data.Data.Data Network.AWS.AppSync.DeleteResolver.DeleteResolver instance GHC.Show.Show Network.AWS.AppSync.DeleteResolver.DeleteResolver instance GHC.Read.Read Network.AWS.AppSync.DeleteResolver.DeleteResolver instance GHC.Classes.Eq Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteResolver.DeleteResolverResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.DeleteResolver.DeleteResolver instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.DeleteResolver.DeleteResolver -- | Deletes a GraphqlApi object. module Network.AWS.AppSync.DeleteGraphqlAPI -- | Creates a value of DeleteGraphqlAPI with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteGraphqlAPI :: Text -> DeleteGraphqlAPI -- | See: deleteGraphqlAPI smart constructor. data DeleteGraphqlAPI -- | The API ID. dgaApiId :: Lens' DeleteGraphqlAPI Text -- | Creates a value of DeleteGraphqlAPIResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteGraphqlAPIResponse :: Int -> DeleteGraphqlAPIResponse -- | See: deleteGraphqlAPIResponse smart constructor. data DeleteGraphqlAPIResponse -- | dgarsResponseStatus :: Lens' DeleteGraphqlAPIResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPIResponse instance Data.Data.Data Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPIResponse instance GHC.Show.Show Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPIResponse instance GHC.Read.Read Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPIResponse instance GHC.Classes.Eq Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPIResponse instance GHC.Generics.Generic Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Data.Data.Data Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance GHC.Show.Show Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance GHC.Read.Read Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance GHC.Classes.Eq Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPIResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.DeleteGraphqlAPI.DeleteGraphqlAPI -- | Deletes a DataSource object. module Network.AWS.AppSync.DeleteDataSource -- | Creates a value of DeleteDataSource with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteDataSource :: Text -> Text -> DeleteDataSource -- | See: deleteDataSource smart constructor. data DeleteDataSource -- | The API ID. ddsApiId :: Lens' DeleteDataSource Text -- | The name of the data source. ddsName :: Lens' DeleteDataSource Text -- | Creates a value of DeleteDataSourceResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteDataSourceResponse :: Int -> DeleteDataSourceResponse -- | See: deleteDataSourceResponse smart constructor. data DeleteDataSourceResponse -- | ddsrsResponseStatus :: Lens' DeleteDataSourceResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.DeleteDataSource.DeleteDataSourceResponse instance Data.Data.Data Network.AWS.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Show.Show Network.AWS.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Read.Read Network.AWS.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Classes.Eq Network.AWS.AppSync.DeleteDataSource.DeleteDataSourceResponse instance GHC.Generics.Generic Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Data.Data.Data Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Show.Show Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Read.Read Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance GHC.Classes.Eq Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteDataSource.DeleteDataSourceResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.DeleteDataSource.DeleteDataSource instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.DeleteDataSource.DeleteDataSource -- | Deletes an API key. module Network.AWS.AppSync.DeleteAPIKey -- | Creates a value of DeleteAPIKey with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteAPIKey :: Text -> Text -> DeleteAPIKey -- | See: deleteAPIKey smart constructor. data DeleteAPIKey -- | The API ID. dakApiId :: Lens' DeleteAPIKey Text -- | The ID for the API key. dakId :: Lens' DeleteAPIKey Text -- | Creates a value of DeleteAPIKeyResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- deleteAPIKeyResponse :: Int -> DeleteAPIKeyResponse -- | See: deleteAPIKeyResponse smart constructor. data DeleteAPIKeyResponse -- | dakrsResponseStatus :: Lens' DeleteAPIKeyResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKeyResponse instance Data.Data.Data Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKeyResponse instance GHC.Show.Show Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKeyResponse instance GHC.Read.Read Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKeyResponse instance GHC.Classes.Eq Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKeyResponse instance GHC.Generics.Generic Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Data.Data.Data Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance GHC.Show.Show Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance GHC.Read.Read Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance GHC.Classes.Eq Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKeyResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Control.DeepSeq.NFData Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.DeleteAPIKey.DeleteAPIKey -- | Creates a Type object. module Network.AWS.AppSync.CreateType -- | Creates a value of CreateType with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createType :: Text -> Text -> TypeDefinitionFormat -> CreateType -- | See: createType smart constructor. data CreateType -- | The API ID. ctApiId :: Lens' CreateType Text -- | The type definition, in GraphQL Schema Definition Language (SDL) -- format. For more information, see the GraphQL SDL documentation -- . ctDefinition :: Lens' CreateType Text -- | The type format: SDL or JSON. ctFormat :: Lens' CreateType TypeDefinitionFormat -- | Creates a value of CreateTypeResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createTypeResponse :: Int -> CreateTypeResponse -- | See: createTypeResponse smart constructor. data CreateTypeResponse -- | The Type object. ctrsType :: Lens' CreateTypeResponse (Maybe Type) -- | ctrsResponseStatus :: Lens' CreateTypeResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.CreateType.CreateTypeResponse instance Data.Data.Data Network.AWS.AppSync.CreateType.CreateTypeResponse instance GHC.Show.Show Network.AWS.AppSync.CreateType.CreateTypeResponse instance GHC.Read.Read Network.AWS.AppSync.CreateType.CreateTypeResponse instance GHC.Classes.Eq Network.AWS.AppSync.CreateType.CreateTypeResponse instance GHC.Generics.Generic Network.AWS.AppSync.CreateType.CreateType instance Data.Data.Data Network.AWS.AppSync.CreateType.CreateType instance GHC.Show.Show Network.AWS.AppSync.CreateType.CreateType instance GHC.Read.Read Network.AWS.AppSync.CreateType.CreateType instance GHC.Classes.Eq Network.AWS.AppSync.CreateType.CreateType instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.CreateType.CreateType instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateType.CreateTypeResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.CreateType.CreateType instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateType.CreateType instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.CreateType.CreateType instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.CreateType.CreateType instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.CreateType.CreateType instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.CreateType.CreateType -- | Creates a Resolver object. -- -- A resolver converts incoming requests into a format that a data source -- can understand and converts the data source's responses into GraphQL. module Network.AWS.AppSync.CreateResolver -- | Creates a value of CreateResolver with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createResolver :: Text -> Text -> Text -> Text -> Text -> CreateResolver -- | See: createResolver smart constructor. data CreateResolver -- | The mapping template to be used for responses from the data source. crResponseMappingTemplate :: Lens' CreateResolver (Maybe Text) -- | The ID for the GraphQL API for which the resolver is being created. crApiId :: Lens' CreateResolver Text -- | The name of the Type . crTypeName :: Lens' CreateResolver Text -- | The name of the field to attach the resolver to. crFieldName :: Lens' CreateResolver Text -- | The name of the data source for which the resolver is being created. crDataSourceName :: Lens' CreateResolver Text -- | 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). crRequestMappingTemplate :: Lens' CreateResolver Text -- | Creates a value of CreateResolverResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createResolverResponse :: Int -> CreateResolverResponse -- | See: createResolverResponse smart constructor. data CreateResolverResponse -- | The Resolver object. crrsResolver :: Lens' CreateResolverResponse (Maybe Resolver) -- | crrsResponseStatus :: Lens' CreateResolverResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.CreateResolver.CreateResolverResponse instance Data.Data.Data Network.AWS.AppSync.CreateResolver.CreateResolverResponse instance GHC.Show.Show Network.AWS.AppSync.CreateResolver.CreateResolverResponse instance GHC.Read.Read Network.AWS.AppSync.CreateResolver.CreateResolverResponse instance GHC.Classes.Eq Network.AWS.AppSync.CreateResolver.CreateResolverResponse instance GHC.Generics.Generic Network.AWS.AppSync.CreateResolver.CreateResolver instance Data.Data.Data Network.AWS.AppSync.CreateResolver.CreateResolver instance GHC.Show.Show Network.AWS.AppSync.CreateResolver.CreateResolver instance GHC.Read.Read Network.AWS.AppSync.CreateResolver.CreateResolver instance GHC.Classes.Eq Network.AWS.AppSync.CreateResolver.CreateResolver instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.CreateResolver.CreateResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateResolver.CreateResolverResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.CreateResolver.CreateResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateResolver.CreateResolver instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.CreateResolver.CreateResolver instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.CreateResolver.CreateResolver instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.CreateResolver.CreateResolver instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.CreateResolver.CreateResolver -- | Creates a GraphqlApi object. module Network.AWS.AppSync.CreateGraphqlAPI -- | Creates a value of CreateGraphqlAPI with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createGraphqlAPI :: Text -> AuthenticationType -> CreateGraphqlAPI -- | See: createGraphqlAPI smart constructor. data CreateGraphqlAPI -- | The Open Id Connect configuration configuration. cgaOpenIdConnectConfig :: Lens' CreateGraphqlAPI (Maybe OpenIdConnectConfig) -- | The Amazon Cognito User Pool configuration. cgaUserPoolConfig :: Lens' CreateGraphqlAPI (Maybe UserPoolConfig) -- | The Amazon CloudWatch logs configuration. cgaLogConfig :: Lens' CreateGraphqlAPI (Maybe LogConfig) -- | A user-supplied name for the GraphqlApi . cgaName :: Lens' CreateGraphqlAPI Text -- | The authentication type: API key, IAM, or Amazon Cognito User Pools. cgaAuthenticationType :: Lens' CreateGraphqlAPI AuthenticationType -- | Creates a value of CreateGraphqlAPIResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createGraphqlAPIResponse :: Int -> CreateGraphqlAPIResponse -- | See: createGraphqlAPIResponse smart constructor. data CreateGraphqlAPIResponse -- | The GraphqlApi . cgarsGraphqlAPI :: Lens' CreateGraphqlAPIResponse (Maybe GraphqlAPI) -- | cgarsResponseStatus :: Lens' CreateGraphqlAPIResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPIResponse instance Data.Data.Data Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPIResponse instance GHC.Show.Show Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPIResponse instance GHC.Read.Read Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPIResponse instance GHC.Classes.Eq Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPIResponse instance GHC.Generics.Generic Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Data.Data.Data Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance GHC.Show.Show Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance GHC.Read.Read Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance GHC.Classes.Eq Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPIResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.CreateGraphqlAPI.CreateGraphqlAPI -- | Creates a DataSource object. module Network.AWS.AppSync.CreateDataSource -- | Creates a value of CreateDataSource with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createDataSource :: Text -> Text -> DataSourceType -> CreateDataSource -- | See: createDataSource smart constructor. data CreateDataSource -- | The IAM service role ARN for the data source. The system assumes this -- role when accessing the data source. cdsServiceRoleARN :: Lens' CreateDataSource (Maybe Text) -- | DynamoDB settings. cdsDynamodbConfig :: Lens' CreateDataSource (Maybe DynamodbDataSourceConfig) -- | AWS Lambda settings. cdsLambdaConfig :: Lens' CreateDataSource (Maybe LambdaDataSourceConfig) -- | A description of the DataSource . cdsDescription :: Lens' CreateDataSource (Maybe Text) -- | Amazon Elasticsearch settings. cdsElasticsearchConfig :: Lens' CreateDataSource (Maybe ElasticsearchDataSourceConfig) -- | The API ID for the GraphQL API for the DataSource . cdsApiId :: Lens' CreateDataSource Text -- | A user-supplied name for the DataSource . cdsName :: Lens' CreateDataSource Text -- | The type of the DataSource . cdsType :: Lens' CreateDataSource DataSourceType -- | Creates a value of CreateDataSourceResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createDataSourceResponse :: Int -> CreateDataSourceResponse -- | See: createDataSourceResponse smart constructor. data CreateDataSourceResponse -- | The DataSource object. cdsrsDataSource :: Lens' CreateDataSourceResponse (Maybe DataSource) -- | cdsrsResponseStatus :: Lens' CreateDataSourceResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.CreateDataSource.CreateDataSourceResponse instance Data.Data.Data Network.AWS.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Show.Show Network.AWS.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Read.Read Network.AWS.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Classes.Eq Network.AWS.AppSync.CreateDataSource.CreateDataSourceResponse instance GHC.Generics.Generic Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Data.Data.Data Network.AWS.AppSync.CreateDataSource.CreateDataSource instance GHC.Show.Show Network.AWS.AppSync.CreateDataSource.CreateDataSource instance GHC.Read.Read Network.AWS.AppSync.CreateDataSource.CreateDataSource instance GHC.Classes.Eq Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateDataSource.CreateDataSourceResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.CreateDataSource.CreateDataSource instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.CreateDataSource.CreateDataSource -- | Creates a unique key that you can distribute to clients who are -- executing your API. module Network.AWS.AppSync.CreateAPIKey -- | Creates a value of CreateAPIKey with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createAPIKey :: Text -> CreateAPIKey -- | See: createAPIKey smart constructor. data CreateAPIKey -- | The time from creation time after which the API key expires. The date -- is represented as seconds since the epoch, rounded down to the nearest -- hour. The default value for this parameter is 7 days from creation -- time. For more information, see . cakExpires :: Lens' CreateAPIKey (Maybe Integer) -- | A description of the purpose of the API key. cakDescription :: Lens' CreateAPIKey (Maybe Text) -- | The ID for your GraphQL API. cakApiId :: Lens' CreateAPIKey Text -- | Creates a value of CreateAPIKeyResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- createAPIKeyResponse :: Int -> CreateAPIKeyResponse -- | See: createAPIKeyResponse smart constructor. data CreateAPIKeyResponse -- | The API key. cakrsApiKey :: Lens' CreateAPIKeyResponse (Maybe APIKey) -- | cakrsResponseStatus :: Lens' CreateAPIKeyResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.CreateAPIKey.CreateAPIKeyResponse instance Data.Data.Data Network.AWS.AppSync.CreateAPIKey.CreateAPIKeyResponse instance GHC.Show.Show Network.AWS.AppSync.CreateAPIKey.CreateAPIKeyResponse instance GHC.Read.Read Network.AWS.AppSync.CreateAPIKey.CreateAPIKeyResponse instance GHC.Classes.Eq Network.AWS.AppSync.CreateAPIKey.CreateAPIKeyResponse instance GHC.Generics.Generic Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Data.Data.Data Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance GHC.Show.Show Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance GHC.Read.Read Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance GHC.Classes.Eq Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateAPIKey.CreateAPIKeyResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Control.DeepSeq.NFData Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.CreateAPIKey.CreateAPIKey instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.CreateAPIKey.CreateAPIKey -- | Updates an API key. module Network.AWS.AppSync.UpdateAPIKey -- | Creates a value of UpdateAPIKey with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateAPIKey :: Text -> Text -> UpdateAPIKey -- | See: updateAPIKey smart constructor. data UpdateAPIKey -- | The time from update time after which the API key expires. The date is -- represented as seconds since the epoch. For more information, see . uakExpires :: Lens' UpdateAPIKey (Maybe Integer) -- | A description of the purpose of the API key. uakDescription :: Lens' UpdateAPIKey (Maybe Text) -- | The ID for the GraphQL API uakApiId :: Lens' UpdateAPIKey Text -- | The API key ID. uakId :: Lens' UpdateAPIKey Text -- | Creates a value of UpdateAPIKeyResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateAPIKeyResponse :: Int -> UpdateAPIKeyResponse -- | See: updateAPIKeyResponse smart constructor. data UpdateAPIKeyResponse -- | The API key. uakrsApiKey :: Lens' UpdateAPIKeyResponse (Maybe APIKey) -- | uakrsResponseStatus :: Lens' UpdateAPIKeyResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKeyResponse instance Data.Data.Data Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKeyResponse instance GHC.Show.Show Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKeyResponse instance GHC.Read.Read Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKeyResponse instance GHC.Classes.Eq Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKeyResponse instance GHC.Generics.Generic Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Data.Data.Data Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance GHC.Show.Show Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance GHC.Read.Read Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance GHC.Classes.Eq Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKeyResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.UpdateAPIKey.UpdateAPIKey -- | Updates a DataSource object. module Network.AWS.AppSync.UpdateDataSource -- | Creates a value of UpdateDataSource with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateDataSource :: Text -> Text -> DataSourceType -> UpdateDataSource -- | See: updateDataSource smart constructor. data UpdateDataSource -- | The new service role ARN for the data source. udsServiceRoleARN :: Lens' UpdateDataSource (Maybe Text) -- | The new DynamoDB configuration. udsDynamodbConfig :: Lens' UpdateDataSource (Maybe DynamodbDataSourceConfig) -- | The new Lambda configuration. udsLambdaConfig :: Lens' UpdateDataSource (Maybe LambdaDataSourceConfig) -- | The new description for the data source. udsDescription :: Lens' UpdateDataSource (Maybe Text) -- | The new Elasticsearch configuration. udsElasticsearchConfig :: Lens' UpdateDataSource (Maybe ElasticsearchDataSourceConfig) -- | The API ID. udsApiId :: Lens' UpdateDataSource Text -- | The new name for the data source. udsName :: Lens' UpdateDataSource Text -- | The new data source type. udsType :: Lens' UpdateDataSource DataSourceType -- | Creates a value of UpdateDataSourceResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateDataSourceResponse :: Int -> UpdateDataSourceResponse -- | See: updateDataSourceResponse smart constructor. data UpdateDataSourceResponse -- | The updated DataSource object. udsrsDataSource :: Lens' UpdateDataSourceResponse (Maybe DataSource) -- | udsrsResponseStatus :: Lens' UpdateDataSourceResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.UpdateDataSource.UpdateDataSourceResponse instance Data.Data.Data Network.AWS.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Show.Show Network.AWS.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Read.Read Network.AWS.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Classes.Eq Network.AWS.AppSync.UpdateDataSource.UpdateDataSourceResponse instance GHC.Generics.Generic Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Data.Data.Data Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Show.Show Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Read.Read Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance GHC.Classes.Eq Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateDataSource.UpdateDataSourceResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.UpdateDataSource.UpdateDataSource instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.UpdateDataSource.UpdateDataSource -- | Updates a GraphqlApi object. module Network.AWS.AppSync.UpdateGraphqlAPI -- | Creates a value of UpdateGraphqlAPI with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateGraphqlAPI :: Text -> Text -> UpdateGraphqlAPI -- | See: updateGraphqlAPI smart constructor. data UpdateGraphqlAPI -- | The Open Id Connect configuration configuration for the -- GraphqlApi object. ugaOpenIdConnectConfig :: Lens' UpdateGraphqlAPI (Maybe OpenIdConnectConfig) -- | The new Amazon Cognito User Pool configuration for the -- GraphqlApi object. ugaUserPoolConfig :: Lens' UpdateGraphqlAPI (Maybe UserPoolConfig) -- | The new authentication type for the GraphqlApi object. ugaAuthenticationType :: Lens' UpdateGraphqlAPI (Maybe AuthenticationType) -- | The Amazon CloudWatch logs configuration for the GraphqlApi -- object. ugaLogConfig :: Lens' UpdateGraphqlAPI (Maybe LogConfig) -- | The API ID. ugaApiId :: Lens' UpdateGraphqlAPI Text -- | The new name for the GraphqlApi object. ugaName :: Lens' UpdateGraphqlAPI Text -- | Creates a value of UpdateGraphqlAPIResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateGraphqlAPIResponse :: Int -> UpdateGraphqlAPIResponse -- | See: updateGraphqlAPIResponse smart constructor. data UpdateGraphqlAPIResponse -- | The updated GraphqlApi object. ugarsGraphqlAPI :: Lens' UpdateGraphqlAPIResponse (Maybe GraphqlAPI) -- | ugarsResponseStatus :: Lens' UpdateGraphqlAPIResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPIResponse instance Data.Data.Data Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPIResponse instance GHC.Show.Show Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPIResponse instance GHC.Read.Read Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPIResponse instance GHC.Classes.Eq Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPIResponse instance GHC.Generics.Generic Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Data.Data.Data Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance GHC.Show.Show Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance GHC.Read.Read Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance GHC.Classes.Eq Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPIResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.UpdateGraphqlAPI.UpdateGraphqlAPI -- | Updates a Resolver object. module Network.AWS.AppSync.UpdateResolver -- | Creates a value of UpdateResolver with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateResolver :: Text -> Text -> Text -> Text -> Text -> UpdateResolver -- | See: updateResolver smart constructor. data UpdateResolver -- | The new response mapping template. urResponseMappingTemplate :: Lens' UpdateResolver (Maybe Text) -- | The API ID. urApiId :: Lens' UpdateResolver Text -- | The new type name. urTypeName :: Lens' UpdateResolver Text -- | The new field name. urFieldName :: Lens' UpdateResolver Text -- | The new data source name. urDataSourceName :: Lens' UpdateResolver Text -- | The new request mapping template. urRequestMappingTemplate :: Lens' UpdateResolver Text -- | Creates a value of UpdateResolverResponse with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateResolverResponse :: Int -> UpdateResolverResponse -- | See: updateResolverResponse smart constructor. data UpdateResolverResponse -- | The updated Resolver object. urrsResolver :: Lens' UpdateResolverResponse (Maybe Resolver) -- | urrsResponseStatus :: Lens' UpdateResolverResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.UpdateResolver.UpdateResolverResponse instance Data.Data.Data Network.AWS.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Show.Show Network.AWS.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Read.Read Network.AWS.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Classes.Eq Network.AWS.AppSync.UpdateResolver.UpdateResolverResponse instance GHC.Generics.Generic Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Data.Data.Data Network.AWS.AppSync.UpdateResolver.UpdateResolver instance GHC.Show.Show Network.AWS.AppSync.UpdateResolver.UpdateResolver instance GHC.Read.Read Network.AWS.AppSync.UpdateResolver.UpdateResolver instance GHC.Classes.Eq Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateResolver.UpdateResolverResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.UpdateResolver.UpdateResolver instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.UpdateResolver.UpdateResolver -- | Updates a Type object. module Network.AWS.AppSync.UpdateType -- | Creates a value of UpdateType with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateType :: Text -> Text -> TypeDefinitionFormat -> UpdateType -- | See: updateType smart constructor. data UpdateType -- | The new definition. utDefinition :: Lens' UpdateType (Maybe Text) -- | The API ID. utApiId :: Lens' UpdateType Text -- | The new type name. utTypeName :: Lens' UpdateType Text -- | The new type format: SDL or JSON. utFormat :: Lens' UpdateType TypeDefinitionFormat -- | Creates a value of UpdateTypeResponse with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- updateTypeResponse :: Int -> UpdateTypeResponse -- | See: updateTypeResponse smart constructor. data UpdateTypeResponse -- | The updated Type object. utrsType :: Lens' UpdateTypeResponse (Maybe Type) -- | utrsResponseStatus :: Lens' UpdateTypeResponse Int instance GHC.Generics.Generic Network.AWS.AppSync.UpdateType.UpdateTypeResponse instance Data.Data.Data Network.AWS.AppSync.UpdateType.UpdateTypeResponse instance GHC.Show.Show Network.AWS.AppSync.UpdateType.UpdateTypeResponse instance GHC.Read.Read Network.AWS.AppSync.UpdateType.UpdateTypeResponse instance GHC.Classes.Eq Network.AWS.AppSync.UpdateType.UpdateTypeResponse instance GHC.Generics.Generic Network.AWS.AppSync.UpdateType.UpdateType instance Data.Data.Data Network.AWS.AppSync.UpdateType.UpdateType instance GHC.Show.Show Network.AWS.AppSync.UpdateType.UpdateType instance GHC.Read.Read Network.AWS.AppSync.UpdateType.UpdateType instance GHC.Classes.Eq Network.AWS.AppSync.UpdateType.UpdateType instance Network.AWS.Types.AWSRequest Network.AWS.AppSync.UpdateType.UpdateType instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateType.UpdateTypeResponse instance Data.Hashable.Class.Hashable Network.AWS.AppSync.UpdateType.UpdateType instance Control.DeepSeq.NFData Network.AWS.AppSync.UpdateType.UpdateType instance Network.AWS.Data.Headers.ToHeaders Network.AWS.AppSync.UpdateType.UpdateType instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.AppSync.UpdateType.UpdateType instance Network.AWS.Data.Path.ToPath Network.AWS.AppSync.UpdateType.UpdateType instance Network.AWS.Data.Query.ToQuery Network.AWS.AppSync.UpdateType.UpdateType module Network.AWS.AppSync.Waiters -- | AWS AppSync provides API actions for creating and interacting with -- data sources using GraphQL from your application. module Network.AWS.AppSync -- | API version 2017-07-25 of the Amazon AppSync SDK -- configuration. appSync :: Service -- | The API key expiration must be set to a value between 1 and 365 days -- from creation (for CreateApiKey ) or from update (for -- UpdateApiKey ). _APIKeyValidityOutOfBoundsException :: AsError a => Getting (First ServiceError) a ServiceError -- | The API key exceeded a limit. Try your request again. _APIKeyLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError -- | The GraphQL API exceeded a limit. Try your request again. _APILimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError -- | The resource specified in the request was not found. Check the -- resource and try again. _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError -- | The GraphQL schema is not valid. _GraphQLSchemaException :: AsError a => Getting (First ServiceError) a ServiceError -- | Another modification is being made. That modification must complete -- before you can make your change. _ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError -- | An internal AWS AppSync error occurred. Try your request again. _InternalFailureException :: AsError a => Getting (First ServiceError) a ServiceError -- | You are not authorized to perform this operation. _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request is not well formed. For example, a value is invalid or a -- required field is missing. Check the field values, and try again. _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError -- | The request exceeded a limit. Try your request again. _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError data AuthenticationType APIKey :: AuthenticationType AWSIAM :: AuthenticationType AmazonCognitoUserPools :: AuthenticationType OpenidConnect :: AuthenticationType data DataSourceType AWSLambda :: DataSourceType AmazonDynamodb :: DataSourceType AmazonElasticsearch :: DataSourceType None :: DataSourceType data DefaultAction Allow :: DefaultAction Deny :: DefaultAction data FieldLogLevel FLLAll :: FieldLogLevel FLLError' :: FieldLogLevel FLLNone :: FieldLogLevel data OutputType OTJSON :: OutputType OTSdl :: OutputType data SchemaStatus Active :: SchemaStatus Deleting :: SchemaStatus Processing :: SchemaStatus data TypeDefinitionFormat JSON :: TypeDefinitionFormat Sdl :: TypeDefinitionFormat -- | Describes an API key. -- -- Customers invoke AWS AppSync GraphQL APIs with API keys as an identity -- mechanism. There are two key versions: -- -- da1 : This version was introduced at launch in November 2017. -- These keys always expire after 7 days. Key expiration is managed by -- DynamoDB TTL. The keys will cease to be valid after Feb 21, 2018 and -- should not be used after that date. -- -- -- -- da2 : This version was introduced in February 2018 when AppSync -- added support to extend key expiration. -- -- -- -- See: apiKey smart constructor. data APIKey -- | Creates a value of APIKey with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- apiKey :: APIKey -- | The time after which the API key expires. The date is represented as -- seconds since the epoch, rounded down to the nearest hour. akExpires :: Lens' APIKey (Maybe Integer) -- | The API key ID. akId :: Lens' APIKey (Maybe Text) -- | A description of the purpose of the API key. akDescription :: Lens' APIKey (Maybe Text) -- | Describes a data source. -- -- See: dataSource smart constructor. data DataSource -- | Creates a value of DataSource with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- dataSource :: DataSource -- | The IAM service role ARN for the data source. The system assumes this -- role when accessing the data source. dsServiceRoleARN :: Lens' DataSource (Maybe Text) -- | The data source ARN. dsDataSourceARN :: Lens' DataSource (Maybe Text) -- | DynamoDB settings. dsDynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) -- | The name of the data source. dsName :: Lens' DataSource (Maybe Text) -- | Lambda settings. dsLambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) -- | The type of the data source. * AMAZON_DYNAMODB : The data -- source is an Amazon DynamoDB table. * AMAZON_ELASTICSEARCH : -- The data source is an Amazon Elasticsearch Service domain. * -- AWS_LAMBDA : The data source is an AWS Lambda function. * -- NONE : There is no data source. This type is used when when you -- wish to invoke a GraphQL operation without connecting to a data -- source, such as performing data transformation with resolvers or -- triggering a subscription to be invoked from a mutation. dsType :: Lens' DataSource (Maybe DataSourceType) -- | The description of the data source. dsDescription :: Lens' DataSource (Maybe Text) -- | Amazon Elasticsearch settings. dsElasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) -- | Describes a DynamoDB data source configuration. -- -- See: dynamodbDataSourceConfig smart constructor. data DynamodbDataSourceConfig -- | Creates a value of DynamodbDataSourceConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- dynamodbDataSourceConfig :: Text -> Text -> DynamodbDataSourceConfig -- | Set to TRUE to use Amazon Cognito credentials with this data source. ddscUseCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) -- | The table name. ddscTableName :: Lens' DynamodbDataSourceConfig Text -- | The AWS region. ddscAwsRegion :: Lens' DynamodbDataSourceConfig Text -- | Describes an Elasticsearch data source configuration. -- -- See: elasticsearchDataSourceConfig smart constructor. data ElasticsearchDataSourceConfig -- | Creates a value of ElasticsearchDataSourceConfig with the -- minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- elasticsearchDataSourceConfig :: Text -> Text -> ElasticsearchDataSourceConfig -- | The endpoint. edscEndpoint :: Lens' ElasticsearchDataSourceConfig Text -- | The AWS region. edscAwsRegion :: Lens' ElasticsearchDataSourceConfig Text -- | Describes a GraphQL API. -- -- See: graphqlAPI smart constructor. data GraphqlAPI -- | Creates a value of GraphqlAPI with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- graphqlAPI :: GraphqlAPI -- | The ARN. gaArn :: Lens' GraphqlAPI (Maybe Text) -- | The API ID. gaApiId :: Lens' GraphqlAPI (Maybe Text) -- | The URIs. gaUris :: Lens' GraphqlAPI (HashMap Text Text) -- | The Open Id Connect configuration. gaOpenIdConnectConfig :: Lens' GraphqlAPI (Maybe OpenIdConnectConfig) -- | The API name. gaName :: Lens' GraphqlAPI (Maybe Text) -- | The Amazon Cognito User Pool configuration. gaUserPoolConfig :: Lens' GraphqlAPI (Maybe UserPoolConfig) -- | The authentication type. gaAuthenticationType :: Lens' GraphqlAPI (Maybe AuthenticationType) -- | The Amazon CloudWatch Logs configuration. gaLogConfig :: Lens' GraphqlAPI (Maybe LogConfig) -- | Describes a Lambda data source configuration. -- -- See: lambdaDataSourceConfig smart constructor. data LambdaDataSourceConfig -- | Creates a value of LambdaDataSourceConfig with the minimum -- fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- lambdaDataSourceConfig :: Text -> LambdaDataSourceConfig -- | The ARN for the Lambda function. ldscLambdaFunctionARN :: Lens' LambdaDataSourceConfig Text -- | The CloudWatch Logs configuration. -- -- See: logConfig smart constructor. data LogConfig -- | Creates a value of LogConfig with the minimum fields required -- to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- logConfig :: FieldLogLevel -> Text -> LogConfig -- | The field logging level. Values can be NONE, ERROR, ALL. * NONE -- : No field-level logs are captured. * ERROR : Logs the -- following information only for the fields that are in error: * The -- error section in the server response. * Field-level errors. * The -- generated requestresponse functions that got resolved for error -- fields. * ALL : The following information is logged for all -- fields in the query: * Field-level tracing information. * The -- generated requestresponse functions that got resolved for each -- field. lcFieldLogLevel :: Lens' LogConfig FieldLogLevel -- | The service role that AWS AppSync will assume to publish to Amazon -- CloudWatch logs in your account. lcCloudWatchLogsRoleARN :: Lens' LogConfig Text -- | Describes an Open Id Connect configuration. -- -- See: openIdConnectConfig smart constructor. data OpenIdConnectConfig -- | Creates a value of OpenIdConnectConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- openIdConnectConfig :: Text -> OpenIdConnectConfig -- | The number of milliseconds a token is valid after being authenticated. oiccAuthTTL :: Lens' OpenIdConnectConfig (Maybe Integer) -- | The client identifier of the Relying party at the OpenID Provider. -- This identifier is typically obtained when the Relying party is -- registered with the OpenID Provider. You can specify a regular -- expression so the AWS AppSync can validate against multiple client -- identifiers at a time oiccClientId :: Lens' OpenIdConnectConfig (Maybe Text) -- | The number of milliseconds a token is valid after being issued to a -- user. oiccIatTTL :: Lens' OpenIdConnectConfig (Maybe Integer) -- | The issuer for the open id connect configuration. The issuer returned -- by discovery MUST exactly match the value of iss in the ID Token. oiccIssuer :: Lens' OpenIdConnectConfig Text -- | Describes a resolver. -- -- See: resolver smart constructor. data Resolver -- | Creates a value of Resolver with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- resolver :: Resolver -- | The resolver type name. rTypeName :: Lens' Resolver (Maybe Text) -- | The resolver data source name. rDataSourceName :: Lens' Resolver (Maybe Text) -- | The request mapping template. rRequestMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver ARN. rResolverARN :: Lens' Resolver (Maybe Text) -- | The response mapping template. rResponseMappingTemplate :: Lens' Resolver (Maybe Text) -- | The resolver field name. rFieldName :: Lens' Resolver (Maybe Text) -- | Describes a type. -- -- See: type' smart constructor. data Type -- | Creates a value of Type with the minimum fields required to -- make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- type' :: Type -- | The type ARN. tArn :: Lens' Type (Maybe Text) -- | The type definition. tDefinition :: Lens' Type (Maybe Text) -- | The type format: SDL or JSON. tFormat :: Lens' Type (Maybe TypeDefinitionFormat) -- | The type name. tName :: Lens' Type (Maybe Text) -- | The type description. tDescription :: Lens' Type (Maybe Text) -- | Describes an Amazon Cognito User Pool configuration. -- -- See: userPoolConfig smart constructor. data UserPoolConfig -- | Creates a value of UserPoolConfig with the minimum fields -- required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- userPoolConfig :: Text -> Text -> DefaultAction -> UserPoolConfig -- | A regular expression for validating the incoming Amazon Cognito User -- Pool app client ID. upcAppIdClientRegex :: Lens' UserPoolConfig (Maybe Text) -- | The user pool ID. upcUserPoolId :: Lens' UserPoolConfig Text -- | The AWS region in which the user pool was created. upcAwsRegion :: Lens' UserPoolConfig Text -- | The action that you want your GraphQL API to take when a request that -- uses Amazon Cognito User Pool authentication doesn't match the Amazon -- Cognito User Pool configuration. upcDefaultAction :: Lens' UserPoolConfig DefaultAction