Library Documentation
NPM
GitHub
Preparing search index...
The search index is not available
Amplify JS API Documentation
Amplify JS API Documentation
aws-amplify
utils
<Reference Types>
Response
Interface Response
This Fetch API interface represents the response to a request.
interface
Response
{
body
:
null
|
ReadableStream
<
Uint8Array
>
;
bodyUsed
:
boolean
;
headers
:
Headers
;
ok
:
boolean
;
redirected
:
boolean
;
status
:
number
;
statusText
:
string
;
type
:
ResponseType
;
url
:
string
;
arrayBuffer
(
)
:
Promise
<
ArrayBuffer
>
;
blob
(
)
:
Promise
<
Blob
>
;
clone
(
)
:
Response
;
formData
(
)
:
Promise
<
FormData
>
;
json
(
)
:
Promise
<
any
>
;
text
(
)
:
Promise
<
string
>
;
}
Hierarchy (
view full
)
Body
Response
Index
Properties
body
body
Used
headers
ok
redirected
status
status
Text
type
url
Methods
array
Buffer
blob
clone
form
Data
json
text
Properties
Readonly
body
body
:
null
|
ReadableStream
<
Uint8Array
>
Readonly
body
Used
body
Used
:
boolean
Readonly
headers
headers
:
Headers
Readonly
ok
ok
:
boolean
Readonly
redirected
redirected
:
boolean
Readonly
status
status
:
number
Readonly
status
Text
status
Text
:
string
Readonly
type
type
:
ResponseType
Readonly
url
url
:
string
Methods
array
Buffer
array
Buffer
(
)
:
Promise
<
ArrayBuffer
>
Returns
Promise
<
ArrayBuffer
>
blob
blob
(
)
:
Promise
<
Blob
>
Returns
Promise
<
Blob
>
clone
clone
(
)
:
Response
Returns
Response
form
Data
form
Data
(
)
:
Promise
<
FormData
>
Returns
Promise
<
FormData
>
json
json
(
)
:
Promise
<
any
>
Returns
Promise
<
any
>
text
text
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
body
body
Used
headers
ok
redirected
status
status
Text
type
url
array
Buffer
blob
clone
form
Data
json
text
Amplify JS API Documentation
aws-amplify
@aws-amplify
geo
interactions
predictions
pubsub
adapter-nextjs
datastore-storage-adapter
This Fetch API interface represents the response to a request.