ListManagedJobTemplates
Returns a list of managed job templates.
Request Syntax
GET /managed-job-templates?maxResults=maxResults
&nextToken=nextToken
&templateName=templateName
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- maxResults
-
Maximum number of entries that can be returned.
Valid Range: Minimum value of 1. Maximum value of 250.
- nextToken
-
The token to retrieve the next set of results.
- templateName
-
An optional parameter for template name. If specified, only the versions of the managed job templates that have the specified template name will be returned.
Length Constraints: Minimum length of 1. Maximum length of 64.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"managedJobTemplates": [
{
"description": "string",
"environments": [ "string" ],
"templateArn": "string",
"templateName": "string",
"templateVersion": "string"
}
],
"nextToken": "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.
- managedJobTemplates
-
A list of managed job templates that are returned.
Type: Array of ManagedJobTemplateSummary objects
- nextToken
-
The token to retrieve the next set of results.
Type: String
Errors
- InternalServerException
-
Internal error from the service that indicates an unexpected error or that the service is unavailable.
HTTP Status Code: 500
- InvalidRequestException
-
The request is not valid.
HTTP Status Code: 400
- ResourceNotFoundException
-
The specified resource does not exist.
HTTP Status Code: 404
- ThrottlingException
-
The rate exceeds the limit.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: