amazonka-iot-2.0: Amazon IoT 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.IoT.ListJobExecutionsForThing

Description

Lists the job executions for the specified thing.

Requires permission to access the ListJobExecutionsForThing action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListJobExecutionsForThing Source #

See: newListJobExecutionsForThing smart constructor.

Constructors

ListJobExecutionsForThing' 

Fields

  • jobId :: Maybe Text

    The unique identifier you assigned to this job when it was created.

  • maxResults :: Maybe Natural

    The maximum number of results to be returned per request.

  • namespaceId :: Maybe Text

    The namespace used to indicate that a job is a customer-managed job.

    When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.

    $aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/

    The namespaceId feature is in public preview.

  • nextToken :: Maybe Text

    The token to retrieve the next set of results.

  • status :: Maybe JobExecutionStatus

    An optional filter that lets you search for jobs that have the specified status.

  • thingName :: Text

    The thing name.

Instances

Instances details
ToHeaders ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

ToPath ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

ToQuery ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

AWSPager ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

AWSRequest ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Generic ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Associated Types

type Rep ListJobExecutionsForThing :: Type -> Type #

Read ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Show ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

NFData ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Eq ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Hashable ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

type AWSResponse ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

type Rep ListJobExecutionsForThing Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

type Rep ListJobExecutionsForThing = D1 ('MetaData "ListJobExecutionsForThing" "Amazonka.IoT.ListJobExecutionsForThing" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListJobExecutionsForThing'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "namespaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobExecutionStatus)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListJobExecutionsForThing Source #

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

ListJobExecutionsForThing, listJobExecutionsForThing_jobId - The unique identifier you assigned to this job when it was created.

$sel:maxResults:ListJobExecutionsForThing', listJobExecutionsForThing_maxResults - The maximum number of results to be returned per request.

ListJobExecutionsForThing, listJobExecutionsForThing_namespaceId - The namespace used to indicate that a job is a customer-managed job.

When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.

$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/

The namespaceId feature is in public preview.

ListJobExecutionsForThing, listJobExecutionsForThing_nextToken - The token to retrieve the next set of results.

ListJobExecutionsForThing, listJobExecutionsForThing_status - An optional filter that lets you search for jobs that have the specified status.

ListJobExecutionsForThing, listJobExecutionsForThing_thingName - The thing name.

Request Lenses

listJobExecutionsForThing_jobId :: Lens' ListJobExecutionsForThing (Maybe Text) Source #

The unique identifier you assigned to this job when it was created.

listJobExecutionsForThing_maxResults :: Lens' ListJobExecutionsForThing (Maybe Natural) Source #

The maximum number of results to be returned per request.

listJobExecutionsForThing_namespaceId :: Lens' ListJobExecutionsForThing (Maybe Text) Source #

The namespace used to indicate that a job is a customer-managed job.

When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format.

$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/

The namespaceId feature is in public preview.

listJobExecutionsForThing_nextToken :: Lens' ListJobExecutionsForThing (Maybe Text) Source #

The token to retrieve the next set of results.

listJobExecutionsForThing_status :: Lens' ListJobExecutionsForThing (Maybe JobExecutionStatus) Source #

An optional filter that lets you search for jobs that have the specified status.

Destructuring the Response

data ListJobExecutionsForThingResponse Source #

See: newListJobExecutionsForThingResponse smart constructor.

Constructors

ListJobExecutionsForThingResponse' 

Fields

Instances

Instances details
Generic ListJobExecutionsForThingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Associated Types

type Rep ListJobExecutionsForThingResponse :: Type -> Type #

Read ListJobExecutionsForThingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Show ListJobExecutionsForThingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

NFData ListJobExecutionsForThingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

Eq ListJobExecutionsForThingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

type Rep ListJobExecutionsForThingResponse Source # 
Instance details

Defined in Amazonka.IoT.ListJobExecutionsForThing

type Rep ListJobExecutionsForThingResponse = D1 ('MetaData "ListJobExecutionsForThingResponse" "Amazonka.IoT.ListJobExecutionsForThing" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "ListJobExecutionsForThingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executionSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobExecutionSummaryForThing])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJobExecutionsForThingResponse Source #

Create a value of ListJobExecutionsForThingResponse 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:executionSummaries:ListJobExecutionsForThingResponse', listJobExecutionsForThingResponse_executionSummaries - A list of job execution summaries.

ListJobExecutionsForThing, listJobExecutionsForThingResponse_nextToken - The token for the next set of results, or null if there are no additional results.

$sel:httpStatus:ListJobExecutionsForThingResponse', listJobExecutionsForThingResponse_httpStatus - The response's http status code.

Response Lenses

listJobExecutionsForThingResponse_nextToken :: Lens' ListJobExecutionsForThingResponse (Maybe Text) Source #

The token for the next set of results, or null if there are no additional results.