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

Description

Lists logging levels.

Requires permission to access the ListV2LoggingLevels action.

This operation returns paginated results.

Synopsis

Creating a Request

data ListV2LoggingLevels Source #

See: newListV2LoggingLevels smart constructor.

Constructors

ListV2LoggingLevels' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to return at one time.

  • nextToken :: Maybe Text

    To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

  • targetType :: Maybe LogTargetType

    The type of resource for which you are configuring logging. Must be THING_Group.

Instances

Instances details
ToHeaders ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

ToPath ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

ToQuery ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

AWSPager ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

AWSRequest ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Associated Types

type AWSResponse ListV2LoggingLevels #

Generic ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Associated Types

type Rep ListV2LoggingLevels :: Type -> Type #

Read ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Show ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

NFData ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Methods

rnf :: ListV2LoggingLevels -> () #

Eq ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Hashable ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

type AWSResponse ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

type Rep ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

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

newListV2LoggingLevels :: ListV2LoggingLevels Source #

Create a value of ListV2LoggingLevels 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:maxResults:ListV2LoggingLevels', listV2LoggingLevels_maxResults - The maximum number of results to return at one time.

ListV2LoggingLevels, listV2LoggingLevels_nextToken - To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

ListV2LoggingLevels, listV2LoggingLevels_targetType - The type of resource for which you are configuring logging. Must be THING_Group.

Request Lenses

listV2LoggingLevels_maxResults :: Lens' ListV2LoggingLevels (Maybe Natural) Source #

The maximum number of results to return at one time.

listV2LoggingLevels_nextToken :: Lens' ListV2LoggingLevels (Maybe Text) Source #

To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

listV2LoggingLevels_targetType :: Lens' ListV2LoggingLevels (Maybe LogTargetType) Source #

The type of resource for which you are configuring logging. Must be THING_Group.

Destructuring the Response

data ListV2LoggingLevelsResponse Source #

See: newListV2LoggingLevelsResponse smart constructor.

Constructors

ListV2LoggingLevelsResponse' 

Fields

Instances

Instances details
Generic ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Associated Types

type Rep ListV2LoggingLevelsResponse :: Type -> Type #

Read ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Show ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

NFData ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Eq ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

type Rep ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

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

newListV2LoggingLevelsResponse Source #

Create a value of ListV2LoggingLevelsResponse 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:logTargetConfigurations:ListV2LoggingLevelsResponse', listV2LoggingLevelsResponse_logTargetConfigurations - The logging configuration for a target.

ListV2LoggingLevels, listV2LoggingLevelsResponse_nextToken - The token to use to get the next set of results, or null if there are no additional results.

$sel:httpStatus:ListV2LoggingLevelsResponse', listV2LoggingLevelsResponse_httpStatus - The response's http status code.

Response Lenses

listV2LoggingLevelsResponse_nextToken :: Lens' ListV2LoggingLevelsResponse (Maybe Text) Source #

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