describe_provisioning_template_version

IoT.Client.describe_provisioning_template_version(**kwargs)

Returns information about a provisioning template version.

Requires permission to access the DescribeProvisioningTemplateVersion action.

See also: AWS API Documentation

Request Syntax

response = client.describe_provisioning_template_version(
    templateName='string',
    versionId=123
)
Parameters
  • templateName (string) --

    [REQUIRED]

    The template name.

  • versionId (integer) --

    [REQUIRED]

    The provisioning template version ID.

Return type

dict

Returns

Response Syntax

{
    'versionId': 123,
    'creationDate': datetime(2015, 1, 1),
    'templateBody': 'string',
    'isDefaultVersion': True|False
}

Response Structure

  • (dict) --

    • versionId (integer) --

      The provisioning template version ID.

    • creationDate (datetime) --

      The date when the provisioning template version was created.

    • templateBody (string) --

      The JSON formatted contents of the provisioning template version.

    • isDefaultVersion (boolean) --

      True if the provisioning template version is the default version.

Exceptions

  • IoT.Client.exceptions.InternalFailureException
  • IoT.Client.exceptions.InvalidRequestException
  • IoT.Client.exceptions.ThrottlingException
  • IoT.Client.exceptions.ResourceNotFoundException
  • IoT.Client.exceptions.UnauthorizedException