IoT / Client / get_package

get_package#

IoT.Client.get_package(**kwargs)#

Gets information about the specified software package.

Requires permission to access the GetPackage action.

See also: AWS API Documentation

Request Syntax

response = client.get_package(
    packageName='string'
)
Parameters:

packageName (string) –

[REQUIRED]

The name of the target package.

Return type:

dict

Returns:

Response Syntax

{
    'packageName': 'string',
    'packageArn': 'string',
    'description': 'string',
    'defaultVersionName': 'string',
    'creationDate': datetime(2015, 1, 1),
    'lastModifiedDate': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • packageName (string) –

      The name of the package.

    • packageArn (string) –

      The ARN for the package.

    • description (string) –

      The package description.

    • defaultVersionName (string) –

      The name of the default package version.

    • creationDate (datetime) –

      The date the package was created.

    • lastModifiedDate (datetime) –

      The date when the package was last updated.

Exceptions

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.InternalServerException

  • IoT.Client.exceptions.ValidationException

  • IoT.Client.exceptions.ResourceNotFoundException