GetMetadata
Returns existing metadata for an Amplify app.
Request Syntax
GET /app/appId
/environment/environmentName
/metadata HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- appId
-
The unique ID of the Amplify app.
Required: Yes
- environmentName
-
The name of the backend environment that is part of the Amplify app.
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"features": {
"string" : "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- features
-
Represents the configuration settings for the features metadata.
Type: String to string map
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidParameterException
-
An invalid or out-of-range value was supplied for the input parameter.
HTTP Status Code: 400
- UnauthorizedException
-
You don't have permission to perform this operation.
HTTP Status Code: 401
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: