PutMLConfiguration
Assigns information about an ML configuration.
Request Syntax
PUT /memberships/membershipIdentifier
/ml-configurations HTTP/1.1
Content-type: application/json
{
"defaultOutputLocation": {
"destination": {
"s3Destination": {
"s3Uri": "string
"
}
},
"roleArn": "string
"
}
}
URI Request Parameters
The request uses the following URI parameters.
- membershipIdentifier
-
The membership ID of the member that is being configured.
Length Constraints: Fixed length of 36.
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Required: Yes
Request Body
The request accepts the following data in JSON format.
- defaultOutputLocation
-
The default Amazon S3 location where ML output is stored for the specified member.
Type: MLOutputConfiguration object
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.
- AccessDeniedException
-
You do not have sufficient access to perform this action.
HTTP Status Code: 403
- ValidationException
-
The request parameters for this request are incorrect.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: