libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.ListAuditMitigationActionsTasks

Description

Gets a list of audit mitigation action tasks that match the specified filters.

Requires permission to access the ListAuditMitigationActionsTasks action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAuditMitigationActionsTasks Source #

See: newListAuditMitigationActionsTasks smart constructor.

Constructors

ListAuditMitigationActionsTasks' 

Fields

  • auditTaskId :: Maybe Text

    Specify this filter to limit results to tasks that were applied to results for a specific audit.

  • nextToken :: Maybe Text

    The token for the next set of results.

  • findingId :: Maybe Text

    Specify this filter to limit results to tasks that were applied to a specific audit finding.

  • maxResults :: Maybe Natural

    The maximum number of results to return at one time. The default is 25.

  • taskStatus :: Maybe AuditMitigationActionsTaskStatus

    Specify this filter to limit results to tasks that are in a specific state.

  • startTime :: POSIX

    Specify this filter to limit results to tasks that began on or after a specific date and time.

  • endTime :: POSIX

    Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.

Instances

Instances details
Eq ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Read ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Show ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Generic ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Associated Types

type Rep ListAuditMitigationActionsTasks :: Type -> Type #

NFData ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Hashable ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

AWSPager ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

AWSRequest ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

ToHeaders ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

ToPath ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

ToQuery ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

type Rep ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

type Rep ListAuditMitigationActionsTasks = D1 ('MetaData "ListAuditMitigationActionsTasks" "Amazonka.IoT.ListAuditMitigationActionsTasks" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListAuditMitigationActionsTasks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "auditTaskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "findingId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "taskStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuditMitigationActionsTaskStatus))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX)))))
type AWSResponse ListAuditMitigationActionsTasks Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

newListAuditMitigationActionsTasks Source #

Create a value of ListAuditMitigationActionsTasks 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:auditTaskId:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_auditTaskId - Specify this filter to limit results to tasks that were applied to results for a specific audit.

$sel:nextToken:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_nextToken - The token for the next set of results.

$sel:findingId:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_findingId - Specify this filter to limit results to tasks that were applied to a specific audit finding.

$sel:maxResults:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_maxResults - The maximum number of results to return at one time. The default is 25.

$sel:taskStatus:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_taskStatus - Specify this filter to limit results to tasks that are in a specific state.

$sel:startTime:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_startTime - Specify this filter to limit results to tasks that began on or after a specific date and time.

$sel:endTime:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasks_endTime - Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.

Request Lenses

listAuditMitigationActionsTasks_auditTaskId :: Lens' ListAuditMitigationActionsTasks (Maybe Text) Source #

Specify this filter to limit results to tasks that were applied to results for a specific audit.

listAuditMitigationActionsTasks_findingId :: Lens' ListAuditMitigationActionsTasks (Maybe Text) Source #

Specify this filter to limit results to tasks that were applied to a specific audit finding.

listAuditMitigationActionsTasks_maxResults :: Lens' ListAuditMitigationActionsTasks (Maybe Natural) Source #

The maximum number of results to return at one time. The default is 25.

listAuditMitigationActionsTasks_taskStatus :: Lens' ListAuditMitigationActionsTasks (Maybe AuditMitigationActionsTaskStatus) Source #

Specify this filter to limit results to tasks that are in a specific state.

listAuditMitigationActionsTasks_startTime :: Lens' ListAuditMitigationActionsTasks UTCTime Source #

Specify this filter to limit results to tasks that began on or after a specific date and time.

listAuditMitigationActionsTasks_endTime :: Lens' ListAuditMitigationActionsTasks UTCTime Source #

Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.

Destructuring the Response

data ListAuditMitigationActionsTasksResponse Source #

Constructors

ListAuditMitigationActionsTasksResponse' 

Fields

Instances

Instances details
Eq ListAuditMitigationActionsTasksResponse Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Read ListAuditMitigationActionsTasksResponse Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Show ListAuditMitigationActionsTasksResponse Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

Generic ListAuditMitigationActionsTasksResponse Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

NFData ListAuditMitigationActionsTasksResponse Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

type Rep ListAuditMitigationActionsTasksResponse Source # 
Instance details

Defined in Amazonka.IoT.ListAuditMitigationActionsTasks

type Rep ListAuditMitigationActionsTasksResponse = D1 ('MetaData "ListAuditMitigationActionsTasksResponse" "Amazonka.IoT.ListAuditMitigationActionsTasks" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListAuditMitigationActionsTasksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tasks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AuditMitigationActionsTaskMetadata])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAuditMitigationActionsTasksResponse Source #

Create a value of ListAuditMitigationActionsTasksResponse 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:tasks:ListAuditMitigationActionsTasksResponse', listAuditMitigationActionsTasksResponse_tasks - The collection of audit mitigation tasks that matched the filter criteria.

$sel:nextToken:ListAuditMitigationActionsTasks', listAuditMitigationActionsTasksResponse_nextToken - The token for the next set of results.

$sel:httpStatus:ListAuditMitigationActionsTasksResponse', listAuditMitigationActionsTasksResponse_httpStatus - The response's http status code.

Response Lenses