amazonka-snow-device-management-2.0: Amazon Snow Device Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.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

AWSRequest DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Associated Types

type AWSResponse DescribeTask #

Generic DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Associated Types

type Rep DescribeTask :: Type -> Type #

Read DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Show DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

NFData DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Methods

rnf :: DescribeTask -> () #

Eq DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Hashable DescribeTask Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

type AWSResponse 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" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "DescribeTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Associated Types

type Rep DescribeTaskResponse :: Type -> Type #

Read DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Show DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

NFData DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

Methods

rnf :: DescribeTaskResponse -> () #

Eq DescribeTaskResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeTask

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:completedAt:DescribeTaskResponse', describeTaskResponse_completedAt - When the task was completed.

DescribeTaskResponse, describeTaskResponse_createdAt - When the CreateTask operation was called.

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

DescribeTaskResponse, describeTaskResponse_lastUpdatedAt - When the state of the task was last updated.

DescribeTaskResponse, describeTaskResponse_state - The current state of the task.

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:targets:DescribeTaskResponse', describeTaskResponse_targets - The managed devices that the task was sent to.

DescribeTaskResponse, describeTaskResponse_taskArn - The Amazon Resource Name (ARN) of the task.

DescribeTask, describeTaskResponse_taskId - The ID of the task.

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

Response Lenses

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

When the CreateTask operation was called.

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

The description provided of the task and managed devices.

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

When the state of the task was last updated.

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.

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

The managed devices that the task was sent to.

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

The Amazon Resource Name (ARN) of the task.