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.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
Eq DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Read DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Show DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Generic DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Associated Types

type Rep DescribeExecution :: Type -> Type #

NFData DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Methods

rnf :: DescribeExecution -> () #

Hashable DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

ToJSON DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

AWSRequest DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Associated Types

type AWSResponse 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

type Rep DescribeExecution Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

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

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

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:

$sel:managedDeviceId:DescribeExecution', describeExecution_managedDeviceId - The ID of the managed device.

$sel:taskId: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
Eq DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Read DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Show DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Generic DescribeExecutionResponse Source # 
Instance details

Defined in Amazonka.SnowDeviceManagement.DescribeExecution

Associated Types

type Rep DescribeExecutionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-snow-device-managementZSamazonka-snow-device-management" 'False) (C1 ('MetaCons "DescribeExecutionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "executionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionState)) :*: S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "taskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "managedDeviceId") '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:

$sel:executionId:DescribeExecutionResponse', describeExecutionResponse_executionId - The ID of the execution.

$sel:state:DescribeExecutionResponse', describeExecutionResponse_state - The current state of the execution.

$sel:lastUpdatedAt:DescribeExecutionResponse', describeExecutionResponse_lastUpdatedAt - When the status of the execution was last updated.

$sel:taskId:DescribeExecution', describeExecutionResponse_taskId - The ID of the task being executed on the device.

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

$sel:managedDeviceId:DescribeExecution', describeExecutionResponse_managedDeviceId - The ID of the managed device that the task is being executed on.

$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_taskId :: Lens' DescribeExecutionResponse (Maybe Text) Source #

The ID of the task being executed on the device.

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

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