All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cognitect.aws.appsync.docs.edn Maven / Gradle / Ivy

{:CreateDomainName {:documentation "

Creates a custom DomainName object.

", :request {:domainName string, :certificateArn string, :description string}, :required [:domainName :certificateArn], :response {:domainNameConfig {:domainName string, :description string, :certificateArn string, :appsyncDomainName string, :hostedZoneId string}}}, :UpdateType {:documentation "

Updates a Type object.

", :request {:apiId string, :typeName string, :definition string, :format [:one-of ["SDL" "JSON"]]}, :required [:apiId :typeName :format], :response {:type {:name string, :description string, :arn string, :definition string, :format [:one-of ["SDL" "JSON"]]}}}, :FlushApiCache {:documentation "

Flushes an ApiCache object.

", :request {:apiId string}, :required [:apiId]}, :DeleteResolver {:documentation "

Deletes a Resolver object.

", :request {:apiId string, :typeName string, :fieldName string}, :required [:apiId :typeName :fieldName]}, :GetFunction {:documentation "

Get a Function.

", :request {:apiId string, :functionId string}, :required [:apiId :functionId], :response {:functionConfiguration {:description string, :functionId string, :functionVersion string, :name string, :functionArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :maxBatchSize integer, :requestMappingTemplate string}}}, :UpdateDomainName {:documentation "

Updates a custom DomainName object.

", :request {:domainName string, :description string}, :required [:domainName], :response {:domainNameConfig {:domainName string, :description string, :certificateArn string, :appsyncDomainName string, :hostedZoneId string}}}, :GetGraphqlApiEnvironmentVariables {:documentation "

Retrieves the list of environmental variable key-value pairs associated with an API by its ID value.

", :request {:apiId string}, :required [:apiId], :response {:environmentVariables [:map-of string string]}}, :ListTagsForResource {:documentation "

Lists the tags for a resource.

", :request {:resourceArn string}, :required [:resourceArn], :response {:tags [:map-of string string]}}, :CreateGraphqlApi {:documentation "

Creates a GraphqlApi object.

", :request {:tags [:map-of string string], :userPoolConfig {:userPoolId string, :awsRegion string, :defaultAction [:one-of ["ALLOW" "DENY"]], :appIdClientRegex string}, :xrayEnabled boolean, :enhancedMetricsConfig {:resolverLevelMetricsBehavior [:one-of ["FULL_REQUEST_RESOLVER_METRICS" "PER_RESOLVER_METRICS"]], :dataSourceLevelMetricsBehavior [:one-of ["FULL_REQUEST_DATA_SOURCE_METRICS" "PER_DATA_SOURCE_METRICS"]], :operationLevelMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :name string, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}, :authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :resolverCountLimit integer, :introspectionConfig [:one-of ["ENABLED" "DISABLED"]], :mergedApiExecutionRoleArn string, :additionalAuthenticationProviders [:seq-of {:authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :userPoolConfig {:userPoolId string, :awsRegion string, :appIdClientRegex string}, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}}], :queryDepthLimit integer, :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :logConfig {:fieldLogLevel [:one-of ["NONE" "ERROR" "ALL" "INFO" "DEBUG"]], :cloudWatchLogsRoleArn string, :excludeVerboseContent boolean}, :visibility [:one-of ["GLOBAL" "PRIVATE"]], :ownerContact string, :apiType [:one-of ["GRAPHQL" "MERGED"]]}, :required [:name :authenticationType], :response {:graphqlApi {:tags [:map-of string string], :userPoolConfig {:userPoolId string, :awsRegion string, :defaultAction [:one-of ["ALLOW" "DENY"]], :appIdClientRegex string}, :xrayEnabled boolean, :enhancedMetricsConfig {:resolverLevelMetricsBehavior [:one-of ["FULL_REQUEST_RESOLVER_METRICS" "PER_RESOLVER_METRICS"]], :dataSourceLevelMetricsBehavior [:one-of ["FULL_REQUEST_DATA_SOURCE_METRICS" "PER_DATA_SOURCE_METRICS"]], :operationLevelMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :name string, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}, :wafWebAclArn string, :authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :resolverCountLimit integer, :dns [:map-of string string], :introspectionConfig [:one-of ["ENABLED" "DISABLED"]], :mergedApiExecutionRoleArn string, :additionalAuthenticationProviders [:seq-of {:authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :userPoolConfig {:userPoolId string, :awsRegion string, :appIdClientRegex string}, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}}], :queryDepthLimit integer, :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :uris [:map-of string string], :logConfig {:fieldLogLevel [:one-of ["NONE" "ERROR" "ALL" "INFO" "DEBUG"]], :cloudWatchLogsRoleArn string, :excludeVerboseContent boolean}, :arn string, :visibility [:one-of ["GLOBAL" "PRIVATE"]], :owner string, :apiId string, :ownerContact string, :apiType [:one-of ["GRAPHQL" "MERGED"]]}}}, :EvaluateMappingTemplate {:documentation "

Evaluates a given template and returns the response. The mapping template can be a request or response template.

Request templates take the incoming request after a GraphQL operation is parsed and convert it into a request configuration for the selected data source operation. Response templates interpret responses from the data source and map it to the shape of the GraphQL field output type.

Mapping templates are written in the Apache Velocity Template Language (VTL).

", :request {:template string, :context string}, :required [:template :context], :response {:evaluationResult string, :error {:message string}, :logs [:seq-of string]}}, :UpdateFunction {:documentation "

Updates a Function object.

", :request {:description string, :functionId string, :functionVersion string, :name string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :maxBatchSize integer, :apiId string, :requestMappingTemplate string}, :required [:apiId :name :functionId :dataSourceName], :response {:functionConfiguration {:description string, :functionId string, :functionVersion string, :name string, :functionArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :maxBatchSize integer, :requestMappingTemplate string}}}, :StartSchemaMerge {:documentation "

Initiates a merge operation. Returns a status that shows the result of the merge operation.

", :request {:associationId string, :mergedApiIdentifier string}, :required [:associationId :mergedApiIdentifier], :response {:sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]]}}, :TagResource {:documentation "

Tags a resource with user-supplied tags.

", :request {:resourceArn string, :tags [:map-of string string]}, :required [:resourceArn :tags]}, :EvaluateCode {:documentation "

Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.

", :request {:runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :context string, :function string}, :required [:runtime :code :context], :response {:evaluationResult string, :error {:message string, :codeErrors [:seq-of {:errorType string, :value string, :location {:line integer, :column integer, :span integer}}]}, :logs [:seq-of string]}}, :GetResolver {:documentation "

Retrieves a Resolver object.

", :request {:apiId string, :typeName string, :fieldName string}, :required [:apiId :typeName :fieldName], :response {:resolver {:typeName string, :resolverArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :requestMappingTemplate string}}}, :UpdateResolver {:documentation "

Updates a Resolver object.

", :request {:typeName string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :apiId string, :requestMappingTemplate string}, :required [:apiId :typeName :fieldName], :response {:resolver {:typeName string, :resolverArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :requestMappingTemplate string}}}, :UntagResource {:documentation "

Untags a resource.

", :request {:resourceArn string, :tagKeys [:seq-of string]}, :required [:resourceArn :tagKeys]}, :StartSchemaCreation {:documentation "

Adds a new schema to your GraphQL API.

This operation is asynchronous. Use to determine when it has completed.

", :request {:apiId string, :definition blob}, :required [:apiId :definition], :response {:status [:one-of ["PROCESSING" "ACTIVE" "DELETING" "FAILED" "SUCCESS" "NOT_APPLICABLE"]]}}, :GetDomainName {:documentation "

Retrieves a custom DomainName object.

", :request {:domainName string}, :required [:domainName], :response {:domainNameConfig {:domainName string, :description string, :certificateArn string, :appsyncDomainName string, :hostedZoneId string}}}, :UpdateApiKey {:documentation "

Updates an API key. You can update the key as long as it's not deleted.

", :request {:apiId string, :id string, :description string, :expires long}, :required [:apiId :id], :response {:apiKey {:id string, :description string, :expires long, :deletes long}}}, :CreateFunction {:documentation "

Creates a Function object.

A function is a reusable entity. You can use multiple functions to compose the resolver logic.

", :request {:description string, :functionVersion string, :name string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :maxBatchSize integer, :apiId string, :requestMappingTemplate string}, :required [:apiId :name :dataSourceName], :response {:functionConfiguration {:description string, :functionId string, :functionVersion string, :name string, :functionArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :maxBatchSize integer, :requestMappingTemplate string}}}, :DisassociateSourceGraphqlApi {:documentation "

Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.

", :request {:mergedApiIdentifier string, :associationId string}, :required [:mergedApiIdentifier :associationId], :response {:sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]]}}, :DeleteDomainName {:documentation "

Deletes a custom DomainName object.

", :request {:domainName string}, :required [:domainName]}, :StartDataSourceIntrospection {:documentation "

Creates a new introspection. Returns the introspectionId of the new introspection after its creation.

", :request {:rdsDataApiConfig {:resourceArn string, :secretArn string, :databaseName string}}, :response {:introspectionId string, :introspectionStatus [:one-of ["PROCESSING" "FAILED" "SUCCESS"]], :introspectionStatusDetail string}}, :GetSourceApiAssociation {:documentation "

Retrieves a SourceApiAssociation object.

", :request {:mergedApiIdentifier string, :associationId string}, :required [:mergedApiIdentifier :associationId], :response {:sourceApiAssociation {:description string, :mergedApiId string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}, :associationId string, :associationArn string, :sourceApiAssociationStatusDetail string, :mergedApiArn string, :sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]], :sourceApiId string, :sourceApiArn string, :lastSuccessfulMergeDate timestamp}}}, :UpdateApiCache {:documentation "

Updates the cache for the GraphQL API.

", :request {:apiId string, :ttl long, :apiCachingBehavior [:one-of ["FULL_REQUEST_CACHING" "PER_RESOLVER_CACHING"]], :type [:one-of ["T2_SMALL" "T2_MEDIUM" "R4_LARGE" "R4_XLARGE" "R4_2XLARGE" "R4_4XLARGE" "R4_8XLARGE" "SMALL" "MEDIUM" "LARGE" "XLARGE" "LARGE_2X" "LARGE_4X" "LARGE_8X" "LARGE_12X"]], :healthMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :required [:apiId :ttl :apiCachingBehavior :type], :response {:apiCache {:ttl long, :apiCachingBehavior [:one-of ["FULL_REQUEST_CACHING" "PER_RESOLVER_CACHING"]], :transitEncryptionEnabled boolean, :atRestEncryptionEnabled boolean, :type [:one-of ["T2_SMALL" "T2_MEDIUM" "R4_LARGE" "R4_XLARGE" "R4_2XLARGE" "R4_4XLARGE" "R4_8XLARGE" "SMALL" "MEDIUM" "LARGE" "XLARGE" "LARGE_2X" "LARGE_4X" "LARGE_8X" "LARGE_12X"]], :status [:one-of ["AVAILABLE" "CREATING" "DELETING" "MODIFYING" "FAILED"]], :healthMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}}}, :ListTypes {:documentation "

Lists the types for a given API.

", :request {:apiId string, :format [:one-of ["SDL" "JSON"]], :nextToken string, :maxResults integer}, :required [:apiId :format], :response {:types [:seq-of {:name string, :description string, :arn string, :definition string, :format [:one-of ["SDL" "JSON"]]}], :nextToken string}}, :DisassociateMergedGraphqlApi {:documentation "

Deletes an association between a Merged API and source API using the source API's identifier and the association ID.

", :request {:sourceApiIdentifier string, :associationId string}, :required [:sourceApiIdentifier :associationId], :response {:sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]]}}, :GetApiCache {:documentation "

Retrieves an ApiCache object.

", :request {:apiId string}, :required [:apiId], :response {:apiCache {:ttl long, :apiCachingBehavior [:one-of ["FULL_REQUEST_CACHING" "PER_RESOLVER_CACHING"]], :transitEncryptionEnabled boolean, :atRestEncryptionEnabled boolean, :type [:one-of ["T2_SMALL" "T2_MEDIUM" "R4_LARGE" "R4_XLARGE" "R4_2XLARGE" "R4_4XLARGE" "R4_8XLARGE" "SMALL" "MEDIUM" "LARGE" "XLARGE" "LARGE_2X" "LARGE_4X" "LARGE_8X" "LARGE_12X"]], :status [:one-of ["AVAILABLE" "CREATING" "DELETING" "MODIFYING" "FAILED"]], :healthMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}}}, :UpdateGraphqlApi {:documentation "

Updates a GraphqlApi object.

", :request {:userPoolConfig {:userPoolId string, :awsRegion string, :defaultAction [:one-of ["ALLOW" "DENY"]], :appIdClientRegex string}, :xrayEnabled boolean, :enhancedMetricsConfig {:resolverLevelMetricsBehavior [:one-of ["FULL_REQUEST_RESOLVER_METRICS" "PER_RESOLVER_METRICS"]], :dataSourceLevelMetricsBehavior [:one-of ["FULL_REQUEST_DATA_SOURCE_METRICS" "PER_DATA_SOURCE_METRICS"]], :operationLevelMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :name string, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}, :authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :resolverCountLimit integer, :introspectionConfig [:one-of ["ENABLED" "DISABLED"]], :mergedApiExecutionRoleArn string, :additionalAuthenticationProviders [:seq-of {:authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :userPoolConfig {:userPoolId string, :awsRegion string, :appIdClientRegex string}, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}}], :queryDepthLimit integer, :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :logConfig {:fieldLogLevel [:one-of ["NONE" "ERROR" "ALL" "INFO" "DEBUG"]], :cloudWatchLogsRoleArn string, :excludeVerboseContent boolean}, :apiId string, :ownerContact string}, :required [:apiId :name :authenticationType], :response {:graphqlApi {:tags [:map-of string string], :userPoolConfig {:userPoolId string, :awsRegion string, :defaultAction [:one-of ["ALLOW" "DENY"]], :appIdClientRegex string}, :xrayEnabled boolean, :enhancedMetricsConfig {:resolverLevelMetricsBehavior [:one-of ["FULL_REQUEST_RESOLVER_METRICS" "PER_RESOLVER_METRICS"]], :dataSourceLevelMetricsBehavior [:one-of ["FULL_REQUEST_DATA_SOURCE_METRICS" "PER_DATA_SOURCE_METRICS"]], :operationLevelMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :name string, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}, :wafWebAclArn string, :authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :resolverCountLimit integer, :dns [:map-of string string], :introspectionConfig [:one-of ["ENABLED" "DISABLED"]], :mergedApiExecutionRoleArn string, :additionalAuthenticationProviders [:seq-of {:authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :userPoolConfig {:userPoolId string, :awsRegion string, :appIdClientRegex string}, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}}], :queryDepthLimit integer, :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :uris [:map-of string string], :logConfig {:fieldLogLevel [:one-of ["NONE" "ERROR" "ALL" "INFO" "DEBUG"]], :cloudWatchLogsRoleArn string, :excludeVerboseContent boolean}, :arn string, :visibility [:one-of ["GLOBAL" "PRIVATE"]], :owner string, :apiId string, :ownerContact string, :apiType [:one-of ["GRAPHQL" "MERGED"]]}}}, :DeleteApiKey {:documentation "

Deletes an API key.

", :request {:apiId string, :id string}, :required [:apiId :id]}, :GetGraphqlApi {:documentation "

Retrieves a GraphqlApi object.

", :request {:apiId string}, :required [:apiId], :response {:graphqlApi {:tags [:map-of string string], :userPoolConfig {:userPoolId string, :awsRegion string, :defaultAction [:one-of ["ALLOW" "DENY"]], :appIdClientRegex string}, :xrayEnabled boolean, :enhancedMetricsConfig {:resolverLevelMetricsBehavior [:one-of ["FULL_REQUEST_RESOLVER_METRICS" "PER_RESOLVER_METRICS"]], :dataSourceLevelMetricsBehavior [:one-of ["FULL_REQUEST_DATA_SOURCE_METRICS" "PER_DATA_SOURCE_METRICS"]], :operationLevelMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :name string, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}, :wafWebAclArn string, :authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :resolverCountLimit integer, :dns [:map-of string string], :introspectionConfig [:one-of ["ENABLED" "DISABLED"]], :mergedApiExecutionRoleArn string, :additionalAuthenticationProviders [:seq-of {:authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :userPoolConfig {:userPoolId string, :awsRegion string, :appIdClientRegex string}, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}}], :queryDepthLimit integer, :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :uris [:map-of string string], :logConfig {:fieldLogLevel [:one-of ["NONE" "ERROR" "ALL" "INFO" "DEBUG"]], :cloudWatchLogsRoleArn string, :excludeVerboseContent boolean}, :arn string, :visibility [:one-of ["GLOBAL" "PRIVATE"]], :owner string, :apiId string, :ownerContact string, :apiType [:one-of ["GRAPHQL" "MERGED"]]}}}, :DeleteDataSource {:documentation "

Deletes a DataSource object.

", :request {:apiId string, :name string}, :required [:apiId :name]}, :UpdateSourceApiAssociation {:documentation "

Updates some of the configuration choices of a particular source API association.

", :request {:associationId string, :mergedApiIdentifier string, :description string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}}, :required [:associationId :mergedApiIdentifier], :response {:sourceApiAssociation {:description string, :mergedApiId string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}, :associationId string, :associationArn string, :sourceApiAssociationStatusDetail string, :mergedApiArn string, :sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]], :sourceApiId string, :sourceApiArn string, :lastSuccessfulMergeDate timestamp}}}, :AssociateApi {:documentation "

Maps an endpoint to your custom domain.

", :request {:domainName string, :apiId string}, :required [:domainName :apiId], :response {:apiAssociation {:domainName string, :apiId string, :associationStatus [:one-of ["PROCESSING" "FAILED" "SUCCESS"]], :deploymentDetail string}}}, :ListTypesByAssociation {:documentation "

Lists Type objects by the source API association ID.

", :request {:mergedApiIdentifier string, :associationId string, :format [:one-of ["SDL" "JSON"]], :nextToken string, :maxResults integer}, :required [:mergedApiIdentifier :associationId :format], :response {:types [:seq-of {:name string, :description string, :arn string, :definition string, :format [:one-of ["SDL" "JSON"]]}], :nextToken string}}, :CreateApiCache {:documentation "

Creates a cache for the GraphQL API.

", :request {:apiId string, :ttl long, :transitEncryptionEnabled boolean, :atRestEncryptionEnabled boolean, :apiCachingBehavior [:one-of ["FULL_REQUEST_CACHING" "PER_RESOLVER_CACHING"]], :type [:one-of ["T2_SMALL" "T2_MEDIUM" "R4_LARGE" "R4_XLARGE" "R4_2XLARGE" "R4_4XLARGE" "R4_8XLARGE" "SMALL" "MEDIUM" "LARGE" "XLARGE" "LARGE_2X" "LARGE_4X" "LARGE_8X" "LARGE_12X"]], :healthMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :required [:apiId :ttl :apiCachingBehavior :type], :response {:apiCache {:ttl long, :apiCachingBehavior [:one-of ["FULL_REQUEST_CACHING" "PER_RESOLVER_CACHING"]], :transitEncryptionEnabled boolean, :atRestEncryptionEnabled boolean, :type [:one-of ["T2_SMALL" "T2_MEDIUM" "R4_LARGE" "R4_XLARGE" "R4_2XLARGE" "R4_4XLARGE" "R4_8XLARGE" "SMALL" "MEDIUM" "LARGE" "XLARGE" "LARGE_2X" "LARGE_4X" "LARGE_8X" "LARGE_12X"]], :status [:one-of ["AVAILABLE" "CREATING" "DELETING" "MODIFYING" "FAILED"]], :healthMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}}}, :CreateType {:documentation "

Creates a Type object.

", :request {:apiId string, :definition string, :format [:one-of ["SDL" "JSON"]]}, :required [:apiId :definition :format], :response {:type {:name string, :description string, :arn string, :definition string, :format [:one-of ["SDL" "JSON"]]}}}, :DisassociateApi {:documentation "

Removes an ApiAssociation object from a custom domain.

", :request {:domainName string}, :required [:domainName]}, :ListApiKeys {:documentation "

Lists the API keys for a given API.

API keys are deleted automatically 60 days after they expire. However, they may still be included in the response until they have actually been deleted. You can safely call DeleteApiKey to manually delete a key before it's automatically deleted.

", :request {:apiId string, :nextToken string, :maxResults integer}, :required [:apiId], :response {:apiKeys [:seq-of {:id string, :description string, :expires long, :deletes long}], :nextToken string}}, :ListSourceApiAssociations {:documentation "

Lists the SourceApiAssociationSummary data.

", :request {:apiId string, :nextToken string, :maxResults integer}, :required [:apiId], :response {:sourceApiAssociationSummaries [:seq-of {:associationId string, :associationArn string, :sourceApiId string, :sourceApiArn string, :mergedApiId string, :mergedApiArn string, :description string}], :nextToken string}}, :DeleteType {:documentation "

Deletes a Type object.

", :request {:apiId string, :typeName string}, :required [:apiId :typeName]}, :DeleteApiCache {:documentation "

Deletes an ApiCache object.

", :request {:apiId string}, :required [:apiId]}, :DeleteFunction {:documentation "

Deletes a Function.

", :request {:apiId string, :functionId string}, :required [:apiId :functionId]}, :GetIntrospectionSchema {:documentation "

Retrieves the introspection schema for a GraphQL API.

", :request {:apiId string, :format [:one-of ["SDL" "JSON"]], :includeDirectives boolean}, :required [:apiId :format], :response {:schema blob}}, :GetApiAssociation {:documentation "

Retrieves an ApiAssociation object.

", :request {:domainName string}, :required [:domainName], :response {:apiAssociation {:domainName string, :apiId string, :associationStatus [:one-of ["PROCESSING" "FAILED" "SUCCESS"]], :deploymentDetail string}}}, :CreateResolver {:documentation "

Creates a Resolver object.

A resolver converts incoming requests into a format that a data source can understand, and converts the data source's responses into GraphQL.

", :request {:typeName string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :apiId string, :requestMappingTemplate string}, :required [:apiId :typeName :fieldName], :response {:resolver {:typeName string, :resolverArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :requestMappingTemplate string}}}, :GetDataSource {:documentation "

Retrieves a DataSource object.

", :request {:apiId string, :name string}, :required [:apiId :name], :response {:dataSource {:description string, :dataSourceArn string, :name string, :lambdaConfig {:lambdaFunctionArn string}, :type [:one-of ["AWS_LAMBDA" "AMAZON_DYNAMODB" "AMAZON_ELASTICSEARCH" "NONE" "HTTP" "RELATIONAL_DATABASE" "AMAZON_OPENSEARCH_SERVICE" "AMAZON_EVENTBRIDGE"]], :openSearchServiceConfig {:endpoint string, :awsRegion string}, :eventBridgeConfig {:eventBusArn string}, :serviceRoleArn string, :elasticsearchConfig {:endpoint string, :awsRegion string}, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :relationalDatabaseConfig {:relationalDatabaseSourceType [:one-of ["RDS_HTTP_ENDPOINT"]], :rdsHttpEndpointConfig {:awsRegion string, :dbClusterIdentifier string, :databaseName string, :schema string, :awsSecretStoreArn string}}, :dynamodbConfig {:tableName string, :awsRegion string, :useCallerCredentials boolean, :deltaSyncConfig {:baseTableTTL long, :deltaSyncTableName string, :deltaSyncTableTTL long}, :versioned boolean}, :httpConfig {:endpoint string, :authorizationConfig {:authorizationType [:one-of ["AWS_IAM"]], :awsIamConfig {:signingRegion string, :signingServiceName string}}}}}}, :ListGraphqlApis {:documentation "

Lists your GraphQL APIs.

", :request {:nextToken string, :maxResults integer, :apiType [:one-of ["GRAPHQL" "MERGED"]], :owner [:one-of ["CURRENT_ACCOUNT" "OTHER_ACCOUNTS"]]}, :response {:graphqlApis [:seq-of {:tags [:map-of string string], :userPoolConfig {:userPoolId string, :awsRegion string, :defaultAction [:one-of ["ALLOW" "DENY"]], :appIdClientRegex string}, :xrayEnabled boolean, :enhancedMetricsConfig {:resolverLevelMetricsBehavior [:one-of ["FULL_REQUEST_RESOLVER_METRICS" "PER_RESOLVER_METRICS"]], :dataSourceLevelMetricsBehavior [:one-of ["FULL_REQUEST_DATA_SOURCE_METRICS" "PER_DATA_SOURCE_METRICS"]], :operationLevelMetricsConfig [:one-of ["ENABLED" "DISABLED"]]}, :name string, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}, :wafWebAclArn string, :authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :resolverCountLimit integer, :dns [:map-of string string], :introspectionConfig [:one-of ["ENABLED" "DISABLED"]], :mergedApiExecutionRoleArn string, :additionalAuthenticationProviders [:seq-of {:authenticationType [:one-of ["API_KEY" "AWS_IAM" "AMAZON_COGNITO_USER_POOLS" "OPENID_CONNECT" "AWS_LAMBDA"]], :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :userPoolConfig {:userPoolId string, :awsRegion string, :appIdClientRegex string}, :lambdaAuthorizerConfig {:authorizerResultTtlInSeconds integer, :authorizerUri string, :identityValidationExpression string}}], :queryDepthLimit integer, :openIDConnectConfig {:issuer string, :clientId string, :iatTTL long, :authTTL long}, :uris [:map-of string string], :logConfig {:fieldLogLevel [:one-of ["NONE" "ERROR" "ALL" "INFO" "DEBUG"]], :cloudWatchLogsRoleArn string, :excludeVerboseContent boolean}, :arn string, :visibility [:one-of ["GLOBAL" "PRIVATE"]], :owner string, :apiId string, :ownerContact string, :apiType [:one-of ["GRAPHQL" "MERGED"]]}], :nextToken string}}, :ListResolvers {:documentation "

Lists the resolvers for a given API and type.

", :request {:apiId string, :typeName string, :nextToken string, :maxResults integer}, :required [:apiId :typeName], :response {:resolvers [:seq-of {:typeName string, :resolverArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :requestMappingTemplate string}], :nextToken string}}, :ListFunctions {:documentation "

List multiple functions.

", :request {:apiId string, :nextToken string, :maxResults integer}, :required [:apiId], :response {:functions [:seq-of {:description string, :functionId string, :functionVersion string, :name string, :functionArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :code string, :maxBatchSize integer, :requestMappingTemplate string}], :nextToken string}}, :GetSchemaCreationStatus {:documentation "

Retrieves the current status of a schema creation operation.

", :request {:apiId string}, :required [:apiId], :response {:status [:one-of ["PROCESSING" "ACTIVE" "DELETING" "FAILED" "SUCCESS" "NOT_APPLICABLE"]], :details string}}, :GetType {:documentation "

Retrieves a Type object.

", :request {:apiId string, :typeName string, :format [:one-of ["SDL" "JSON"]]}, :required [:apiId :typeName :format], :response {:type {:name string, :description string, :arn string, :definition string, :format [:one-of ["SDL" "JSON"]]}}}, :PutGraphqlApiEnvironmentVariables {:documentation "

Creates a list of environmental variables in an API by its ID value.

When creating an environmental variable, it must follow the constraints below:

  • Both JavaScript and VTL templates support environmental variables.

  • Environmental variables are not evaluated before function invocation.

  • Environmental variables only support string values.

  • Any defined value in an environmental variable is considered a string literal and not expanded.

  • Variable evaluations should ideally be performed in the function code.

When creating an environmental variable key-value pair, it must follow the additional constraints below:

  • Keys must begin with a letter.

  • Keys must be at least two characters long.

  • Keys can only contain letters, numbers, and the underscore character (_).

  • Values can be up to 512 characters long.

  • You can configure up to 50 key-value pairs in a GraphQL API.

You can create a list of environmental variables by adding it to the environmentVariables payload as a list in the format {\"key1\":\"value1\",\"key2\":\"value2\", …}. Note that each call of the PutGraphqlApiEnvironmentVariables action will result in the overwriting of the existing environmental variable list of that API. This means the existing environmental variables will be lost. To avoid this, you must include all existing and new environmental variables in the list each time you call this action.

", :request {:apiId string, :environmentVariables [:map-of string string]}, :required [:apiId :environmentVariables], :response {:environmentVariables [:map-of string string]}}, :ListResolversByFunction {:documentation "

List the resolvers that are associated with a specific function.

", :request {:apiId string, :functionId string, :nextToken string, :maxResults integer}, :required [:apiId :functionId], :response {:resolvers [:seq-of {:typeName string, :resolverArn string, :responseMappingTemplate string, :syncConfig {:conflictHandler [:one-of ["OPTIMISTIC_CONCURRENCY" "LAMBDA" "AUTOMERGE" "NONE"]], :conflictDetection [:one-of ["VERSION" "NONE"]], :lambdaConflictHandlerConfig {:lambdaConflictHandlerArn string}}, :dataSourceName string, :fieldName string, :runtime {:name [:one-of ["APPSYNC_JS"]], :runtimeVersion string}, :kind [:one-of ["UNIT" "PIPELINE"]], :code string, :pipelineConfig {:functions [:seq-of string]}, :maxBatchSize integer, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :cachingConfig {:ttl long, :cachingKeys [:seq-of string]}, :requestMappingTemplate string}], :nextToken string}}, :GetDataSourceIntrospection {:documentation "

Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.

", :request {:introspectionId string, :includeModelsSDL boolean, :nextToken string, :maxResults integer}, :required [:introspectionId], :response {:introspectionId string, :introspectionStatus [:one-of ["PROCESSING" "FAILED" "SUCCESS"]], :introspectionStatusDetail string, :introspectionResult {:models [:seq-of {:name string, :fields [:seq-of {:name string, :type shape/DataSourceIntrospectionModelFieldType, :length long}], :primaryKey {:name string, :fields [:seq-of string]}, :indexes [:seq-of {:name string, :fields [:seq-of string]}], :sdl string}], :nextToken string}}, :refs {shape/DataSourceIntrospectionModelFieldType {:kind string, :name string, :type shape/DataSourceIntrospectionModelFieldType, :values [:seq-of string]}}}, :CreateApiKey {:documentation "

Creates a unique key that you can distribute to clients who invoke your API.

", :request {:apiId string, :description string, :expires long}, :required [:apiId], :response {:apiKey {:id string, :description string, :expires long, :deletes long}}}, :CreateDataSource {:documentation "

Creates a DataSource object.

", :request {:description string, :name string, :lambdaConfig {:lambdaFunctionArn string}, :type [:one-of ["AWS_LAMBDA" "AMAZON_DYNAMODB" "AMAZON_ELASTICSEARCH" "NONE" "HTTP" "RELATIONAL_DATABASE" "AMAZON_OPENSEARCH_SERVICE" "AMAZON_EVENTBRIDGE"]], :openSearchServiceConfig {:endpoint string, :awsRegion string}, :eventBridgeConfig {:eventBusArn string}, :serviceRoleArn string, :elasticsearchConfig {:endpoint string, :awsRegion string}, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :relationalDatabaseConfig {:relationalDatabaseSourceType [:one-of ["RDS_HTTP_ENDPOINT"]], :rdsHttpEndpointConfig {:awsRegion string, :dbClusterIdentifier string, :databaseName string, :schema string, :awsSecretStoreArn string}}, :dynamodbConfig {:tableName string, :awsRegion string, :useCallerCredentials boolean, :deltaSyncConfig {:baseTableTTL long, :deltaSyncTableName string, :deltaSyncTableTTL long}, :versioned boolean}, :httpConfig {:endpoint string, :authorizationConfig {:authorizationType [:one-of ["AWS_IAM"]], :awsIamConfig {:signingRegion string, :signingServiceName string}}}, :apiId string}, :required [:apiId :name :type], :response {:dataSource {:description string, :dataSourceArn string, :name string, :lambdaConfig {:lambdaFunctionArn string}, :type [:one-of ["AWS_LAMBDA" "AMAZON_DYNAMODB" "AMAZON_ELASTICSEARCH" "NONE" "HTTP" "RELATIONAL_DATABASE" "AMAZON_OPENSEARCH_SERVICE" "AMAZON_EVENTBRIDGE"]], :openSearchServiceConfig {:endpoint string, :awsRegion string}, :eventBridgeConfig {:eventBusArn string}, :serviceRoleArn string, :elasticsearchConfig {:endpoint string, :awsRegion string}, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :relationalDatabaseConfig {:relationalDatabaseSourceType [:one-of ["RDS_HTTP_ENDPOINT"]], :rdsHttpEndpointConfig {:awsRegion string, :dbClusterIdentifier string, :databaseName string, :schema string, :awsSecretStoreArn string}}, :dynamodbConfig {:tableName string, :awsRegion string, :useCallerCredentials boolean, :deltaSyncConfig {:baseTableTTL long, :deltaSyncTableName string, :deltaSyncTableTTL long}, :versioned boolean}, :httpConfig {:endpoint string, :authorizationConfig {:authorizationType [:one-of ["AWS_IAM"]], :awsIamConfig {:signingRegion string, :signingServiceName string}}}}}}, :ListDomainNames {:documentation "

Lists multiple custom domain names.

", :request {:nextToken string, :maxResults integer}, :response {:domainNameConfigs [:seq-of {:domainName string, :description string, :certificateArn string, :appsyncDomainName string, :hostedZoneId string}], :nextToken string}}, :AssociateSourceGraphqlApi {:documentation "

Creates an association between a Merged API and source API using the Merged API's identifier.

", :request {:mergedApiIdentifier string, :sourceApiIdentifier string, :description string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}}, :required [:mergedApiIdentifier :sourceApiIdentifier], :response {:sourceApiAssociation {:description string, :mergedApiId string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}, :associationId string, :associationArn string, :sourceApiAssociationStatusDetail string, :mergedApiArn string, :sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]], :sourceApiId string, :sourceApiArn string, :lastSuccessfulMergeDate timestamp}}}, :ListDataSources {:documentation "

Lists the data sources for a given API.

", :request {:apiId string, :nextToken string, :maxResults integer}, :required [:apiId], :response {:dataSources [:seq-of {:description string, :dataSourceArn string, :name string, :lambdaConfig {:lambdaFunctionArn string}, :type [:one-of ["AWS_LAMBDA" "AMAZON_DYNAMODB" "AMAZON_ELASTICSEARCH" "NONE" "HTTP" "RELATIONAL_DATABASE" "AMAZON_OPENSEARCH_SERVICE" "AMAZON_EVENTBRIDGE"]], :openSearchServiceConfig {:endpoint string, :awsRegion string}, :eventBridgeConfig {:eventBusArn string}, :serviceRoleArn string, :elasticsearchConfig {:endpoint string, :awsRegion string}, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :relationalDatabaseConfig {:relationalDatabaseSourceType [:one-of ["RDS_HTTP_ENDPOINT"]], :rdsHttpEndpointConfig {:awsRegion string, :dbClusterIdentifier string, :databaseName string, :schema string, :awsSecretStoreArn string}}, :dynamodbConfig {:tableName string, :awsRegion string, :useCallerCredentials boolean, :deltaSyncConfig {:baseTableTTL long, :deltaSyncTableName string, :deltaSyncTableTTL long}, :versioned boolean}, :httpConfig {:endpoint string, :authorizationConfig {:authorizationType [:one-of ["AWS_IAM"]], :awsIamConfig {:signingRegion string, :signingServiceName string}}}}], :nextToken string}}, :UpdateDataSource {:documentation "

Updates a DataSource object.

", :request {:description string, :name string, :lambdaConfig {:lambdaFunctionArn string}, :type [:one-of ["AWS_LAMBDA" "AMAZON_DYNAMODB" "AMAZON_ELASTICSEARCH" "NONE" "HTTP" "RELATIONAL_DATABASE" "AMAZON_OPENSEARCH_SERVICE" "AMAZON_EVENTBRIDGE"]], :openSearchServiceConfig {:endpoint string, :awsRegion string}, :eventBridgeConfig {:eventBusArn string}, :serviceRoleArn string, :elasticsearchConfig {:endpoint string, :awsRegion string}, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :relationalDatabaseConfig {:relationalDatabaseSourceType [:one-of ["RDS_HTTP_ENDPOINT"]], :rdsHttpEndpointConfig {:awsRegion string, :dbClusterIdentifier string, :databaseName string, :schema string, :awsSecretStoreArn string}}, :dynamodbConfig {:tableName string, :awsRegion string, :useCallerCredentials boolean, :deltaSyncConfig {:baseTableTTL long, :deltaSyncTableName string, :deltaSyncTableTTL long}, :versioned boolean}, :httpConfig {:endpoint string, :authorizationConfig {:authorizationType [:one-of ["AWS_IAM"]], :awsIamConfig {:signingRegion string, :signingServiceName string}}}, :apiId string}, :required [:apiId :name :type], :response {:dataSource {:description string, :dataSourceArn string, :name string, :lambdaConfig {:lambdaFunctionArn string}, :type [:one-of ["AWS_LAMBDA" "AMAZON_DYNAMODB" "AMAZON_ELASTICSEARCH" "NONE" "HTTP" "RELATIONAL_DATABASE" "AMAZON_OPENSEARCH_SERVICE" "AMAZON_EVENTBRIDGE"]], :openSearchServiceConfig {:endpoint string, :awsRegion string}, :eventBridgeConfig {:eventBusArn string}, :serviceRoleArn string, :elasticsearchConfig {:endpoint string, :awsRegion string}, :metricsConfig [:one-of ["ENABLED" "DISABLED"]], :relationalDatabaseConfig {:relationalDatabaseSourceType [:one-of ["RDS_HTTP_ENDPOINT"]], :rdsHttpEndpointConfig {:awsRegion string, :dbClusterIdentifier string, :databaseName string, :schema string, :awsSecretStoreArn string}}, :dynamodbConfig {:tableName string, :awsRegion string, :useCallerCredentials boolean, :deltaSyncConfig {:baseTableTTL long, :deltaSyncTableName string, :deltaSyncTableTTL long}, :versioned boolean}, :httpConfig {:endpoint string, :authorizationConfig {:authorizationType [:one-of ["AWS_IAM"]], :awsIamConfig {:signingRegion string, :signingServiceName string}}}}}}, :DeleteGraphqlApi {:documentation "

Deletes a GraphqlApi object.

", :request {:apiId string}, :required [:apiId]}, :AssociateMergedGraphqlApi {:documentation "

Creates an association between a Merged API and source API using the source API's identifier.

", :request {:sourceApiIdentifier string, :mergedApiIdentifier string, :description string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}}, :required [:sourceApiIdentifier :mergedApiIdentifier], :response {:sourceApiAssociation {:description string, :mergedApiId string, :sourceApiAssociationConfig {:mergeType [:one-of ["MANUAL_MERGE" "AUTO_MERGE"]]}, :associationId string, :associationArn string, :sourceApiAssociationStatusDetail string, :mergedApiArn string, :sourceApiAssociationStatus [:one-of ["MERGE_SCHEDULED" "MERGE_FAILED" "MERGE_SUCCESS" "MERGE_IN_PROGRESS" "AUTO_MERGE_SCHEDULE_FAILED" "DELETION_SCHEDULED" "DELETION_IN_PROGRESS" "DELETION_FAILED"]], :sourceApiId string, :sourceApiArn string, :lastSuccessfulMergeDate timestamp}}}}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy