Returns the default client config associated with the provided configNamespace, or the default configNamespace if none is provided.
OptionalconfigNamespace: stringThe namespace of the config to retrieve the default client options for.
The default client config associated with the provided configNamespace, or the default configNamespace if none is provided.
Create and fetch a new GraphQL client.
Optionaloptions: ClientOptionsClientOptions for configuring AmplifyClient connection and location
GraphQLClient
Clears caches on the client
Set an auth client that contains a jwtToken refresh method called getLatestAuthToken() of type
string | (() => string | Promise<string>)
Instance of this client manager
Set configuration needed for Api Client
ApiClientConfig
Instance of this client manager
Used for unit testing scenarios. This will remove any config already set
Staticget
Singleton to manage a GraphQL client instance that may be shared by multiple service clients.