Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
@aws-amplify/predictions
<Reference Types>
Client
Class Client<HandlerOptions, ClientInput, ClientOutput, ResolvedClientConfiguration>
Type Parameters
HandlerOptions
ClientInput
extends
object
ClientOutput
extends
MetadataBearer
ResolvedClientConfiguration
extends
SmithyResolvedConfiguration
<
HandlerOptions
>
Hierarchy (
view full
)
Client
TranslateClient
PollyClient
RekognitionClient
TextractClient
ComprehendClient
Implements
Client
<
ClientInput
,
ClientOutput
,
ResolvedClientConfiguration
>
Index
Constructors
constructor
Properties
config
middleware
Stack
Methods
destroy
send
Constructors
constructor
new
Client
<
HandlerOptions
,
ClientInput
,
ClientOutput
,
ResolvedClientConfiguration
>
(
config
)
:
Client
<
HandlerOptions
,
ClientInput
,
ClientOutput
,
ResolvedClientConfiguration
>
Type Parameters
HandlerOptions
ClientInput
extends
object
ClientOutput
extends
MetadataBearer
ResolvedClientConfiguration
extends
SmithyResolvedConfiguration
<
HandlerOptions
>
Parameters
config
:
ResolvedClientConfiguration
Returns
Client
<
HandlerOptions
,
ClientInput
,
ClientOutput
,
ResolvedClientConfiguration
>
Properties
Readonly
config
config
:
ResolvedClientConfiguration
middleware
Stack
middleware
Stack
:
MiddlewareStack
<
ClientInput
,
ClientOutput
>
Methods
destroy
destroy
(
)
:
void
Returns
void
send
send
<
InputType
,
OutputType
>
(
command
,
options
?
)
:
Promise
<
OutputType
>
Type Parameters
InputType
extends
object
OutputType
extends
MetadataBearer
Parameters
command
:
Command
<
ClientInput
,
InputType
,
ClientOutput
,
OutputType
,
SmithyResolvedConfiguration
<
HandlerOptions
>
>
Optional
options
:
HandlerOptions
Returns
Promise
<
OutputType
>
send
<
InputType
,
OutputType
>
(
command
,
cb
)
:
void
Type Parameters
InputType
extends
object
OutputType
extends
MetadataBearer
Parameters
command
:
Command
<
ClientInput
,
InputType
,
ClientOutput
,
OutputType
,
SmithyResolvedConfiguration
<
HandlerOptions
>
>
cb
:
(
(
err
,
data
?
)
=>
void
)
(
err
,
data
?
)
:
void
Parameters
err
:
any
Optional
data
:
OutputType
Returns
void
Returns
void
send
<
InputType
,
OutputType
>
(
command
,
options
,
cb
)
:
void
Type Parameters
InputType
extends
object
OutputType
extends
MetadataBearer
Parameters
command
:
Command
<
ClientInput
,
InputType
,
ClientOutput
,
OutputType
,
SmithyResolvedConfiguration
<
HandlerOptions
>
>
options
:
HandlerOptions
cb
:
(
(
err
,
data
?
)
=>
void
)
(
err
,
data
?
)
:
void
Parameters
err
:
any
Optional
data
:
OutputType
Returns
void
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
config
middleware
Stack
destroy
send
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter