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

  • targetType :: Maybe LogTargetType

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

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

  • maxResults :: Maybe Natural

    The maximum number of results to return at one time.

Instances

Instances details
Eq ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Read ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Show ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Generic ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Associated Types

type Rep ListV2LoggingLevels :: Type -> Type #

NFData ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Methods

rnf :: ListV2LoggingLevels -> () #

Hashable 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 #

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

type Rep ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

type Rep ListV2LoggingLevels = D1 ('MetaData "ListV2LoggingLevels" "Amazonka.IoT.ListV2LoggingLevels" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "ListV2LoggingLevels'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogTargetType)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListV2LoggingLevels Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

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:targetType:ListV2LoggingLevels', listV2LoggingLevels_targetType - The type of resource for which you are configuring logging. Must be THING_Group.

$sel:nextToken: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.

$sel:maxResults:ListV2LoggingLevels', listV2LoggingLevels_maxResults - The maximum number of results to return at one time.

Request Lenses

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

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

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_maxResults :: Lens' ListV2LoggingLevels (Maybe Natural) Source #

The maximum number of results to return at one time.

Destructuring the Response

data ListV2LoggingLevelsResponse Source #

See: newListV2LoggingLevelsResponse smart constructor.

Constructors

ListV2LoggingLevelsResponse' 

Fields

Instances

Instances details
Eq ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Read ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Show ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Generic ListV2LoggingLevelsResponse Source # 
Instance details

Defined in Amazonka.IoT.ListV2LoggingLevels

Associated Types

type Rep ListV2LoggingLevelsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotZSamazonka-iot" '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.

$sel:nextToken: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.