PutMetadataFlag
Stores the metadata information about a feature on a form.
Request Syntax
PUT /app/appId
/environment/environmentName
/metadata/features/featureName
HTTP/1.1
Content-type: application/json
{
"newValue": "string
"
}
URI Request Parameters
The request uses the following URI parameters.
- appId
-
The unique ID for the Amplify app.
Required: Yes
- environmentName
-
The name of the backend environment that is part of the Amplify app.
Required: Yes
- featureName
-
The name of the feature associated with the metadata.
Required: Yes
Request Body
The request accepts the following data in JSON format.
- newValue
-
The new information to store.
Type: String
Required: Yes
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
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: