list_service_templates

list_service_templates(**kwargs)

List service templates with detail data.

See also: AWS API Documentation

Request Syntax

response = client.list_service_templates(
    maxResults=123,
    nextToken='string'
)
Parameters
  • maxResults (integer) -- The maximum number of service templates to list.
  • nextToken (string) -- A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.
Return type

dict

Returns

Response Syntax

{
    'nextToken': 'string',
    'templates': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'description': 'string',
            'displayName': 'string',
            'lastModifiedAt': datetime(2015, 1, 1),
            'name': 'string',
            'pipelineProvisioning': 'CUSTOMER_MANAGED',
            'recommendedVersion': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.

    • templates (list) --

      An array of service templates with detail data.

      • (dict) --

        Summary data of an Proton service template resource.

        • arn (string) --

          The Amazon Resource Name (ARN) of the service template.

        • createdAt (datetime) --

          The time when the service template was created.

        • description (string) --

          A description of the service template.

        • displayName (string) --

          The service template name as displayed in the developer interface.

        • lastModifiedAt (datetime) --

          The time when the service template was last modified.

        • name (string) --

          The name of the service template.

        • pipelineProvisioning (string) --

          If pipelineProvisioning is true , a service pipeline is included in the service template, otherwise a service pipeline isn't included in the service template.

        • recommendedVersion (string) --

          The recommended version of the service template.

Exceptions

  • Proton.Client.exceptions.ValidationException
  • Proton.Client.exceptions.AccessDeniedException
  • Proton.Client.exceptions.ThrottlingException
  • Proton.Client.exceptions.InternalServerException