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.DescribeExecution

Description

Checks the status of a remote task running on one or more target devices.

Synopsis

Creating a Request

data DescribeExecution Source #

See: newDescribeExecution smart constructor.

Constructors

DescribeExecution' 

Fields

Instances

Instances details
ToJSON DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

ToHeaders DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

ToPath DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

ToQuery DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

AWSRequest DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Associated Types

type AWSResponse DescribeExecution #

Generic DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Associated Types

type Rep DescribeExecution :: Type -> Type #

Read DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Show DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

NFData DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Methods

rnf :: DescribeExecution -> () #

Eq DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Hashable DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

type AWSResponse DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

type Rep DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

type Rep DescribeExecution = D1 ('MetaData "DescribeExecution" "Amazonka.SnowDeviceManagement.DescribeExecution" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "DescribeExecution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeExecution Source #

Create a value of DescribeExecution 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:

DescribeExecution, describeExecution_managedDeviceId - The ID of the managed device.

DescribeExecution, describeExecution_taskId - The ID of the task that the action is describing.

Request Lenses

describeExecution_taskId :: Lens' DescribeExecution Text Source #

The ID of the task that the action is describing.

Destructuring the Response

data DescribeExecutionResponse Source #

See: newDescribeExecutionResponse smart constructor.

Constructors

DescribeExecutionResponse' 

Fields

Instances

Instances details
Generic DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Associated Types

type Rep DescribeExecutionResponse :: Type -> Type #

Read DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Show DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

NFData DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Eq DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

type Rep DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

type Rep DescribeExecutionResponse = D1 ('MetaData "DescribeExecutionResponse" "Amazonka.SnowDeviceManagement.DescribeExecution" "amazonka-snow-device-management-2.0-BSOYMJEGkqv86alAaVucXA" 'False) (C1 ('MetaCons "DescribeExecutionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "executionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "managedDeviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionState))) :*: (S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeExecutionResponse Source #

Create a value of DescribeExecutionResponse 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:

DescribeExecutionResponse, describeExecutionResponse_executionId - The ID of the execution.

DescribeExecutionResponse, describeExecutionResponse_lastUpdatedAt - When the status of the execution was last updated.

DescribeExecution, describeExecutionResponse_managedDeviceId - The ID of the managed device that the task is being executed on.

$sel:startedAt:DescribeExecutionResponse', describeExecutionResponse_startedAt - When the execution began.

DescribeExecutionResponse, describeExecutionResponse_state - The current state of the execution.

DescribeExecution, describeExecutionResponse_taskId - The ID of the task being executed on the device.

$sel:httpStatus:DescribeExecutionResponse', describeExecutionResponse_httpStatus - The response's http status code.

Response Lenses

describeExecutionResponse_lastUpdatedAt :: Lens' DescribeExecutionResponse (Maybe UTCTime) Source #

When the status of the execution was last updated.

describeExecutionResponse_managedDeviceId :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The ID of the managed device that the task is being executed on.

describeExecutionResponse_taskId :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The ID of the task being executed on the device.