interface APIEventsConfig {
    apiKey?: string;
    customEndpoint?: string;
    customEndpointRegion?: string;
    defaultAuthMode: GraphQLAuthMode;
    endpoint: string;
    region?: string;
}

Properties

apiKey?: string

Optional API key string. Required only if the auth mode is 'apiKey'.

customEndpoint?: string

Custom domain endpoint for GraphQL API.

customEndpointRegion?: string

Optional region string used to sign the request to customEndpoint. Effective only if customEndpoint is specified, and the auth mode is 'iam'.

defaultAuthMode: GraphQLAuthMode

Default auth mode for all the API calls to given service.

endpoint: string

Required GraphQL endpoint, must be a valid URL string.

region?: string

Optional region string used to sign the request. Required only if the auth mode is 'iam'.