Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Operations
- AssociateApi
- CreateApiCache
- CreateApiKey
- CreateDataSource
- CreateDomainName
- CreateFunction
- CreateGraphqlApi
- CreateResolver
- CreateType
- DeleteApiCache
- DeleteApiKey
- DeleteDataSource
- DeleteDomainName
- DeleteFunction
- DeleteGraphqlApi
- DeleteResolver
- DeleteType
- DisassociateApi
- EvaluateCode
- EvaluateMappingTemplate
- FlushApiCache
- GetApiAssociation
- GetApiCache
- GetDataSource
- GetDomainName
- GetFunction
- GetGraphqlApi
- GetIntrospectionSchema
- GetResolver
- GetSchemaCreationStatus
- GetType
- ListApiKeys
- ListDataSources
- ListDomainNames
- ListFunctions
- ListGraphqlApis
- ListResolvers
- ListResolversByFunction
- ListTagsForResource
- ListTypes
- StartSchemaCreation
- TagResource
- UntagResource
- UpdateApiCache
- UpdateApiKey
- UpdateDataSource
- UpdateDomainName
- UpdateFunction
- UpdateGraphqlApi
- UpdateResolver
- UpdateType
- Types
- AdditionalAuthenticationProvider
- ApiAssociation
- ApiCache
- ApiKey
- AppSyncRuntime
- AuthorizationConfig
- AwsIamConfig
- CachingConfig
- CodeError
- CodeErrorLocation
- CognitoUserPoolConfig
- DataSource
- DeltaSyncConfig
- DomainNameConfig
- DynamodbDataSourceConfig
- ElasticsearchDataSourceConfig
- ErrorDetail
- EvaluateCodeErrorDetail
- FunctionConfiguration
- GraphqlApi
- HttpDataSourceConfig
- LambdaAuthorizerConfig
- LambdaConflictHandlerConfig
- LambdaDataSourceConfig
- LogConfig
- OpenIDConnectConfig
- OpenSearchServiceDataSourceConfig
- PipelineConfig
- RdsHttpEndpointConfig
- RelationalDatabaseDataSourceConfig
- Resolver
- SyncConfig
- Type
- UserPoolConfig
Synopsis
- associateApi_domainName :: Lens' AssociateApi Text
- associateApi_apiId :: Lens' AssociateApi Text
- associateApiResponse_apiAssociation :: Lens' AssociateApiResponse (Maybe ApiAssociation)
- associateApiResponse_httpStatus :: Lens' AssociateApiResponse Int
- createApiCache_atRestEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool)
- createApiCache_transitEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool)
- createApiCache_apiId :: Lens' CreateApiCache Text
- createApiCache_ttl :: Lens' CreateApiCache Integer
- createApiCache_apiCachingBehavior :: Lens' CreateApiCache ApiCachingBehavior
- createApiCache_type :: Lens' CreateApiCache ApiCacheType
- createApiCacheResponse_apiCache :: Lens' CreateApiCacheResponse (Maybe ApiCache)
- createApiCacheResponse_httpStatus :: Lens' CreateApiCacheResponse Int
- createApiKey_description :: Lens' CreateApiKey (Maybe Text)
- createApiKey_expires :: Lens' CreateApiKey (Maybe Integer)
- createApiKey_apiId :: Lens' CreateApiKey Text
- createApiKeyResponse_apiKey :: Lens' CreateApiKeyResponse (Maybe ApiKey)
- createApiKeyResponse_httpStatus :: Lens' CreateApiKeyResponse Int
- createDataSource_description :: Lens' CreateDataSource (Maybe Text)
- createDataSource_dynamodbConfig :: Lens' CreateDataSource (Maybe DynamodbDataSourceConfig)
- createDataSource_elasticsearchConfig :: Lens' CreateDataSource (Maybe ElasticsearchDataSourceConfig)
- createDataSource_httpConfig :: Lens' CreateDataSource (Maybe HttpDataSourceConfig)
- createDataSource_lambdaConfig :: Lens' CreateDataSource (Maybe LambdaDataSourceConfig)
- createDataSource_openSearchServiceConfig :: Lens' CreateDataSource (Maybe OpenSearchServiceDataSourceConfig)
- createDataSource_relationalDatabaseConfig :: Lens' CreateDataSource (Maybe RelationalDatabaseDataSourceConfig)
- createDataSource_serviceRoleArn :: Lens' CreateDataSource (Maybe Text)
- createDataSource_apiId :: Lens' CreateDataSource Text
- createDataSource_name :: Lens' CreateDataSource Text
- createDataSource_type :: Lens' CreateDataSource DataSourceType
- createDataSourceResponse_dataSource :: Lens' CreateDataSourceResponse (Maybe DataSource)
- createDataSourceResponse_httpStatus :: Lens' CreateDataSourceResponse Int
- createDomainName_description :: Lens' CreateDomainName (Maybe Text)
- createDomainName_domainName :: Lens' CreateDomainName Text
- createDomainName_certificateArn :: Lens' CreateDomainName Text
- createDomainNameResponse_domainNameConfig :: Lens' CreateDomainNameResponse (Maybe DomainNameConfig)
- createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int
- createFunction_code :: Lens' CreateFunction (Maybe Text)
- createFunction_description :: Lens' CreateFunction (Maybe Text)
- createFunction_functionVersion :: Lens' CreateFunction (Maybe Text)
- createFunction_maxBatchSize :: Lens' CreateFunction (Maybe Natural)
- createFunction_requestMappingTemplate :: Lens' CreateFunction (Maybe Text)
- createFunction_responseMappingTemplate :: Lens' CreateFunction (Maybe Text)
- createFunction_runtime :: Lens' CreateFunction (Maybe AppSyncRuntime)
- createFunction_syncConfig :: Lens' CreateFunction (Maybe SyncConfig)
- createFunction_apiId :: Lens' CreateFunction Text
- createFunction_name :: Lens' CreateFunction Text
- createFunction_dataSourceName :: Lens' CreateFunction Text
- createFunctionResponse_functionConfiguration :: Lens' CreateFunctionResponse (Maybe FunctionConfiguration)
- createFunctionResponse_httpStatus :: Lens' CreateFunctionResponse Int
- createGraphqlApi_additionalAuthenticationProviders :: Lens' CreateGraphqlApi (Maybe [AdditionalAuthenticationProvider])
- createGraphqlApi_lambdaAuthorizerConfig :: Lens' CreateGraphqlApi (Maybe LambdaAuthorizerConfig)
- createGraphqlApi_logConfig :: Lens' CreateGraphqlApi (Maybe LogConfig)
- createGraphqlApi_openIDConnectConfig :: Lens' CreateGraphqlApi (Maybe OpenIDConnectConfig)
- createGraphqlApi_tags :: Lens' CreateGraphqlApi (Maybe (HashMap Text Text))
- createGraphqlApi_userPoolConfig :: Lens' CreateGraphqlApi (Maybe UserPoolConfig)
- createGraphqlApi_xrayEnabled :: Lens' CreateGraphqlApi (Maybe Bool)
- createGraphqlApi_name :: Lens' CreateGraphqlApi Text
- createGraphqlApi_authenticationType :: Lens' CreateGraphqlApi AuthenticationType
- createGraphqlApiResponse_graphqlApi :: Lens' CreateGraphqlApiResponse (Maybe GraphqlApi)
- createGraphqlApiResponse_httpStatus :: Lens' CreateGraphqlApiResponse Int
- createResolver_cachingConfig :: Lens' CreateResolver (Maybe CachingConfig)
- createResolver_code :: Lens' CreateResolver (Maybe Text)
- createResolver_dataSourceName :: Lens' CreateResolver (Maybe Text)
- createResolver_kind :: Lens' CreateResolver (Maybe ResolverKind)
- createResolver_maxBatchSize :: Lens' CreateResolver (Maybe Natural)
- createResolver_pipelineConfig :: Lens' CreateResolver (Maybe PipelineConfig)
- createResolver_requestMappingTemplate :: Lens' CreateResolver (Maybe Text)
- createResolver_responseMappingTemplate :: Lens' CreateResolver (Maybe Text)
- createResolver_runtime :: Lens' CreateResolver (Maybe AppSyncRuntime)
- createResolver_syncConfig :: Lens' CreateResolver (Maybe SyncConfig)
- createResolver_apiId :: Lens' CreateResolver Text
- createResolver_typeName :: Lens' CreateResolver Text
- createResolver_fieldName :: Lens' CreateResolver Text
- createResolverResponse_resolver :: Lens' CreateResolverResponse (Maybe Resolver)
- createResolverResponse_httpStatus :: Lens' CreateResolverResponse Int
- createType_apiId :: Lens' CreateType Text
- createType_definition :: Lens' CreateType Text
- createType_format :: Lens' CreateType TypeDefinitionFormat
- createTypeResponse_type :: Lens' CreateTypeResponse (Maybe Type)
- createTypeResponse_httpStatus :: Lens' CreateTypeResponse Int
- deleteApiCache_apiId :: Lens' DeleteApiCache Text
- deleteApiCacheResponse_httpStatus :: Lens' DeleteApiCacheResponse Int
- deleteApiKey_apiId :: Lens' DeleteApiKey Text
- deleteApiKey_id :: Lens' DeleteApiKey Text
- deleteApiKeyResponse_httpStatus :: Lens' DeleteApiKeyResponse Int
- deleteDataSource_apiId :: Lens' DeleteDataSource Text
- deleteDataSource_name :: Lens' DeleteDataSource Text
- deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int
- deleteDomainName_domainName :: Lens' DeleteDomainName Text
- deleteDomainNameResponse_httpStatus :: Lens' DeleteDomainNameResponse Int
- deleteFunction_apiId :: Lens' DeleteFunction Text
- deleteFunction_functionId :: Lens' DeleteFunction Text
- deleteFunctionResponse_httpStatus :: Lens' DeleteFunctionResponse Int
- deleteGraphqlApi_apiId :: Lens' DeleteGraphqlApi Text
- deleteGraphqlApiResponse_httpStatus :: Lens' DeleteGraphqlApiResponse Int
- deleteResolver_apiId :: Lens' DeleteResolver Text
- deleteResolver_typeName :: Lens' DeleteResolver Text
- deleteResolver_fieldName :: Lens' DeleteResolver Text
- deleteResolverResponse_httpStatus :: Lens' DeleteResolverResponse Int
- deleteType_apiId :: Lens' DeleteType Text
- deleteType_typeName :: Lens' DeleteType Text
- deleteTypeResponse_httpStatus :: Lens' DeleteTypeResponse Int
- disassociateApi_domainName :: Lens' DisassociateApi Text
- disassociateApiResponse_httpStatus :: Lens' DisassociateApiResponse Int
- evaluateCode_function :: Lens' EvaluateCode (Maybe Text)
- evaluateCode_runtime :: Lens' EvaluateCode AppSyncRuntime
- evaluateCode_code :: Lens' EvaluateCode Text
- evaluateCode_context :: Lens' EvaluateCode Text
- evaluateCodeResponse_error :: Lens' EvaluateCodeResponse (Maybe EvaluateCodeErrorDetail)
- evaluateCodeResponse_evaluationResult :: Lens' EvaluateCodeResponse (Maybe Text)
- evaluateCodeResponse_logs :: Lens' EvaluateCodeResponse (Maybe [Text])
- evaluateCodeResponse_httpStatus :: Lens' EvaluateCodeResponse Int
- evaluateMappingTemplate_template :: Lens' EvaluateMappingTemplate Text
- evaluateMappingTemplate_context :: Lens' EvaluateMappingTemplate Text
- evaluateMappingTemplateResponse_error :: Lens' EvaluateMappingTemplateResponse (Maybe ErrorDetail)
- evaluateMappingTemplateResponse_evaluationResult :: Lens' EvaluateMappingTemplateResponse (Maybe Text)
- evaluateMappingTemplateResponse_logs :: Lens' EvaluateMappingTemplateResponse (Maybe [Text])
- evaluateMappingTemplateResponse_httpStatus :: Lens' EvaluateMappingTemplateResponse Int
- flushApiCache_apiId :: Lens' FlushApiCache Text
- flushApiCacheResponse_httpStatus :: Lens' FlushApiCacheResponse Int
- getApiAssociation_domainName :: Lens' GetApiAssociation Text
- getApiAssociationResponse_apiAssociation :: Lens' GetApiAssociationResponse (Maybe ApiAssociation)
- getApiAssociationResponse_httpStatus :: Lens' GetApiAssociationResponse Int
- getApiCache_apiId :: Lens' GetApiCache Text
- getApiCacheResponse_apiCache :: Lens' GetApiCacheResponse (Maybe ApiCache)
- getApiCacheResponse_httpStatus :: Lens' GetApiCacheResponse Int
- getDataSource_apiId :: Lens' GetDataSource Text
- getDataSource_name :: Lens' GetDataSource Text
- getDataSourceResponse_dataSource :: Lens' GetDataSourceResponse (Maybe DataSource)
- getDataSourceResponse_httpStatus :: Lens' GetDataSourceResponse Int
- getDomainName_domainName :: Lens' GetDomainName Text
- getDomainNameResponse_domainNameConfig :: Lens' GetDomainNameResponse (Maybe DomainNameConfig)
- getDomainNameResponse_httpStatus :: Lens' GetDomainNameResponse Int
- getFunction_apiId :: Lens' GetFunction Text
- getFunction_functionId :: Lens' GetFunction Text
- getFunctionResponse_functionConfiguration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration)
- getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int
- getGraphqlApi_apiId :: Lens' GetGraphqlApi Text
- getGraphqlApiResponse_graphqlApi :: Lens' GetGraphqlApiResponse (Maybe GraphqlApi)
- getGraphqlApiResponse_httpStatus :: Lens' GetGraphqlApiResponse Int
- getIntrospectionSchema_includeDirectives :: Lens' GetIntrospectionSchema (Maybe Bool)
- getIntrospectionSchema_apiId :: Lens' GetIntrospectionSchema Text
- getIntrospectionSchema_format :: Lens' GetIntrospectionSchema OutputType
- getIntrospectionSchemaResponse_schema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString)
- getIntrospectionSchemaResponse_httpStatus :: Lens' GetIntrospectionSchemaResponse Int
- getResolver_apiId :: Lens' GetResolver Text
- getResolver_typeName :: Lens' GetResolver Text
- getResolver_fieldName :: Lens' GetResolver Text
- getResolverResponse_resolver :: Lens' GetResolverResponse (Maybe Resolver)
- getResolverResponse_httpStatus :: Lens' GetResolverResponse Int
- getSchemaCreationStatus_apiId :: Lens' GetSchemaCreationStatus Text
- getSchemaCreationStatusResponse_details :: Lens' GetSchemaCreationStatusResponse (Maybe Text)
- getSchemaCreationStatusResponse_status :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus)
- getSchemaCreationStatusResponse_httpStatus :: Lens' GetSchemaCreationStatusResponse Int
- getType_apiId :: Lens' GetType Text
- getType_typeName :: Lens' GetType Text
- getType_format :: Lens' GetType TypeDefinitionFormat
- getTypeResponse_type :: Lens' GetTypeResponse (Maybe Type)
- getTypeResponse_httpStatus :: Lens' GetTypeResponse Int
- listApiKeys_maxResults :: Lens' ListApiKeys (Maybe Natural)
- listApiKeys_nextToken :: Lens' ListApiKeys (Maybe Text)
- listApiKeys_apiId :: Lens' ListApiKeys Text
- listApiKeysResponse_apiKeys :: Lens' ListApiKeysResponse (Maybe [ApiKey])
- listApiKeysResponse_nextToken :: Lens' ListApiKeysResponse (Maybe Text)
- listApiKeysResponse_httpStatus :: Lens' ListApiKeysResponse Int
- listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural)
- listDataSources_nextToken :: Lens' ListDataSources (Maybe Text)
- listDataSources_apiId :: Lens' ListDataSources Text
- listDataSourcesResponse_dataSources :: Lens' ListDataSourcesResponse (Maybe [DataSource])
- listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text)
- listDataSourcesResponse_httpStatus :: Lens' ListDataSourcesResponse Int
- listDomainNames_maxResults :: Lens' ListDomainNames (Maybe Natural)
- listDomainNames_nextToken :: Lens' ListDomainNames (Maybe Text)
- listDomainNamesResponse_domainNameConfigs :: Lens' ListDomainNamesResponse (Maybe [DomainNameConfig])
- listDomainNamesResponse_nextToken :: Lens' ListDomainNamesResponse (Maybe Text)
- listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int
- listFunctions_maxResults :: Lens' ListFunctions (Maybe Natural)
- listFunctions_nextToken :: Lens' ListFunctions (Maybe Text)
- listFunctions_apiId :: Lens' ListFunctions Text
- listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration])
- listFunctionsResponse_nextToken :: Lens' ListFunctionsResponse (Maybe Text)
- listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int
- listGraphqlApis_maxResults :: Lens' ListGraphqlApis (Maybe Natural)
- listGraphqlApis_nextToken :: Lens' ListGraphqlApis (Maybe Text)
- listGraphqlApisResponse_graphqlApis :: Lens' ListGraphqlApisResponse (Maybe [GraphqlApi])
- listGraphqlApisResponse_nextToken :: Lens' ListGraphqlApisResponse (Maybe Text)
- listGraphqlApisResponse_httpStatus :: Lens' ListGraphqlApisResponse Int
- listResolvers_maxResults :: Lens' ListResolvers (Maybe Natural)
- listResolvers_nextToken :: Lens' ListResolvers (Maybe Text)
- listResolvers_apiId :: Lens' ListResolvers Text
- listResolvers_typeName :: Lens' ListResolvers Text
- listResolversResponse_nextToken :: Lens' ListResolversResponse (Maybe Text)
- listResolversResponse_resolvers :: Lens' ListResolversResponse (Maybe [Resolver])
- listResolversResponse_httpStatus :: Lens' ListResolversResponse Int
- listResolversByFunction_maxResults :: Lens' ListResolversByFunction (Maybe Natural)
- listResolversByFunction_nextToken :: Lens' ListResolversByFunction (Maybe Text)
- listResolversByFunction_apiId :: Lens' ListResolversByFunction Text
- listResolversByFunction_functionId :: Lens' ListResolversByFunction Text
- listResolversByFunctionResponse_nextToken :: Lens' ListResolversByFunctionResponse (Maybe Text)
- listResolversByFunctionResponse_resolvers :: Lens' ListResolversByFunctionResponse (Maybe [Resolver])
- listResolversByFunctionResponse_httpStatus :: Lens' ListResolversByFunctionResponse Int
- listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
- listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text))
- listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
- listTypes_maxResults :: Lens' ListTypes (Maybe Natural)
- listTypes_nextToken :: Lens' ListTypes (Maybe Text)
- listTypes_apiId :: Lens' ListTypes Text
- listTypes_format :: Lens' ListTypes TypeDefinitionFormat
- listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text)
- listTypesResponse_types :: Lens' ListTypesResponse (Maybe [Type])
- listTypesResponse_httpStatus :: Lens' ListTypesResponse Int
- startSchemaCreation_apiId :: Lens' StartSchemaCreation Text
- startSchemaCreation_definition :: Lens' StartSchemaCreation ByteString
- startSchemaCreationResponse_status :: Lens' StartSchemaCreationResponse (Maybe SchemaStatus)
- startSchemaCreationResponse_httpStatus :: Lens' StartSchemaCreationResponse Int
- tagResource_resourceArn :: Lens' TagResource Text
- tagResource_tags :: Lens' TagResource (HashMap Text Text)
- tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
- untagResource_resourceArn :: Lens' UntagResource Text
- untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text)
- untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
- updateApiCache_apiId :: Lens' UpdateApiCache Text
- updateApiCache_ttl :: Lens' UpdateApiCache Integer
- updateApiCache_apiCachingBehavior :: Lens' UpdateApiCache ApiCachingBehavior
- updateApiCache_type :: Lens' UpdateApiCache ApiCacheType
- updateApiCacheResponse_apiCache :: Lens' UpdateApiCacheResponse (Maybe ApiCache)
- updateApiCacheResponse_httpStatus :: Lens' UpdateApiCacheResponse Int
- updateApiKey_description :: Lens' UpdateApiKey (Maybe Text)
- updateApiKey_expires :: Lens' UpdateApiKey (Maybe Integer)
- updateApiKey_apiId :: Lens' UpdateApiKey Text
- updateApiKey_id :: Lens' UpdateApiKey Text
- updateApiKeyResponse_apiKey :: Lens' UpdateApiKeyResponse (Maybe ApiKey)
- updateApiKeyResponse_httpStatus :: Lens' UpdateApiKeyResponse Int
- updateDataSource_description :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_dynamodbConfig :: Lens' UpdateDataSource (Maybe DynamodbDataSourceConfig)
- updateDataSource_elasticsearchConfig :: Lens' UpdateDataSource (Maybe ElasticsearchDataSourceConfig)
- updateDataSource_httpConfig :: Lens' UpdateDataSource (Maybe HttpDataSourceConfig)
- updateDataSource_lambdaConfig :: Lens' UpdateDataSource (Maybe LambdaDataSourceConfig)
- updateDataSource_openSearchServiceConfig :: Lens' UpdateDataSource (Maybe OpenSearchServiceDataSourceConfig)
- updateDataSource_relationalDatabaseConfig :: Lens' UpdateDataSource (Maybe RelationalDatabaseDataSourceConfig)
- updateDataSource_serviceRoleArn :: Lens' UpdateDataSource (Maybe Text)
- updateDataSource_apiId :: Lens' UpdateDataSource Text
- updateDataSource_name :: Lens' UpdateDataSource Text
- updateDataSource_type :: Lens' UpdateDataSource DataSourceType
- updateDataSourceResponse_dataSource :: Lens' UpdateDataSourceResponse (Maybe DataSource)
- updateDataSourceResponse_httpStatus :: Lens' UpdateDataSourceResponse Int
- updateDomainName_description :: Lens' UpdateDomainName (Maybe Text)
- updateDomainName_domainName :: Lens' UpdateDomainName Text
- updateDomainNameResponse_domainNameConfig :: Lens' UpdateDomainNameResponse (Maybe DomainNameConfig)
- updateDomainNameResponse_httpStatus :: Lens' UpdateDomainNameResponse Int
- updateFunction_code :: Lens' UpdateFunction (Maybe Text)
- updateFunction_description :: Lens' UpdateFunction (Maybe Text)
- updateFunction_functionVersion :: Lens' UpdateFunction (Maybe Text)
- updateFunction_maxBatchSize :: Lens' UpdateFunction (Maybe Natural)
- updateFunction_requestMappingTemplate :: Lens' UpdateFunction (Maybe Text)
- updateFunction_responseMappingTemplate :: Lens' UpdateFunction (Maybe Text)
- updateFunction_runtime :: Lens' UpdateFunction (Maybe AppSyncRuntime)
- updateFunction_syncConfig :: Lens' UpdateFunction (Maybe SyncConfig)
- updateFunction_apiId :: Lens' UpdateFunction Text
- updateFunction_name :: Lens' UpdateFunction Text
- updateFunction_functionId :: Lens' UpdateFunction Text
- updateFunction_dataSourceName :: Lens' UpdateFunction Text
- updateFunctionResponse_functionConfiguration :: Lens' UpdateFunctionResponse (Maybe FunctionConfiguration)
- updateFunctionResponse_httpStatus :: Lens' UpdateFunctionResponse Int
- updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider])
- updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType)
- updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig)
- updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig)
- updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig)
- updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig)
- updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool)
- updateGraphqlApi_apiId :: Lens' UpdateGraphqlApi Text
- updateGraphqlApi_name :: Lens' UpdateGraphqlApi Text
- updateGraphqlApiResponse_graphqlApi :: Lens' UpdateGraphqlApiResponse (Maybe GraphqlApi)
- updateGraphqlApiResponse_httpStatus :: Lens' UpdateGraphqlApiResponse Int
- updateResolver_cachingConfig :: Lens' UpdateResolver (Maybe CachingConfig)
- updateResolver_code :: Lens' UpdateResolver (Maybe Text)
- updateResolver_dataSourceName :: Lens' UpdateResolver (Maybe Text)
- updateResolver_kind :: Lens' UpdateResolver (Maybe ResolverKind)
- updateResolver_maxBatchSize :: Lens' UpdateResolver (Maybe Natural)
- updateResolver_pipelineConfig :: Lens' UpdateResolver (Maybe PipelineConfig)
- updateResolver_requestMappingTemplate :: Lens' UpdateResolver (Maybe Text)
- updateResolver_responseMappingTemplate :: Lens' UpdateResolver (Maybe Text)
- updateResolver_runtime :: Lens' UpdateResolver (Maybe AppSyncRuntime)
- updateResolver_syncConfig :: Lens' UpdateResolver (Maybe SyncConfig)
- updateResolver_apiId :: Lens' UpdateResolver Text
- updateResolver_typeName :: Lens' UpdateResolver Text
- updateResolver_fieldName :: Lens' UpdateResolver Text
- updateResolverResponse_resolver :: Lens' UpdateResolverResponse (Maybe Resolver)
- updateResolverResponse_httpStatus :: Lens' UpdateResolverResponse Int
- updateType_definition :: Lens' UpdateType (Maybe Text)
- updateType_apiId :: Lens' UpdateType Text
- updateType_typeName :: Lens' UpdateType Text
- updateType_format :: Lens' UpdateType TypeDefinitionFormat
- updateTypeResponse_type :: Lens' UpdateTypeResponse (Maybe Type)
- updateTypeResponse_httpStatus :: Lens' UpdateTypeResponse Int
- additionalAuthenticationProvider_authenticationType :: Lens' AdditionalAuthenticationProvider (Maybe AuthenticationType)
- additionalAuthenticationProvider_lambdaAuthorizerConfig :: Lens' AdditionalAuthenticationProvider (Maybe LambdaAuthorizerConfig)
- additionalAuthenticationProvider_openIDConnectConfig :: Lens' AdditionalAuthenticationProvider (Maybe OpenIDConnectConfig)
- additionalAuthenticationProvider_userPoolConfig :: Lens' AdditionalAuthenticationProvider (Maybe CognitoUserPoolConfig)
- apiAssociation_apiId :: Lens' ApiAssociation (Maybe Text)
- apiAssociation_associationStatus :: Lens' ApiAssociation (Maybe AssociationStatus)
- apiAssociation_deploymentDetail :: Lens' ApiAssociation (Maybe Text)
- apiAssociation_domainName :: Lens' ApiAssociation (Maybe Text)
- apiCache_apiCachingBehavior :: Lens' ApiCache (Maybe ApiCachingBehavior)
- apiCache_atRestEncryptionEnabled :: Lens' ApiCache (Maybe Bool)
- apiCache_status :: Lens' ApiCache (Maybe ApiCacheStatus)
- apiCache_transitEncryptionEnabled :: Lens' ApiCache (Maybe Bool)
- apiCache_ttl :: Lens' ApiCache (Maybe Integer)
- apiCache_type :: Lens' ApiCache (Maybe ApiCacheType)
- apiKey_deletes :: Lens' ApiKey (Maybe Integer)
- apiKey_description :: Lens' ApiKey (Maybe Text)
- apiKey_expires :: Lens' ApiKey (Maybe Integer)
- apiKey_id :: Lens' ApiKey (Maybe Text)
- appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName
- appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text
- authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig)
- authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType
- awsIamConfig_signingRegion :: Lens' AwsIamConfig (Maybe Text)
- awsIamConfig_signingServiceName :: Lens' AwsIamConfig (Maybe Text)
- cachingConfig_cachingKeys :: Lens' CachingConfig (Maybe [Text])
- cachingConfig_ttl :: Lens' CachingConfig Integer
- codeError_errorType :: Lens' CodeError (Maybe Text)
- codeError_location :: Lens' CodeError (Maybe CodeErrorLocation)
- codeError_value :: Lens' CodeError (Maybe Text)
- codeErrorLocation_column :: Lens' CodeErrorLocation (Maybe Int)
- codeErrorLocation_line :: Lens' CodeErrorLocation (Maybe Int)
- codeErrorLocation_span :: Lens' CodeErrorLocation (Maybe Int)
- cognitoUserPoolConfig_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text)
- cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text
- cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text
- dataSource_dataSourceArn :: Lens' DataSource (Maybe Text)
- dataSource_description :: Lens' DataSource (Maybe Text)
- dataSource_dynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig)
- dataSource_elasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig)
- dataSource_httpConfig :: Lens' DataSource (Maybe HttpDataSourceConfig)
- dataSource_lambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig)
- dataSource_name :: Lens' DataSource (Maybe Text)
- dataSource_openSearchServiceConfig :: Lens' DataSource (Maybe OpenSearchServiceDataSourceConfig)
- dataSource_relationalDatabaseConfig :: Lens' DataSource (Maybe RelationalDatabaseDataSourceConfig)
- dataSource_serviceRoleArn :: Lens' DataSource (Maybe Text)
- dataSource_type :: Lens' DataSource (Maybe DataSourceType)
- deltaSyncConfig_baseTableTTL :: Lens' DeltaSyncConfig (Maybe Integer)
- deltaSyncConfig_deltaSyncTableName :: Lens' DeltaSyncConfig (Maybe Text)
- deltaSyncConfig_deltaSyncTableTTL :: Lens' DeltaSyncConfig (Maybe Integer)
- domainNameConfig_appsyncDomainName :: Lens' DomainNameConfig (Maybe Text)
- domainNameConfig_certificateArn :: Lens' DomainNameConfig (Maybe Text)
- domainNameConfig_description :: Lens' DomainNameConfig (Maybe Text)
- domainNameConfig_domainName :: Lens' DomainNameConfig (Maybe Text)
- domainNameConfig_hostedZoneId :: Lens' DomainNameConfig (Maybe Text)
- dynamodbDataSourceConfig_deltaSyncConfig :: Lens' DynamodbDataSourceConfig (Maybe DeltaSyncConfig)
- dynamodbDataSourceConfig_useCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool)
- dynamodbDataSourceConfig_versioned :: Lens' DynamodbDataSourceConfig (Maybe Bool)
- dynamodbDataSourceConfig_tableName :: Lens' DynamodbDataSourceConfig Text
- dynamodbDataSourceConfig_awsRegion :: Lens' DynamodbDataSourceConfig Text
- elasticsearchDataSourceConfig_endpoint :: Lens' ElasticsearchDataSourceConfig Text
- elasticsearchDataSourceConfig_awsRegion :: Lens' ElasticsearchDataSourceConfig Text
- errorDetail_message :: Lens' ErrorDetail (Maybe Text)
- evaluateCodeErrorDetail_codeErrors :: Lens' EvaluateCodeErrorDetail (Maybe [CodeError])
- evaluateCodeErrorDetail_message :: Lens' EvaluateCodeErrorDetail (Maybe Text)
- functionConfiguration_code :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_maxBatchSize :: Lens' FunctionConfiguration (Maybe Natural)
- functionConfiguration_name :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text)
- functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe AppSyncRuntime)
- functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig)
- graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider])
- graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_arn :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType)
- graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig)
- graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig)
- graphqlApi_name :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig)
- graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text))
- graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text))
- graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig)
- graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool)
- httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig)
- httpDataSourceConfig_endpoint :: Lens' HttpDataSourceConfig (Maybe Text)
- lambdaAuthorizerConfig_authorizerResultTtlInSeconds :: Lens' LambdaAuthorizerConfig (Maybe Natural)
- lambdaAuthorizerConfig_identityValidationExpression :: Lens' LambdaAuthorizerConfig (Maybe Text)
- lambdaAuthorizerConfig_authorizerUri :: Lens' LambdaAuthorizerConfig Text
- lambdaConflictHandlerConfig_lambdaConflictHandlerArn :: Lens' LambdaConflictHandlerConfig (Maybe Text)
- lambdaDataSourceConfig_lambdaFunctionArn :: Lens' LambdaDataSourceConfig Text
- logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool)
- logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel
- logConfig_cloudWatchLogsRoleArn :: Lens' LogConfig Text
- openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer)
- openIDConnectConfig_clientId :: Lens' OpenIDConnectConfig (Maybe Text)
- openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer)
- openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text
- openSearchServiceDataSourceConfig_endpoint :: Lens' OpenSearchServiceDataSourceConfig Text
- openSearchServiceDataSourceConfig_awsRegion :: Lens' OpenSearchServiceDataSourceConfig Text
- pipelineConfig_functions :: Lens' PipelineConfig (Maybe [Text])
- rdsHttpEndpointConfig_awsRegion :: Lens' RdsHttpEndpointConfig (Maybe Text)
- rdsHttpEndpointConfig_awsSecretStoreArn :: Lens' RdsHttpEndpointConfig (Maybe Text)
- rdsHttpEndpointConfig_databaseName :: Lens' RdsHttpEndpointConfig (Maybe Text)
- rdsHttpEndpointConfig_dbClusterIdentifier :: Lens' RdsHttpEndpointConfig (Maybe Text)
- rdsHttpEndpointConfig_schema :: Lens' RdsHttpEndpointConfig (Maybe Text)
- relationalDatabaseDataSourceConfig_rdsHttpEndpointConfig :: Lens' RelationalDatabaseDataSourceConfig (Maybe RdsHttpEndpointConfig)
- relationalDatabaseDataSourceConfig_relationalDatabaseSourceType :: Lens' RelationalDatabaseDataSourceConfig (Maybe RelationalDatabaseSourceType)
- resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig)
- resolver_code :: Lens' Resolver (Maybe Text)
- resolver_dataSourceName :: Lens' Resolver (Maybe Text)
- resolver_fieldName :: Lens' Resolver (Maybe Text)
- resolver_kind :: Lens' Resolver (Maybe ResolverKind)
- resolver_maxBatchSize :: Lens' Resolver (Maybe Natural)
- resolver_pipelineConfig :: Lens' Resolver (Maybe PipelineConfig)
- resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text)
- resolver_resolverArn :: Lens' Resolver (Maybe Text)
- resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text)
- resolver_runtime :: Lens' Resolver (Maybe AppSyncRuntime)
- resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig)
- resolver_typeName :: Lens' Resolver (Maybe Text)
- syncConfig_conflictDetection :: Lens' SyncConfig (Maybe ConflictDetectionType)
- syncConfig_conflictHandler :: Lens' SyncConfig (Maybe ConflictHandlerType)
- syncConfig_lambdaConflictHandlerConfig :: Lens' SyncConfig (Maybe LambdaConflictHandlerConfig)
- type_arn :: Lens' Type (Maybe Text)
- type_definition :: Lens' Type (Maybe Text)
- type_description :: Lens' Type (Maybe Text)
- type_format :: Lens' Type (Maybe TypeDefinitionFormat)
- type_name :: Lens' Type (Maybe Text)
- userPoolConfig_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text)
- userPoolConfig_userPoolId :: Lens' UserPoolConfig Text
- userPoolConfig_awsRegion :: Lens' UserPoolConfig Text
- userPoolConfig_defaultAction :: Lens' UserPoolConfig DefaultAction
Operations
AssociateApi
associateApi_domainName :: Lens' AssociateApi Text Source #
The domain name.
associateApi_apiId :: Lens' AssociateApi Text Source #
The API ID.
associateApiResponse_apiAssociation :: Lens' AssociateApiResponse (Maybe ApiAssociation) Source #
The ApiAssociation
object.
associateApiResponse_httpStatus :: Lens' AssociateApiResponse Int Source #
The response's http status code.
CreateApiCache
createApiCache_atRestEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool) Source #
At-rest encryption flag for cache. You cannot update this setting after creation.
createApiCache_transitEncryptionEnabled :: Lens' CreateApiCache (Maybe Bool) Source #
Transit encryption flag when connecting to cache. You cannot update this setting after creation.
createApiCache_apiId :: Lens' CreateApiCache Text Source #
The GraphQL API ID.
createApiCache_ttl :: Lens' CreateApiCache Integer Source #
TTL in seconds for cache entries.
Valid values are 1–3,600 seconds.
createApiCache_apiCachingBehavior :: Lens' CreateApiCache ApiCachingBehavior Source #
Caching behavior.
- FULL_REQUEST_CACHING: All requests are fully cached.
- PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
createApiCache_type :: Lens' CreateApiCache ApiCacheType Source #
The cache instance type. Valid values are
SMALL
MEDIUM
LARGE
XLARGE
LARGE_2X
LARGE_4X
LARGE_8X
(not available in all regions)LARGE_12X
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
- T2_SMALL: A t2.small instance type.
- T2_MEDIUM: A t2.medium instance type.
- R4_LARGE: A r4.large instance type.
- R4_XLARGE: A r4.xlarge instance type.
- R4_2XLARGE: A r4.2xlarge instance type.
- R4_4XLARGE: A r4.4xlarge instance type.
- R4_8XLARGE: A r4.8xlarge instance type.
createApiCacheResponse_apiCache :: Lens' CreateApiCacheResponse (Maybe ApiCache) Source #
The ApiCache
object.
createApiCacheResponse_httpStatus :: Lens' CreateApiCacheResponse Int Source #
The response's http status code.
CreateApiKey
createApiKey_description :: Lens' CreateApiKey (Maybe Text) Source #
A description of the purpose of the API key.
createApiKey_expires :: Lens' CreateApiKey (Maybe Integer) Source #
From the creation time, the 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 .
createApiKey_apiId :: Lens' CreateApiKey Text Source #
The ID for your GraphQL API.
createApiKeyResponse_apiKey :: Lens' CreateApiKeyResponse (Maybe ApiKey) Source #
The API key.
createApiKeyResponse_httpStatus :: Lens' CreateApiKeyResponse Int Source #
The response's http status code.
CreateDataSource
createDataSource_description :: Lens' CreateDataSource (Maybe Text) Source #
A description of the DataSource
.
createDataSource_dynamodbConfig :: Lens' CreateDataSource (Maybe DynamodbDataSourceConfig) Source #
Amazon DynamoDB settings.
createDataSource_elasticsearchConfig :: Lens' CreateDataSource (Maybe ElasticsearchDataSourceConfig) Source #
Amazon OpenSearch Service settings.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. For new data sources, use CreateDataSourceRequest$openSearchServiceConfig to create an OpenSearch data source.
createDataSource_httpConfig :: Lens' CreateDataSource (Maybe HttpDataSourceConfig) Source #
HTTP endpoint settings.
createDataSource_lambdaConfig :: Lens' CreateDataSource (Maybe LambdaDataSourceConfig) Source #
Lambda settings.
createDataSource_openSearchServiceConfig :: Lens' CreateDataSource (Maybe OpenSearchServiceDataSourceConfig) Source #
Amazon OpenSearch Service settings.
createDataSource_relationalDatabaseConfig :: Lens' CreateDataSource (Maybe RelationalDatabaseDataSourceConfig) Source #
Relational database settings.
createDataSource_serviceRoleArn :: Lens' CreateDataSource (Maybe Text) Source #
The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.
createDataSource_apiId :: Lens' CreateDataSource Text Source #
The API ID for the GraphQL API for the DataSource
.
createDataSource_name :: Lens' CreateDataSource Text Source #
A user-supplied name for the DataSource
.
createDataSource_type :: Lens' CreateDataSource DataSourceType Source #
The type of the DataSource
.
createDataSourceResponse_dataSource :: Lens' CreateDataSourceResponse (Maybe DataSource) Source #
The DataSource
object.
createDataSourceResponse_httpStatus :: Lens' CreateDataSourceResponse Int Source #
The response's http status code.
CreateDomainName
createDomainName_description :: Lens' CreateDomainName (Maybe Text) Source #
A description of the DomainName
.
createDomainName_domainName :: Lens' CreateDomainName Text Source #
The domain name.
createDomainName_certificateArn :: Lens' CreateDomainName Text Source #
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
createDomainNameResponse_domainNameConfig :: Lens' CreateDomainNameResponse (Maybe DomainNameConfig) Source #
The configuration for the DomainName
.
createDomainNameResponse_httpStatus :: Lens' CreateDomainNameResponse Int Source #
The response's http status code.
CreateFunction
createFunction_code :: Lens' CreateFunction (Maybe Text) Source #
The function
code that contains the request and response functions.
When code is used, the runtime
is required. The runtime
value must
be APPSYNC_JS
.
createFunction_description :: Lens' CreateFunction (Maybe Text) Source #
The Function
description.
createFunction_functionVersion :: Lens' CreateFunction (Maybe Text) Source #
The version
of the request mapping template. Currently, the supported
value is 2018-05-29. Note that when using VTL and mapping templates, the
functionVersion
is required.
createFunction_maxBatchSize :: Lens' CreateFunction (Maybe Natural) Source #
The maximum batching size for a resolver.
createFunction_requestMappingTemplate :: Lens' CreateFunction (Maybe Text) Source #
The Function
request mapping template. Functions support only the
2018-05-29 version of the request mapping template.
createFunction_responseMappingTemplate :: Lens' CreateFunction (Maybe Text) Source #
The Function
response mapping template.
createFunction_runtime :: Lens' CreateFunction (Maybe AppSyncRuntime) Source #
Undocumented member.
createFunction_syncConfig :: Lens' CreateFunction (Maybe SyncConfig) Source #
Undocumented member.
createFunction_apiId :: Lens' CreateFunction Text Source #
The GraphQL API ID.
createFunction_name :: Lens' CreateFunction Text Source #
The Function
name. The function name does not have to be unique.
createFunction_dataSourceName :: Lens' CreateFunction Text Source #
The Function
DataSource
name.
createFunctionResponse_functionConfiguration :: Lens' CreateFunctionResponse (Maybe FunctionConfiguration) Source #
The Function
object.
createFunctionResponse_httpStatus :: Lens' CreateFunctionResponse Int Source #
The response's http status code.
CreateGraphqlApi
createGraphqlApi_additionalAuthenticationProviders :: Lens' CreateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #
A list of additional authentication providers for the GraphqlApi
API.
createGraphqlApi_lambdaAuthorizerConfig :: Lens' CreateGraphqlApi (Maybe LambdaAuthorizerConfig) Source #
Configuration for Lambda function authorization.
createGraphqlApi_logConfig :: Lens' CreateGraphqlApi (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration.
createGraphqlApi_openIDConnectConfig :: Lens' CreateGraphqlApi (Maybe OpenIDConnectConfig) Source #
The OIDC configuration.
createGraphqlApi_tags :: Lens' CreateGraphqlApi (Maybe (HashMap Text Text)) Source #
A TagMap
object.
createGraphqlApi_userPoolConfig :: Lens' CreateGraphqlApi (Maybe UserPoolConfig) Source #
The Amazon Cognito user pool configuration.
createGraphqlApi_xrayEnabled :: Lens' CreateGraphqlApi (Maybe Bool) Source #
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
createGraphqlApi_name :: Lens' CreateGraphqlApi Text Source #
A user-supplied name for the GraphqlApi
.
createGraphqlApi_authenticationType :: Lens' CreateGraphqlApi AuthenticationType Source #
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
createGraphqlApiResponse_graphqlApi :: Lens' CreateGraphqlApiResponse (Maybe GraphqlApi) Source #
The GraphqlApi
.
createGraphqlApiResponse_httpStatus :: Lens' CreateGraphqlApiResponse Int Source #
The response's http status code.
CreateResolver
createResolver_cachingConfig :: Lens' CreateResolver (Maybe CachingConfig) Source #
The caching configuration for the resolver.
createResolver_code :: Lens' CreateResolver (Maybe Text) Source #
The resolver
code that contains the request and response functions.
When code is used, the runtime
is required. The runtime
value must
be APPSYNC_JS
.
createResolver_dataSourceName :: Lens' CreateResolver (Maybe Text) Source #
The name of the data source for which the resolver is being created.
createResolver_kind :: Lens' CreateResolver (Maybe ResolverKind) Source #
The resolver type.
- UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
- PIPELINE: A PIPELINE resolver type. You can use a PIPELINE
resolver to invoke a series of
Function
objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
createResolver_maxBatchSize :: Lens' CreateResolver (Maybe Natural) Source #
The maximum batching size for a resolver.
createResolver_pipelineConfig :: Lens' CreateResolver (Maybe PipelineConfig) Source #
The PipelineConfig
.
createResolver_requestMappingTemplate :: Lens' CreateResolver (Maybe Text) Source #
The mapping template to use 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).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
createResolver_responseMappingTemplate :: Lens' CreateResolver (Maybe Text) Source #
The mapping template to use for responses from the data source.
createResolver_runtime :: Lens' CreateResolver (Maybe AppSyncRuntime) Source #
Undocumented member.
createResolver_syncConfig :: Lens' CreateResolver (Maybe SyncConfig) Source #
The SyncConfig
for a resolver attached to a versioned data source.
createResolver_apiId :: Lens' CreateResolver Text Source #
The ID for the GraphQL API for which the resolver is being created.
createResolver_typeName :: Lens' CreateResolver Text Source #
The name of the Type
.
createResolver_fieldName :: Lens' CreateResolver Text Source #
The name of the field to attach the resolver to.
createResolverResponse_resolver :: Lens' CreateResolverResponse (Maybe Resolver) Source #
The Resolver
object.
createResolverResponse_httpStatus :: Lens' CreateResolverResponse Int Source #
The response's http status code.
CreateType
createType_apiId :: Lens' CreateType Text Source #
The API ID.
createType_definition :: Lens' CreateType Text Source #
The type definition, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
createType_format :: Lens' CreateType TypeDefinitionFormat Source #
The type format: SDL or JSON.
createTypeResponse_type :: Lens' CreateTypeResponse (Maybe Type) Source #
The Type
object.
createTypeResponse_httpStatus :: Lens' CreateTypeResponse Int Source #
The response's http status code.
DeleteApiCache
deleteApiCache_apiId :: Lens' DeleteApiCache Text Source #
The API ID.
deleteApiCacheResponse_httpStatus :: Lens' DeleteApiCacheResponse Int Source #
The response's http status code.
DeleteApiKey
deleteApiKey_apiId :: Lens' DeleteApiKey Text Source #
The API ID.
deleteApiKey_id :: Lens' DeleteApiKey Text Source #
The ID for the API key.
deleteApiKeyResponse_httpStatus :: Lens' DeleteApiKeyResponse Int Source #
The response's http status code.
DeleteDataSource
deleteDataSource_apiId :: Lens' DeleteDataSource Text Source #
The API ID.
deleteDataSource_name :: Lens' DeleteDataSource Text Source #
The name of the data source.
deleteDataSourceResponse_httpStatus :: Lens' DeleteDataSourceResponse Int Source #
The response's http status code.
DeleteDomainName
deleteDomainName_domainName :: Lens' DeleteDomainName Text Source #
The domain name.
deleteDomainNameResponse_httpStatus :: Lens' DeleteDomainNameResponse Int Source #
The response's http status code.
DeleteFunction
deleteFunction_apiId :: Lens' DeleteFunction Text Source #
The GraphQL API ID.
deleteFunction_functionId :: Lens' DeleteFunction Text Source #
The Function
ID.
deleteFunctionResponse_httpStatus :: Lens' DeleteFunctionResponse Int Source #
The response's http status code.
DeleteGraphqlApi
deleteGraphqlApi_apiId :: Lens' DeleteGraphqlApi Text Source #
The API ID.
deleteGraphqlApiResponse_httpStatus :: Lens' DeleteGraphqlApiResponse Int Source #
The response's http status code.
DeleteResolver
deleteResolver_apiId :: Lens' DeleteResolver Text Source #
The API ID.
deleteResolver_typeName :: Lens' DeleteResolver Text Source #
The name of the resolver type.
deleteResolver_fieldName :: Lens' DeleteResolver Text Source #
The resolver field name.
deleteResolverResponse_httpStatus :: Lens' DeleteResolverResponse Int Source #
The response's http status code.
DeleteType
deleteType_apiId :: Lens' DeleteType Text Source #
The API ID.
deleteType_typeName :: Lens' DeleteType Text Source #
The type name.
deleteTypeResponse_httpStatus :: Lens' DeleteTypeResponse Int Source #
The response's http status code.
DisassociateApi
disassociateApi_domainName :: Lens' DisassociateApi Text Source #
The domain name.
disassociateApiResponse_httpStatus :: Lens' DisassociateApiResponse Int Source #
The response's http status code.
EvaluateCode
evaluateCode_function :: Lens' EvaluateCode (Maybe Text) Source #
The function within the code to be evaluated. If provided, the valid
values are request
and response
.
evaluateCode_runtime :: Lens' EvaluateCode AppSyncRuntime Source #
The runtime to be used when evaluating the code. Currently, only the
APPSYNC_JS
runtime is supported.
evaluateCode_code :: Lens' EvaluateCode Text Source #
The code definition to be evaluated. Note that code
and runtime
are
both required for this action. The runtime
value must be APPSYNC_JS
.
evaluateCode_context :: Lens' EvaluateCode Text Source #
The map that holds all of the contextual information for your resolver
invocation. A context
is required for this action.
evaluateCodeResponse_error :: Lens' EvaluateCodeResponse (Maybe EvaluateCodeErrorDetail) Source #
Contains the payload of the response error.
evaluateCodeResponse_evaluationResult :: Lens' EvaluateCodeResponse (Maybe Text) Source #
The result of the evaluation operation.
evaluateCodeResponse_logs :: Lens' EvaluateCodeResponse (Maybe [Text]) Source #
A list of logs that were generated by calls to util.log.info
and
util.log.error
in the evaluated code.
evaluateCodeResponse_httpStatus :: Lens' EvaluateCodeResponse Int Source #
The response's http status code.
EvaluateMappingTemplate
evaluateMappingTemplate_template :: Lens' EvaluateMappingTemplate Text Source #
The mapping template; this can be a request or response template. A
template
is required for this action.
evaluateMappingTemplate_context :: Lens' EvaluateMappingTemplate Text Source #
The map that holds all of the contextual information for your resolver
invocation. A context
is required for this action.
evaluateMappingTemplateResponse_error :: Lens' EvaluateMappingTemplateResponse (Maybe ErrorDetail) Source #
The ErrorDetail
object.
evaluateMappingTemplateResponse_evaluationResult :: Lens' EvaluateMappingTemplateResponse (Maybe Text) Source #
The mapping template; this can be a request or response template.
evaluateMappingTemplateResponse_logs :: Lens' EvaluateMappingTemplateResponse (Maybe [Text]) Source #
A list of logs that were generated by calls to util.log.info
and
util.log.error
in the evaluated code.
evaluateMappingTemplateResponse_httpStatus :: Lens' EvaluateMappingTemplateResponse Int Source #
The response's http status code.
FlushApiCache
flushApiCache_apiId :: Lens' FlushApiCache Text Source #
The API ID.
flushApiCacheResponse_httpStatus :: Lens' FlushApiCacheResponse Int Source #
The response's http status code.
GetApiAssociation
getApiAssociation_domainName :: Lens' GetApiAssociation Text Source #
The domain name.
getApiAssociationResponse_apiAssociation :: Lens' GetApiAssociationResponse (Maybe ApiAssociation) Source #
The ApiAssociation
object.
getApiAssociationResponse_httpStatus :: Lens' GetApiAssociationResponse Int Source #
The response's http status code.
GetApiCache
getApiCache_apiId :: Lens' GetApiCache Text Source #
The API ID.
getApiCacheResponse_apiCache :: Lens' GetApiCacheResponse (Maybe ApiCache) Source #
The ApiCache
object.
getApiCacheResponse_httpStatus :: Lens' GetApiCacheResponse Int Source #
The response's http status code.
GetDataSource
getDataSource_apiId :: Lens' GetDataSource Text Source #
The API ID.
getDataSource_name :: Lens' GetDataSource Text Source #
The name of the data source.
getDataSourceResponse_dataSource :: Lens' GetDataSourceResponse (Maybe DataSource) Source #
The DataSource
object.
getDataSourceResponse_httpStatus :: Lens' GetDataSourceResponse Int Source #
The response's http status code.
GetDomainName
getDomainName_domainName :: Lens' GetDomainName Text Source #
The domain name.
getDomainNameResponse_domainNameConfig :: Lens' GetDomainNameResponse (Maybe DomainNameConfig) Source #
The configuration for the DomainName
.
getDomainNameResponse_httpStatus :: Lens' GetDomainNameResponse Int Source #
The response's http status code.
GetFunction
getFunction_apiId :: Lens' GetFunction Text Source #
The GraphQL API ID.
getFunction_functionId :: Lens' GetFunction Text Source #
The Function
ID.
getFunctionResponse_functionConfiguration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration) Source #
The Function
object.
getFunctionResponse_httpStatus :: Lens' GetFunctionResponse Int Source #
The response's http status code.
GetGraphqlApi
getGraphqlApi_apiId :: Lens' GetGraphqlApi Text Source #
The API ID for the GraphQL API.
getGraphqlApiResponse_graphqlApi :: Lens' GetGraphqlApiResponse (Maybe GraphqlApi) Source #
The GraphqlApi
object.
getGraphqlApiResponse_httpStatus :: Lens' GetGraphqlApiResponse Int Source #
The response's http status code.
GetIntrospectionSchema
getIntrospectionSchema_includeDirectives :: Lens' GetIntrospectionSchema (Maybe Bool) Source #
A flag that specifies whether the schema introspection should contain directives.
getIntrospectionSchema_apiId :: Lens' GetIntrospectionSchema Text Source #
The API ID.
getIntrospectionSchema_format :: Lens' GetIntrospectionSchema OutputType Source #
The schema format: SDL or JSON.
getIntrospectionSchemaResponse_schema :: Lens' GetIntrospectionSchemaResponse (Maybe ByteString) Source #
The schema, in GraphQL Schema Definition Language (SDL) format.
For more information, see the GraphQL SDL documentation.
getIntrospectionSchemaResponse_httpStatus :: Lens' GetIntrospectionSchemaResponse Int Source #
The response's http status code.
GetResolver
getResolver_apiId :: Lens' GetResolver Text Source #
The API ID.
getResolver_typeName :: Lens' GetResolver Text Source #
The resolver type name.
getResolver_fieldName :: Lens' GetResolver Text Source #
The resolver field name.
getResolverResponse_resolver :: Lens' GetResolverResponse (Maybe Resolver) Source #
The Resolver
object.
getResolverResponse_httpStatus :: Lens' GetResolverResponse Int Source #
The response's http status code.
GetSchemaCreationStatus
getSchemaCreationStatus_apiId :: Lens' GetSchemaCreationStatus Text Source #
The API ID.
getSchemaCreationStatusResponse_details :: Lens' GetSchemaCreationStatusResponse (Maybe Text) Source #
Detailed information about the status of the schema creation operation.
getSchemaCreationStatusResponse_status :: Lens' GetSchemaCreationStatusResponse (Maybe SchemaStatus) Source #
The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add data.
getSchemaCreationStatusResponse_httpStatus :: Lens' GetSchemaCreationStatusResponse Int Source #
The response's http status code.
GetType
getType_format :: Lens' GetType TypeDefinitionFormat Source #
The type format: SDL or JSON.
getTypeResponse_type :: Lens' GetTypeResponse (Maybe Type) Source #
The Type
object.
getTypeResponse_httpStatus :: Lens' GetTypeResponse Int Source #
The response's http status code.
ListApiKeys
listApiKeys_maxResults :: Lens' ListApiKeys (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listApiKeys_nextToken :: Lens' ListApiKeys (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listApiKeys_apiId :: Lens' ListApiKeys Text Source #
The API ID.
listApiKeysResponse_apiKeys :: Lens' ListApiKeysResponse (Maybe [ApiKey]) Source #
The ApiKey
objects.
listApiKeysResponse_nextToken :: Lens' ListApiKeysResponse (Maybe Text) Source #
An identifier to pass in the next request to this operation to return the next set of items in the list.
listApiKeysResponse_httpStatus :: Lens' ListApiKeysResponse Int Source #
The response's http status code.
ListDataSources
listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listDataSources_nextToken :: Lens' ListDataSources (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listDataSources_apiId :: Lens' ListDataSources Text Source #
The API ID.
listDataSourcesResponse_dataSources :: Lens' ListDataSourcesResponse (Maybe [DataSource]) Source #
The DataSource
objects.
listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text) Source #
An identifier to pass in the next request to this operation to return the next set of items in the list.
listDataSourcesResponse_httpStatus :: Lens' ListDataSourcesResponse Int Source #
The response's http status code.
ListDomainNames
listDomainNames_maxResults :: Lens' ListDomainNames (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listDomainNames_nextToken :: Lens' ListDomainNames (Maybe Text) Source #
The API token.
listDomainNamesResponse_domainNameConfigs :: Lens' ListDomainNamesResponse (Maybe [DomainNameConfig]) Source #
Lists configurations for multiple domain names.
listDomainNamesResponse_nextToken :: Lens' ListDomainNamesResponse (Maybe Text) Source #
The API token.
listDomainNamesResponse_httpStatus :: Lens' ListDomainNamesResponse Int Source #
The response's http status code.
ListFunctions
listFunctions_maxResults :: Lens' ListFunctions (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listFunctions_nextToken :: Lens' ListFunctions (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listFunctions_apiId :: Lens' ListFunctions Text Source #
The GraphQL API ID.
listFunctionsResponse_functions :: Lens' ListFunctionsResponse (Maybe [FunctionConfiguration]) Source #
A list of Function
objects.
listFunctionsResponse_nextToken :: Lens' ListFunctionsResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listFunctionsResponse_httpStatus :: Lens' ListFunctionsResponse Int Source #
The response's http status code.
ListGraphqlApis
listGraphqlApis_maxResults :: Lens' ListGraphqlApis (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listGraphqlApis_nextToken :: Lens' ListGraphqlApis (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listGraphqlApisResponse_graphqlApis :: Lens' ListGraphqlApisResponse (Maybe [GraphqlApi]) Source #
The GraphqlApi
objects.
listGraphqlApisResponse_nextToken :: Lens' ListGraphqlApisResponse (Maybe Text) Source #
An identifier to pass in the next request to this operation to return the next set of items in the list.
listGraphqlApisResponse_httpStatus :: Lens' ListGraphqlApisResponse Int Source #
The response's http status code.
ListResolvers
listResolvers_maxResults :: Lens' ListResolvers (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listResolvers_nextToken :: Lens' ListResolvers (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listResolvers_apiId :: Lens' ListResolvers Text Source #
The API ID.
listResolvers_typeName :: Lens' ListResolvers Text Source #
The type name.
listResolversResponse_nextToken :: Lens' ListResolversResponse (Maybe Text) Source #
An identifier to pass in the next request to this operation to return the next set of items in the list.
listResolversResponse_resolvers :: Lens' ListResolversResponse (Maybe [Resolver]) Source #
The Resolver
objects.
listResolversResponse_httpStatus :: Lens' ListResolversResponse Int Source #
The response's http status code.
ListResolversByFunction
listResolversByFunction_maxResults :: Lens' ListResolversByFunction (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listResolversByFunction_nextToken :: Lens' ListResolversByFunction (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listResolversByFunction_apiId :: Lens' ListResolversByFunction Text Source #
The API ID.
listResolversByFunction_functionId :: Lens' ListResolversByFunction Text Source #
The function ID.
listResolversByFunctionResponse_nextToken :: Lens' ListResolversByFunctionResponse (Maybe Text) Source #
An identifier that you can use to return the next set of items in the list.
listResolversByFunctionResponse_resolvers :: Lens' ListResolversByFunctionResponse (Maybe [Resolver]) Source #
The list of resolvers.
listResolversByFunctionResponse_httpStatus :: Lens' ListResolversByFunctionResponse Int Source #
The response's http status code.
ListTagsForResource
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text Source #
The GraphqlApi
Amazon Resource Name (ARN).
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe (HashMap Text Text)) Source #
A TagMap
object.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int Source #
The response's http status code.
ListTypes
listTypes_maxResults :: Lens' ListTypes (Maybe Natural) Source #
The maximum number of results that you want the request to return.
listTypes_nextToken :: Lens' ListTypes (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
listTypes_format :: Lens' ListTypes TypeDefinitionFormat Source #
The type format: SDL or JSON.
listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text) Source #
An identifier to pass in the next request to this operation to return the next set of items in the list.
listTypesResponse_types :: Lens' ListTypesResponse (Maybe [Type]) Source #
The Type
objects.
listTypesResponse_httpStatus :: Lens' ListTypesResponse Int Source #
The response's http status code.
StartSchemaCreation
startSchemaCreation_apiId :: Lens' StartSchemaCreation Text Source #
The API ID.
startSchemaCreation_definition :: Lens' StartSchemaCreation ByteString Source #
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.
startSchemaCreationResponse_status :: Lens' StartSchemaCreationResponse (Maybe SchemaStatus) Source #
The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE). When the schema is in the ACTIVE state, you can add data.
startSchemaCreationResponse_httpStatus :: Lens' StartSchemaCreationResponse Int Source #
The response's http status code.
TagResource
tagResource_resourceArn :: Lens' TagResource Text Source #
The GraphqlApi
Amazon Resource Name (ARN).
tagResource_tags :: Lens' TagResource (HashMap Text Text) Source #
A TagMap
object.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int Source #
The response's http status code.
UntagResource
untagResource_resourceArn :: Lens' UntagResource Text Source #
The GraphqlApi
Amazon Resource Name (ARN).
untagResource_tagKeys :: Lens' UntagResource (NonEmpty Text) Source #
A list of TagKey
objects.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int Source #
The response's http status code.
UpdateApiCache
updateApiCache_apiId :: Lens' UpdateApiCache Text Source #
The GraphQL API ID.
updateApiCache_ttl :: Lens' UpdateApiCache Integer Source #
TTL in seconds for cache entries.
Valid values are 1–3,600 seconds.
updateApiCache_apiCachingBehavior :: Lens' UpdateApiCache ApiCachingBehavior Source #
Caching behavior.
- FULL_REQUEST_CACHING: All requests are fully cached.
- PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
updateApiCache_type :: Lens' UpdateApiCache ApiCacheType Source #
The cache instance type. Valid values are
SMALL
MEDIUM
LARGE
XLARGE
LARGE_2X
LARGE_4X
LARGE_8X
(not available in all regions)LARGE_12X
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
- T2_SMALL: A t2.small instance type.
- T2_MEDIUM: A t2.medium instance type.
- R4_LARGE: A r4.large instance type.
- R4_XLARGE: A r4.xlarge instance type.
- R4_2XLARGE: A r4.2xlarge instance type.
- R4_4XLARGE: A r4.4xlarge instance type.
- R4_8XLARGE: A r4.8xlarge instance type.
updateApiCacheResponse_apiCache :: Lens' UpdateApiCacheResponse (Maybe ApiCache) Source #
The ApiCache
object.
updateApiCacheResponse_httpStatus :: Lens' UpdateApiCacheResponse Int Source #
The response's http status code.
UpdateApiKey
updateApiKey_description :: Lens' UpdateApiKey (Maybe Text) Source #
A description of the purpose of the API key.
updateApiKey_expires :: Lens' UpdateApiKey (Maybe Integer) Source #
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
updateApiKey_apiId :: Lens' UpdateApiKey Text Source #
The ID for the GraphQL API.
updateApiKey_id :: Lens' UpdateApiKey Text Source #
The API key ID.
updateApiKeyResponse_apiKey :: Lens' UpdateApiKeyResponse (Maybe ApiKey) Source #
The API key.
updateApiKeyResponse_httpStatus :: Lens' UpdateApiKeyResponse Int Source #
The response's http status code.
UpdateDataSource
updateDataSource_description :: Lens' UpdateDataSource (Maybe Text) Source #
The new description for the data source.
updateDataSource_dynamodbConfig :: Lens' UpdateDataSource (Maybe DynamodbDataSourceConfig) Source #
The new Amazon DynamoDB configuration.
updateDataSource_elasticsearchConfig :: Lens' UpdateDataSource (Maybe ElasticsearchDataSourceConfig) Source #
The new OpenSearch configuration.
As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This configuration is deprecated. Instead, use UpdateDataSourceRequest$openSearchServiceConfig to update an OpenSearch data source.
updateDataSource_httpConfig :: Lens' UpdateDataSource (Maybe HttpDataSourceConfig) Source #
The new HTTP endpoint configuration.
updateDataSource_lambdaConfig :: Lens' UpdateDataSource (Maybe LambdaDataSourceConfig) Source #
The new Lambda configuration.
updateDataSource_openSearchServiceConfig :: Lens' UpdateDataSource (Maybe OpenSearchServiceDataSourceConfig) Source #
The new OpenSearch configuration.
updateDataSource_relationalDatabaseConfig :: Lens' UpdateDataSource (Maybe RelationalDatabaseDataSourceConfig) Source #
The new relational database configuration.
updateDataSource_serviceRoleArn :: Lens' UpdateDataSource (Maybe Text) Source #
The new service role Amazon Resource Name (ARN) for the data source.
updateDataSource_apiId :: Lens' UpdateDataSource Text Source #
The API ID.
updateDataSource_name :: Lens' UpdateDataSource Text Source #
The new name for the data source.
updateDataSource_type :: Lens' UpdateDataSource DataSourceType Source #
The new data source type.
updateDataSourceResponse_dataSource :: Lens' UpdateDataSourceResponse (Maybe DataSource) Source #
The updated DataSource
object.
updateDataSourceResponse_httpStatus :: Lens' UpdateDataSourceResponse Int Source #
The response's http status code.
UpdateDomainName
updateDomainName_description :: Lens' UpdateDomainName (Maybe Text) Source #
A description of the DomainName
.
updateDomainName_domainName :: Lens' UpdateDomainName Text Source #
The domain name.
updateDomainNameResponse_domainNameConfig :: Lens' UpdateDomainNameResponse (Maybe DomainNameConfig) Source #
The configuration for the DomainName
.
updateDomainNameResponse_httpStatus :: Lens' UpdateDomainNameResponse Int Source #
The response's http status code.
UpdateFunction
updateFunction_code :: Lens' UpdateFunction (Maybe Text) Source #
The function
code that contains the request and response functions.
When code is used, the runtime
is required. The runtime
value must
be APPSYNC_JS
.
updateFunction_description :: Lens' UpdateFunction (Maybe Text) Source #
The Function
description.
updateFunction_functionVersion :: Lens' UpdateFunction (Maybe Text) Source #
The version
of the request mapping template. Currently, the supported
value is 2018-05-29. Note that when using VTL and mapping templates, the
functionVersion
is required.
updateFunction_maxBatchSize :: Lens' UpdateFunction (Maybe Natural) Source #
The maximum batching size for a resolver.
updateFunction_requestMappingTemplate :: Lens' UpdateFunction (Maybe Text) Source #
The Function
request mapping template. Functions support only the
2018-05-29 version of the request mapping template.
updateFunction_responseMappingTemplate :: Lens' UpdateFunction (Maybe Text) Source #
The Function
request mapping template.
updateFunction_runtime :: Lens' UpdateFunction (Maybe AppSyncRuntime) Source #
Undocumented member.
updateFunction_syncConfig :: Lens' UpdateFunction (Maybe SyncConfig) Source #
Undocumented member.
updateFunction_apiId :: Lens' UpdateFunction Text Source #
The GraphQL API ID.
updateFunction_name :: Lens' UpdateFunction Text Source #
The Function
name.
updateFunction_functionId :: Lens' UpdateFunction Text Source #
The function ID.
updateFunction_dataSourceName :: Lens' UpdateFunction Text Source #
The Function
DataSource
name.
updateFunctionResponse_functionConfiguration :: Lens' UpdateFunctionResponse (Maybe FunctionConfiguration) Source #
The Function
object.
updateFunctionResponse_httpStatus :: Lens' UpdateFunctionResponse Int Source #
The response's http status code.
UpdateGraphqlApi
updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #
A list of additional authentication providers for the GraphqlApi
API.
updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType) Source #
The new authentication type for the GraphqlApi
object.
updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig) Source #
Configuration for Lambda function authorization.
updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig) Source #
The OpenID Connect configuration for the GraphqlApi
object.
updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig) Source #
The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.
updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool) Source #
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
updateGraphqlApi_apiId :: Lens' UpdateGraphqlApi Text Source #
The API ID.
updateGraphqlApi_name :: Lens' UpdateGraphqlApi Text Source #
The new name for the GraphqlApi
object.
updateGraphqlApiResponse_graphqlApi :: Lens' UpdateGraphqlApiResponse (Maybe GraphqlApi) Source #
The updated GraphqlApi
object.
updateGraphqlApiResponse_httpStatus :: Lens' UpdateGraphqlApiResponse Int Source #
The response's http status code.
UpdateResolver
updateResolver_cachingConfig :: Lens' UpdateResolver (Maybe CachingConfig) Source #
The caching configuration for the resolver.
updateResolver_code :: Lens' UpdateResolver (Maybe Text) Source #
The resolver
code that contains the request and response functions.
When code is used, the runtime
is required. The runtime
value must
be APPSYNC_JS
.
updateResolver_dataSourceName :: Lens' UpdateResolver (Maybe Text) Source #
The new data source name.
updateResolver_kind :: Lens' UpdateResolver (Maybe ResolverKind) Source #
The resolver type.
- UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
- PIPELINE: A PIPELINE resolver type. You can use a PIPELINE
resolver to invoke a series of
Function
objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
updateResolver_maxBatchSize :: Lens' UpdateResolver (Maybe Natural) Source #
The maximum batching size for a resolver.
updateResolver_pipelineConfig :: Lens' UpdateResolver (Maybe PipelineConfig) Source #
The PipelineConfig
.
updateResolver_requestMappingTemplate :: Lens' UpdateResolver (Maybe Text) Source #
The new request mapping template.
A resolver uses a request mapping template to convert a GraphQL expression into a format that a data source can understand. Mapping templates are written in Apache Velocity Template Language (VTL).
VTL request mapping templates are optional when using an Lambda data source. For all other data sources, VTL request and response mapping templates are required.
updateResolver_responseMappingTemplate :: Lens' UpdateResolver (Maybe Text) Source #
The new response mapping template.
updateResolver_runtime :: Lens' UpdateResolver (Maybe AppSyncRuntime) Source #
Undocumented member.
updateResolver_syncConfig :: Lens' UpdateResolver (Maybe SyncConfig) Source #
The SyncConfig
for a resolver attached to a versioned data source.
updateResolver_apiId :: Lens' UpdateResolver Text Source #
The API ID.
updateResolver_typeName :: Lens' UpdateResolver Text Source #
The new type name.
updateResolver_fieldName :: Lens' UpdateResolver Text Source #
The new field name.
updateResolverResponse_resolver :: Lens' UpdateResolverResponse (Maybe Resolver) Source #
The updated Resolver
object.
updateResolverResponse_httpStatus :: Lens' UpdateResolverResponse Int Source #
The response's http status code.
UpdateType
updateType_definition :: Lens' UpdateType (Maybe Text) Source #
The new definition.
updateType_apiId :: Lens' UpdateType Text Source #
The API ID.
updateType_typeName :: Lens' UpdateType Text Source #
The new type name.
updateType_format :: Lens' UpdateType TypeDefinitionFormat Source #
The new type format: SDL or JSON.
updateTypeResponse_type :: Lens' UpdateTypeResponse (Maybe Type) Source #
The updated Type
object.
updateTypeResponse_httpStatus :: Lens' UpdateTypeResponse Int Source #
The response's http status code.
Types
AdditionalAuthenticationProvider
additionalAuthenticationProvider_authenticationType :: Lens' AdditionalAuthenticationProvider (Maybe AuthenticationType) Source #
The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.
additionalAuthenticationProvider_lambdaAuthorizerConfig :: Lens' AdditionalAuthenticationProvider (Maybe LambdaAuthorizerConfig) Source #
Configuration for Lambda function authorization.
additionalAuthenticationProvider_openIDConnectConfig :: Lens' AdditionalAuthenticationProvider (Maybe OpenIDConnectConfig) Source #
The OIDC configuration.
additionalAuthenticationProvider_userPoolConfig :: Lens' AdditionalAuthenticationProvider (Maybe CognitoUserPoolConfig) Source #
The Amazon Cognito user pool configuration.
ApiAssociation
apiAssociation_apiId :: Lens' ApiAssociation (Maybe Text) Source #
The API ID.
apiAssociation_associationStatus :: Lens' ApiAssociation (Maybe AssociationStatus) Source #
Identifies the status of an association.
- PROCESSING: The API association is being created. You cannot modify association requests during processing.
- SUCCESS: The API association was successful. You can modify associations after success.
- FAILED: The API association has failed. You can modify associations after failure.
apiAssociation_deploymentDetail :: Lens' ApiAssociation (Maybe Text) Source #
Details about the last deployment status.
apiAssociation_domainName :: Lens' ApiAssociation (Maybe Text) Source #
The domain name.
ApiCache
apiCache_apiCachingBehavior :: Lens' ApiCache (Maybe ApiCachingBehavior) Source #
Caching behavior.
- FULL_REQUEST_CACHING: All requests are fully cached.
- PER_RESOLVER_CACHING: Individual resolvers that you specify are cached.
apiCache_atRestEncryptionEnabled :: Lens' ApiCache (Maybe Bool) Source #
At-rest encryption flag for cache. You cannot update this setting after creation.
apiCache_status :: Lens' ApiCache (Maybe ApiCacheStatus) Source #
The cache instance status.
- AVAILABLE: The instance is available for use.
- CREATING: The instance is currently creating.
- DELETING: The instance is currently deleting.
- MODIFYING: The instance is currently modifying.
- FAILED: The instance has failed creation.
apiCache_transitEncryptionEnabled :: Lens' ApiCache (Maybe Bool) Source #
Transit encryption flag when connecting to cache. You cannot update this setting after creation.
apiCache_ttl :: Lens' ApiCache (Maybe Integer) Source #
TTL in seconds for cache entries.
Valid values are 1–3,600 seconds.
apiCache_type :: Lens' ApiCache (Maybe ApiCacheType) Source #
The cache instance type. Valid values are
SMALL
MEDIUM
LARGE
XLARGE
LARGE_2X
LARGE_4X
LARGE_8X
(not available in all regions)LARGE_12X
Historically, instance types were identified by an EC2-style value. As of July 2020, this is deprecated, and the generic identifiers above should be used.
The following legacy instance types are available, but their use is discouraged:
- T2_SMALL: A t2.small instance type.
- T2_MEDIUM: A t2.medium instance type.
- R4_LARGE: A r4.large instance type.
- R4_XLARGE: A r4.xlarge instance type.
- R4_2XLARGE: A r4.2xlarge instance type.
- R4_4XLARGE: A r4.4xlarge instance type.
- R4_8XLARGE: A r4.8xlarge instance type.
ApiKey
apiKey_deletes :: Lens' ApiKey (Maybe Integer) Source #
The time after which the API key is deleted. The date is represented as seconds since the epoch, rounded down to the nearest hour.
apiKey_description :: Lens' ApiKey (Maybe Text) Source #
A description of the purpose of the API key.
apiKey_expires :: Lens' ApiKey (Maybe Integer) Source #
The time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour.
AppSyncRuntime
appSyncRuntime_name :: Lens' AppSyncRuntime RuntimeName Source #
The name
of the runtime to use. Currently, the only allowed value is
APPSYNC_JS
.
appSyncRuntime_runtimeVersion :: Lens' AppSyncRuntime Text Source #
The version
of the runtime to use. Currently, the only allowed version
is 1.0.0
.
AuthorizationConfig
authorizationConfig_awsIamConfig :: Lens' AuthorizationConfig (Maybe AwsIamConfig) Source #
The Identity and Access Management (IAM) settings.
authorizationConfig_authorizationType :: Lens' AuthorizationConfig AuthorizationType Source #
The authorization type that the HTTP endpoint requires.
- AWS_IAM: The authorization type is Signature Version 4 (SigV4).
AwsIamConfig
awsIamConfig_signingRegion :: Lens' AwsIamConfig (Maybe Text) Source #
The signing Amazon Web Services Region for IAM authorization.
awsIamConfig_signingServiceName :: Lens' AwsIamConfig (Maybe Text) Source #
The signing service name for IAM authorization.
CachingConfig
cachingConfig_cachingKeys :: Lens' CachingConfig (Maybe [Text]) Source #
The caching keys for a resolver that has caching activated.
Valid values are entries from the $context.arguments
,
$context.source
, and $context.identity
maps.
cachingConfig_ttl :: Lens' CachingConfig Integer Source #
The TTL in seconds for a resolver that has caching activated.
Valid values are 1–3,600 seconds.
CodeError
codeError_errorType :: Lens' CodeError (Maybe Text) Source #
The type of code error.
Examples include, but aren't limited to: LINT_ERROR
, PARSER_ERROR
.
codeError_location :: Lens' CodeError (Maybe CodeErrorLocation) Source #
The line, column, and span location of the error in the code.
codeError_value :: Lens' CodeError (Maybe Text) Source #
A user presentable error.
Examples include, but aren't limited to:
Parsing error: Unterminated string literal
.
CodeErrorLocation
codeErrorLocation_column :: Lens' CodeErrorLocation (Maybe Int) Source #
The column number in the code. Defaults to 0
if unknown.
codeErrorLocation_line :: Lens' CodeErrorLocation (Maybe Int) Source #
The line number in the code. Defaults to 0
if unknown.
codeErrorLocation_span :: Lens' CodeErrorLocation (Maybe Int) Source #
The span/length of the error. Defaults to -1
if unknown.
CognitoUserPoolConfig
cognitoUserPoolConfig_appIdClientRegex :: Lens' CognitoUserPoolConfig (Maybe Text) Source #
A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.
cognitoUserPoolConfig_userPoolId :: Lens' CognitoUserPoolConfig Text Source #
The user pool ID.
cognitoUserPoolConfig_awsRegion :: Lens' CognitoUserPoolConfig Text Source #
The Amazon Web Services Region in which the user pool was created.
DataSource
dataSource_dataSourceArn :: Lens' DataSource (Maybe Text) Source #
The data source Amazon Resource Name (ARN).
dataSource_description :: Lens' DataSource (Maybe Text) Source #
The description of the data source.
dataSource_dynamodbConfig :: Lens' DataSource (Maybe DynamodbDataSourceConfig) Source #
DynamoDB settings.
dataSource_elasticsearchConfig :: Lens' DataSource (Maybe ElasticsearchDataSourceConfig) Source #
Amazon OpenSearch Service settings.
dataSource_httpConfig :: Lens' DataSource (Maybe HttpDataSourceConfig) Source #
HTTP endpoint settings.
dataSource_lambdaConfig :: Lens' DataSource (Maybe LambdaDataSourceConfig) Source #
Lambda settings.
dataSource_name :: Lens' DataSource (Maybe Text) Source #
The name of the data source.
dataSource_openSearchServiceConfig :: Lens' DataSource (Maybe OpenSearchServiceDataSourceConfig) Source #
Amazon OpenSearch Service settings.
dataSource_relationalDatabaseConfig :: Lens' DataSource (Maybe RelationalDatabaseDataSourceConfig) Source #
Relational database settings.
dataSource_serviceRoleArn :: Lens' DataSource (Maybe Text) Source #
The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for the data source. The system assumes this role when accessing the data source.
dataSource_type :: Lens' DataSource (Maybe DataSourceType) Source #
The type of the data source.
- AWS_LAMBDA: The data source is an Lambda function.
- AMAZON_DYNAMODB: The data source is an Amazon DynamoDB table.
- AMAZON_ELASTICSEARCH: The data source is an Amazon OpenSearch Service domain.
- AMAZON_OPENSEARCH_SERVICE: The data source is an Amazon OpenSearch Service domain.
- NONE: There is no data source. Use this type when you want to invoke a GraphQL operation without connecting to a data source, such as when you're performing data transformation with resolvers or invoking a subscription from a mutation.
- HTTP: The data source is an HTTP endpoint.
- RELATIONAL_DATABASE: The data source is a relational database.
DeltaSyncConfig
deltaSyncConfig_baseTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) Source #
The number of minutes that an Item is stored in the data source.
deltaSyncConfig_deltaSyncTableName :: Lens' DeltaSyncConfig (Maybe Text) Source #
The Delta Sync table name.
deltaSyncConfig_deltaSyncTableTTL :: Lens' DeltaSyncConfig (Maybe Integer) Source #
The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
DomainNameConfig
domainNameConfig_appsyncDomainName :: Lens' DomainNameConfig (Maybe Text) Source #
The domain name that AppSync provides.
domainNameConfig_certificateArn :: Lens' DomainNameConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager (ACM) certificate or an Identity and Access Management (IAM) server certificate.
domainNameConfig_description :: Lens' DomainNameConfig (Maybe Text) Source #
A description of the DomainName
configuration.
domainNameConfig_domainName :: Lens' DomainNameConfig (Maybe Text) Source #
The domain name.
domainNameConfig_hostedZoneId :: Lens' DomainNameConfig (Maybe Text) Source #
The ID of your Amazon Route 53 hosted zone.
DynamodbDataSourceConfig
dynamodbDataSourceConfig_deltaSyncConfig :: Lens' DynamodbDataSourceConfig (Maybe DeltaSyncConfig) Source #
The DeltaSyncConfig
for a versioned data source.
dynamodbDataSourceConfig_useCallerCredentials :: Lens' DynamodbDataSourceConfig (Maybe Bool) Source #
Set to TRUE to use Amazon Cognito credentials with this data source.
dynamodbDataSourceConfig_versioned :: Lens' DynamodbDataSourceConfig (Maybe Bool) Source #
Set to TRUE to use Conflict Detection and Resolution with this data source.
dynamodbDataSourceConfig_tableName :: Lens' DynamodbDataSourceConfig Text Source #
The table name.
dynamodbDataSourceConfig_awsRegion :: Lens' DynamodbDataSourceConfig Text Source #
The Amazon Web Services Region.
ElasticsearchDataSourceConfig
elasticsearchDataSourceConfig_endpoint :: Lens' ElasticsearchDataSourceConfig Text Source #
The endpoint.
elasticsearchDataSourceConfig_awsRegion :: Lens' ElasticsearchDataSourceConfig Text Source #
The Amazon Web Services Region.
ErrorDetail
errorDetail_message :: Lens' ErrorDetail (Maybe Text) Source #
The error payload.
EvaluateCodeErrorDetail
evaluateCodeErrorDetail_codeErrors :: Lens' EvaluateCodeErrorDetail (Maybe [CodeError]) Source #
Contains the list of CodeError
objects.
evaluateCodeErrorDetail_message :: Lens' EvaluateCodeErrorDetail (Maybe Text) Source #
The error payload.
FunctionConfiguration
functionConfiguration_code :: Lens' FunctionConfiguration (Maybe Text) Source #
The function
code that contains the request and response functions.
When code is used, the runtime
is required. The runtime
value must
be APPSYNC_JS
.
functionConfiguration_dataSourceName :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the DataSource
.
functionConfiguration_description :: Lens' FunctionConfiguration (Maybe Text) Source #
The Function
description.
functionConfiguration_functionArn :: Lens' FunctionConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Function
object.
functionConfiguration_functionId :: Lens' FunctionConfiguration (Maybe Text) Source #
A unique ID representing the Function
object.
functionConfiguration_functionVersion :: Lens' FunctionConfiguration (Maybe Text) Source #
The version of the request mapping template. Currently, only the 2018-05-29 version of the template is supported.
functionConfiguration_maxBatchSize :: Lens' FunctionConfiguration (Maybe Natural) Source #
The maximum batching size for a resolver.
functionConfiguration_name :: Lens' FunctionConfiguration (Maybe Text) Source #
The name of the Function
object.
functionConfiguration_requestMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) Source #
The Function
request mapping template. Functions support only the
2018-05-29 version of the request mapping template.
functionConfiguration_responseMappingTemplate :: Lens' FunctionConfiguration (Maybe Text) Source #
The Function
response mapping template.
functionConfiguration_runtime :: Lens' FunctionConfiguration (Maybe AppSyncRuntime) Source #
Undocumented member.
functionConfiguration_syncConfig :: Lens' FunctionConfiguration (Maybe SyncConfig) Source #
Undocumented member.
GraphqlApi
graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #
A list of additional authentication providers for the GraphqlApi
API.
graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text) Source #
The API ID.
graphqlApi_arn :: Lens' GraphqlApi (Maybe Text) Source #
The Amazon Resource Name (ARN).
graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType) Source #
The authentication type.
graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig) Source #
Configuration for Lambda function authorization.
graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration.
graphqlApi_name :: Lens' GraphqlApi (Maybe Text) Source #
The API name.
graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig) Source #
The OpenID Connect configuration.
graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text)) Source #
The tags.
graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text)) Source #
The URIs.
graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig) Source #
The Amazon Cognito user pool configuration.
graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text) Source #
The ARN of the WAF access control list (ACL) associated with this
GraphqlApi
, if one exists.
graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool) Source #
A flag indicating whether to use X-Ray tracing for this GraphqlApi
.
HttpDataSourceConfig
httpDataSourceConfig_authorizationConfig :: Lens' HttpDataSourceConfig (Maybe AuthorizationConfig) Source #
The authorization configuration in case the HTTP endpoint requires authorization.
httpDataSourceConfig_endpoint :: Lens' HttpDataSourceConfig (Maybe Text) Source #
The HTTP URL endpoint. You can specify either the domain name or IP, and port combination, and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
LambdaAuthorizerConfig
lambdaAuthorizerConfig_authorizerResultTtlInSeconds :: Lens' LambdaAuthorizerConfig (Maybe Natural) Source #
The number of seconds a response should be cached for. The default is 5
minutes (300 seconds). The Lambda function can override this by
returning a ttlOverride
key in its response. A value of 0 disables
caching of responses.
lambdaAuthorizerConfig_identityValidationExpression :: Lens' LambdaAuthorizerConfig (Maybe Text) Source #
A regular expression for validation of tokens before the Lambda function is called.
lambdaAuthorizerConfig_authorizerUri :: Lens' LambdaAuthorizerConfig Text Source #
The Amazon Resource Name (ARN) of the Lambda function to be called for
authorization. This can be a standard Lambda ARN, a version ARN
(.../v3
), or an alias ARN.
Note: This Lambda function must have the following resource-based policy assigned to it. When configuring Lambda authorizers in the console, this is done for you. To use the Command Line Interface (CLI), run the following:
aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function" --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction
LambdaConflictHandlerConfig
lambdaConflictHandlerConfig_lambdaConflictHandlerArn :: Lens' LambdaConflictHandlerConfig (Maybe Text) Source #
The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
LambdaDataSourceConfig
lambdaDataSourceConfig_lambdaFunctionArn :: Lens' LambdaDataSourceConfig Text Source #
The Amazon Resource Name (ARN) for the Lambda function.
LogConfig
logConfig_excludeVerboseContent :: Lens' LogConfig (Maybe Bool) Source #
Set to TRUE to exclude sections that contain information such as headers, context, and evaluated mapping templates, regardless of logging level.
logConfig_fieldLogLevel :: Lens' LogConfig FieldLogLevel Source #
The field logging level. Values can be NONE, ERROR, or 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 request/response 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 request/response functions that got resolved for each field.
logConfig_cloudWatchLogsRoleArn :: Lens' LogConfig Text Source #
The service role that AppSync assumes to publish to CloudWatch logs in your account.
OpenIDConnectConfig
openIDConnectConfig_authTTL :: Lens' OpenIDConnectConfig (Maybe Integer) Source #
The number of milliseconds that a token is valid after being authenticated.
openIDConnectConfig_clientId :: Lens' OpenIDConnectConfig (Maybe Text) Source #
The client identifier of the relying party at the OpenID identity provider. This identifier is typically obtained when the relying party is registered with the OpenID identity provider. You can specify a regular expression so that AppSync can validate against multiple client identifiers at a time.
openIDConnectConfig_iatTTL :: Lens' OpenIDConnectConfig (Maybe Integer) Source #
The number of milliseconds that a token is valid after it's issued to a user.
openIDConnectConfig_issuer :: Lens' OpenIDConnectConfig Text Source #
The issuer for the OIDC configuration. The issuer returned by discovery
must exactly match the value of iss
in the ID token.
OpenSearchServiceDataSourceConfig
openSearchServiceDataSourceConfig_endpoint :: Lens' OpenSearchServiceDataSourceConfig Text Source #
The endpoint.
openSearchServiceDataSourceConfig_awsRegion :: Lens' OpenSearchServiceDataSourceConfig Text Source #
The Amazon Web Services Region.
PipelineConfig
pipelineConfig_functions :: Lens' PipelineConfig (Maybe [Text]) Source #
A list of Function
objects.
RdsHttpEndpointConfig
rdsHttpEndpointConfig_awsRegion :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #
Amazon Web Services Region for Amazon RDS HTTP endpoint.
rdsHttpEndpointConfig_awsSecretStoreArn :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #
Amazon Web Services secret store Amazon Resource Name (ARN) for database credentials.
rdsHttpEndpointConfig_databaseName :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #
Logical database name.
rdsHttpEndpointConfig_dbClusterIdentifier :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #
Amazon RDS cluster Amazon Resource Name (ARN).
rdsHttpEndpointConfig_schema :: Lens' RdsHttpEndpointConfig (Maybe Text) Source #
Logical schema name.
RelationalDatabaseDataSourceConfig
relationalDatabaseDataSourceConfig_rdsHttpEndpointConfig :: Lens' RelationalDatabaseDataSourceConfig (Maybe RdsHttpEndpointConfig) Source #
Amazon RDS HTTP endpoint settings.
relationalDatabaseDataSourceConfig_relationalDatabaseSourceType :: Lens' RelationalDatabaseDataSourceConfig (Maybe RelationalDatabaseSourceType) Source #
Source type for the relational database.
- RDS_HTTP_ENDPOINT: The relational database source type is an Amazon Relational Database Service (Amazon RDS) HTTP endpoint.
Resolver
resolver_cachingConfig :: Lens' Resolver (Maybe CachingConfig) Source #
The caching configuration for the resolver.
resolver_code :: Lens' Resolver (Maybe Text) Source #
The resolver
code that contains the request and response functions.
When code is used, the runtime
is required. The runtime
value must
be APPSYNC_JS
.
resolver_kind :: Lens' Resolver (Maybe ResolverKind) Source #
The resolver type.
- UNIT: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
- PIPELINE: A PIPELINE resolver type. You can use a PIPELINE
resolver to invoke a series of
Function
objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
resolver_maxBatchSize :: Lens' Resolver (Maybe Natural) Source #
The maximum batching size for a resolver.
resolver_pipelineConfig :: Lens' Resolver (Maybe PipelineConfig) Source #
The PipelineConfig
.
resolver_requestMappingTemplate :: Lens' Resolver (Maybe Text) Source #
The request mapping template.
resolver_resolverArn :: Lens' Resolver (Maybe Text) Source #
The resolver Amazon Resource Name (ARN).
resolver_responseMappingTemplate :: Lens' Resolver (Maybe Text) Source #
The response mapping template.
resolver_runtime :: Lens' Resolver (Maybe AppSyncRuntime) Source #
Undocumented member.
resolver_syncConfig :: Lens' Resolver (Maybe SyncConfig) Source #
The SyncConfig
for a resolver attached to a versioned data source.
SyncConfig
syncConfig_conflictDetection :: Lens' SyncConfig (Maybe ConflictDetectionType) Source #
The Conflict Detection strategy to use.
- VERSION: Detect conflicts based on object versions for this resolver.
- NONE: Do not detect conflicts when invoking this resolver.
syncConfig_conflictHandler :: Lens' SyncConfig (Maybe ConflictHandlerType) Source #
The Conflict Resolution strategy to perform in the event of a conflict.
- OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
- AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
- LAMBDA: Resolve conflicts with an Lambda function supplied in
the
LambdaConflictHandlerConfig
.
syncConfig_lambdaConflictHandlerConfig :: Lens' SyncConfig (Maybe LambdaConflictHandlerConfig) Source #
The LambdaConflictHandlerConfig
when configuring LAMBDA
as the
Conflict Handler.
Type
type_format :: Lens' Type (Maybe TypeDefinitionFormat) Source #
The type format: SDL or JSON.
UserPoolConfig
userPoolConfig_appIdClientRegex :: Lens' UserPoolConfig (Maybe Text) Source #
A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.
userPoolConfig_userPoolId :: Lens' UserPoolConfig Text Source #
The user pool ID.
userPoolConfig_awsRegion :: Lens' UserPoolConfig Text Source #
The Amazon Web Services Region in which the user pool was created.
userPoolConfig_defaultAction :: Lens' UserPoolConfig DefaultAction Source #
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.