libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SnowDeviceManagement.DescribeTask

Description

Checks the metadata for a given task on a device.

Synopsis

Creating a Request

data DescribeTask Source #

See: newDescribeTask smart constructor.

Constructors

DescribeTask' 

Fields

Instances

Instances details
Eq DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Read DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Show DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Generic DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Associated Types

type Rep DescribeTask :: Type -> Type #

NFData DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Methods

rnf :: DescribeTask -> () #

Hashable DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

ToJSON DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

AWSRequest DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Associated Types

type AWSResponse DescribeTask #

ToHeaders DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

ToPath DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

ToQuery DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

type Rep DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

type Rep DescribeTask = D1 ('MetaData "DescribeTask" "Amazonka.SnowDeviceManagement.DescribeTask" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "DescribeTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

newDescribeTask Source #

Create a value of DescribeTask with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:taskId:DescribeTask', describeTask_taskId - The ID of the task to be described.

Request Lenses

describeTask_taskId :: Lens' DescribeTask Text Source #

The ID of the task to be described.

Destructuring the Response

data DescribeTaskResponse Source #

See: newDescribeTaskResponse smart constructor.

Constructors

DescribeTaskResponse' 

Fields

Instances

Instances details
Eq DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Read DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Show DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Generic DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Associated Types

type Rep DescribeTaskResponse :: Type -> Type #

NFData DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Methods

rnf :: DescribeTaskResponse -> () #

type Rep DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

newDescribeTaskResponse Source #

Create a value of DescribeTaskResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:state:DescribeTaskResponse', describeTaskResponse_state - The current state of the task.

$sel:lastUpdatedAt:DescribeTaskResponse', describeTaskResponse_lastUpdatedAt - When the state of the task was last updated.

$sel:createdAt:DescribeTaskResponse', describeTaskResponse_createdAt - When the CreateTask operation was called.

$sel:taskId:DescribeTask', describeTaskResponse_taskId - The ID of the task.

$sel:taskArn:DescribeTaskResponse', describeTaskResponse_taskArn - The Amazon Resource Name (ARN) of the task.

$sel:targets:DescribeTaskResponse', describeTaskResponse_targets - The managed devices that the task was sent to.

$sel:completedAt:DescribeTaskResponse', describeTaskResponse_completedAt - When the task was completed.

$sel:description:DescribeTaskResponse', describeTaskResponse_description - The description provided of the task and managed devices.

$sel:tags:DescribeTaskResponse', describeTaskResponse_tags - Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.

$sel:httpStatus:DescribeTaskResponse', describeTaskResponse_httpStatus - The response's http status code.

Response Lenses

describeTaskResponse_lastUpdatedAt :: Lens' DescribeTaskResponse (Maybe UTCTime) Source #

When the state of the task was last updated.

describeTaskResponse_createdAt :: Lens' DescribeTaskResponse (Maybe UTCTime) Source #

When the CreateTask operation was called.

describeTaskResponse_taskArn :: Lens' DescribeTaskResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the task.

describeTaskResponse_targets :: Lens' DescribeTaskResponse (Maybe (NonEmpty Text)) Source #

The managed devices that the task was sent to.

describeTaskResponse_description :: Lens' DescribeTaskResponse (Maybe Text) Source #

The description provided of the task and managed devices.

describeTaskResponse_tags :: Lens' DescribeTaskResponse (Maybe (HashMap Text Text)) Source #

Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.