Amazon SageMaker Service

2020/07/09 - Amazon SageMaker Service - 1 new1 updated api methods

Changes  Update sagemaker client to latest version

DeleteHumanTaskUi (new) Link ¶

Use this operation to delete a worker task template ( HumanTaskUi).

To see a list of human task user interfaces (work task templates) in your account, use . When you delete a worker task template, it no longer appears when you call ListHumanTaskUis.

See also: AWS API Documentation

Request Syntax

client.delete_human_task_ui(
    HumanTaskUiName='string'
)
type HumanTaskUiName:

string

param HumanTaskUiName:

[REQUIRED]

The name of the human task user interface (work task template) you want to delete.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DescribeHumanTaskUi (updated) Link ¶
Changes (response)
{'HumanTaskUiStatus': 'Active | Deleting'}

Returns information about the requested human task user interface (worker task template).

See also: AWS API Documentation

Request Syntax

client.describe_human_task_ui(
    HumanTaskUiName='string'
)
type HumanTaskUiName:

string

param HumanTaskUiName:

[REQUIRED]

The name of the human task user interface (worker task template) you want information about.

rtype:

dict

returns:

Response Syntax

{
    'HumanTaskUiArn': 'string',
    'HumanTaskUiName': 'string',
    'HumanTaskUiStatus': 'Active'|'Deleting',
    'CreationTime': datetime(2015, 1, 1),
    'UiTemplate': {
        'Url': 'string',
        'ContentSha256': 'string'
    }
}

Response Structure

  • (dict) --

    • HumanTaskUiArn (string) --

      The Amazon Resource Name (ARN) of the human task user interface (worker task template).

    • HumanTaskUiName (string) --

      The name of the human task user interface (worker task template).

    • HumanTaskUiStatus (string) --

      The status of the human task user interface (worker task template). Valid values are listed below.

    • CreationTime (datetime) --

      The timestamp when the human task user interface was created.

    • UiTemplate (dict) --

      Container for user interface template information.

      • Url (string) --

        The URL for the user interface template.

      • ContentSha256 (string) --

        The SHA-256 digest of the contents of the template.