Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
api
<Reference Types>
CommonPublicClientOptions
Type alias CommonPublicClientOptions
Common
Public
Client
Options
:
DefaultCommonClientOptions
|
{
apiKey
:
string
;
authMode
:
"apiKey"
;
authToken
?:
string
;
endpoint
:
string
;
headers
?:
CustomHeaders
;
}
|
{
apiKey
?:
string
;
authMode
:
Exclude
<
GraphQLAuthMode
,
"apiKey"
>
;
authToken
?:
string
;
endpoint
:
string
;
headers
?:
CustomHeaders
;
}
Common options that can be used on public
generateClient()
interfaces.
Type declaration
api
Key
:
string
auth
Mode
:
"apiKey"
Optional
auth
Token
?:
string
endpoint
:
string
Optional
headers
?:
CustomHeaders
Type declaration
Optional
api
Key
?:
string
auth
Mode
:
Exclude
<
GraphQLAuthMode
,
"apiKey"
>
Optional
auth
Token
?:
string
endpoint
:
string
Optional
headers
?:
CustomHeaders
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter
Common options that can be used on public
generateClient()
interfaces.