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

Description

Gets a list of the policies that have an effect on the authorization behavior of the specified device when it connects to the IoT device gateway.

Requires permission to access the GetEffectivePolicies action.

Synopsis

Creating a Request

data GetEffectivePolicies Source #

See: newGetEffectivePolicies smart constructor.

Constructors

GetEffectivePolicies' 

Fields

Instances

Instances details
Eq GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Read GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Show GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Generic GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Associated Types

type Rep GetEffectivePolicies :: Type -> Type #

NFData GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Methods

rnf :: GetEffectivePolicies -> () #

Hashable GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

ToJSON GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

AWSRequest GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Associated Types

type AWSResponse GetEffectivePolicies #

ToHeaders GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

ToPath GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

ToQuery GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

type Rep GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

type Rep GetEffectivePolicies = D1 ('MetaData "GetEffectivePolicies" "Amazonka.IoT.GetEffectivePolicies" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetEffectivePolicies'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "cognitoIdentityPoolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "thingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse GetEffectivePolicies Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

newGetEffectivePolicies :: GetEffectivePolicies Source #

Create a value of GetEffectivePolicies 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:principal:GetEffectivePolicies', getEffectivePolicies_principal - The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

$sel:cognitoIdentityPoolId:GetEffectivePolicies', getEffectivePolicies_cognitoIdentityPoolId - The Cognito identity pool ID.

$sel:thingName:GetEffectivePolicies', getEffectivePolicies_thingName - The thing name.

Request Lenses

getEffectivePolicies_principal :: Lens' GetEffectivePolicies (Maybe Text) Source #

The principal. Valid principals are CertificateArn (arn:aws:iot:region:accountId:cert/certificateId), thingGroupArn (arn:aws:iot:region:accountId:thinggroup/groupName) and CognitoId (region:id).

Destructuring the Response

data GetEffectivePoliciesResponse Source #

See: newGetEffectivePoliciesResponse smart constructor.

Constructors

GetEffectivePoliciesResponse' 

Fields

Instances

Instances details
Eq GetEffectivePoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Read GetEffectivePoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Show GetEffectivePoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Generic GetEffectivePoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

Associated Types

type Rep GetEffectivePoliciesResponse :: Type -> Type #

NFData GetEffectivePoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

type Rep GetEffectivePoliciesResponse Source # 
Instance details

Defined in Amazonka.IoT.GetEffectivePolicies

type Rep GetEffectivePoliciesResponse = D1 ('MetaData "GetEffectivePoliciesResponse" "Amazonka.IoT.GetEffectivePolicies" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetEffectivePoliciesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effectivePolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EffectivePolicy])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetEffectivePoliciesResponse Source #

Create a value of GetEffectivePoliciesResponse 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:effectivePolicies:GetEffectivePoliciesResponse', getEffectivePoliciesResponse_effectivePolicies - The effective policies.

$sel:httpStatus:GetEffectivePoliciesResponse', getEffectivePoliciesResponse_httpStatus - The response's http status code.

Response Lenses