WorkSpaces / Client / describe_bundle_associations

describe_bundle_associations#

WorkSpaces.Client.describe_bundle_associations(**kwargs)#

Describes the associations between the applications and the specified bundle.

See also: AWS API Documentation

Request Syntax

response = client.describe_bundle_associations(
    BundleId='string',
    AssociatedResourceTypes=[
        'APPLICATION',
    ]
)
Parameters:
  • BundleId (string) –

    [REQUIRED]

    The identifier of the bundle.

  • AssociatedResourceTypes (list) –

    [REQUIRED]

    The resource types of the associated resource.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'Associations': [
        {
            'AssociatedResourceId': 'string',
            'AssociatedResourceType': 'APPLICATION',
            'BundleId': 'string',
            'Created': datetime(2015, 1, 1),
            'LastUpdatedTime': datetime(2015, 1, 1),
            'State': 'PENDING_INSTALL'|'PENDING_INSTALL_DEPLOYMENT'|'PENDING_UNINSTALL'|'PENDING_UNINSTALL_DEPLOYMENT'|'INSTALLING'|'UNINSTALLING'|'ERROR'|'COMPLETED'|'REMOVED',
            'StateReason': {
                'ErrorCode': 'ValidationError.InsufficientDiskSpace'|'ValidationError.InsufficientMemory'|'ValidationError.UnsupportedOperatingSystem'|'DeploymentError.InternalServerError'|'DeploymentError.WorkspaceUnreachable',
                'ErrorMessage': 'string'
            }
        },
    ]
}

Response Structure

  • (dict) –

    • Associations (list) –

      List of information about the specified associations.

      • (dict) –

        Describes the association between an application and a bundle resource.

        • AssociatedResourceId (string) –

          The identifier of the associated resource.

        • AssociatedResourceType (string) –

          The resource type of the associated resources.

        • BundleId (string) –

          The identifier of the bundle.

        • Created (datetime) –

          The time the association is created.

        • LastUpdatedTime (datetime) –

          The time the association status was last updated.

        • State (string) –

          The status of the bundle resource association.

        • StateReason (dict) –

          The reason the association deployment failed.

          • ErrorCode (string) –

            The error code of the association deployment failure.

          • ErrorMessage (string) –

            The error message of the association deployment failure.

Exceptions