update_service_template

update_service_template(**kwargs)

Update a service template.

See also: AWS API Documentation

Request Syntax

response = client.update_service_template(
    description='string',
    displayName='string',
    name='string'
)
Parameters
  • description (string) -- A description of the service template update.
  • displayName (string) -- The name of the service template to update that's displayed in the developer interface.
  • name (string) --

    [REQUIRED]

    The name of the service template to update.

Return type

dict

Returns

Response Syntax

{
    'serviceTemplate': {
        'arn': 'string',
        'createdAt': datetime(2015, 1, 1),
        'description': 'string',
        'displayName': 'string',
        'encryptionKey': 'string',
        'lastModifiedAt': datetime(2015, 1, 1),
        'name': 'string',
        'pipelineProvisioning': 'CUSTOMER_MANAGED',
        'recommendedVersion': 'string'
    }
}

Response Structure

  • (dict) --

    • serviceTemplate (dict) --

      The service template detail data that's returned by Proton.

      • 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.

      • encryptionKey (string) --

        The customer provided service template encryption key that's used to encrypt data.

      • 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.ConflictException
  • Proton.Client.exceptions.ResourceNotFoundException
  • Proton.Client.exceptions.InternalServerException