libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.GetAssociatedRole

Description

Retrieves the role associated with a particular group.

Synopsis

Creating a Request

data GetAssociatedRole Source #

See: newGetAssociatedRole smart constructor.

Constructors

GetAssociatedRole' 

Fields

Instances

Instances details
Eq GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Read GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Show GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Generic GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Associated Types

type Rep GetAssociatedRole :: Type -> Type #

NFData GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Methods

rnf :: GetAssociatedRole -> () #

Hashable GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

AWSRequest GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Associated Types

type AWSResponse GetAssociatedRole #

ToHeaders GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

ToPath GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

ToQuery GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

type Rep GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

type Rep GetAssociatedRole = D1 ('MetaData "GetAssociatedRole" "Amazonka.Greengrass.GetAssociatedRole" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetAssociatedRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

newGetAssociatedRole Source #

Create a value of GetAssociatedRole 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:groupId:GetAssociatedRole', getAssociatedRole_groupId - The ID of the Greengrass group.

Request Lenses

getAssociatedRole_groupId :: Lens' GetAssociatedRole Text Source #

The ID of the Greengrass group.

Destructuring the Response

data GetAssociatedRoleResponse Source #

See: newGetAssociatedRoleResponse smart constructor.

Constructors

GetAssociatedRoleResponse' 

Fields

Instances

Instances details
Eq GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Read GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Show GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Generic GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Associated Types

type Rep GetAssociatedRoleResponse :: Type -> Type #

NFData GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

type Rep GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

type Rep GetAssociatedRoleResponse = D1 ('MetaData "GetAssociatedRoleResponse" "Amazonka.Greengrass.GetAssociatedRole" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetAssociatedRoleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAssociatedRoleResponse Source #

Create a value of GetAssociatedRoleResponse 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:associatedAt:GetAssociatedRoleResponse', getAssociatedRoleResponse_associatedAt - The time when the role was associated with the group.

$sel:roleArn:GetAssociatedRoleResponse', getAssociatedRoleResponse_roleArn - The ARN of the role that is associated with the group.

$sel:httpStatus:GetAssociatedRoleResponse', getAssociatedRoleResponse_httpStatus - The response's http status code.

Response Lenses

getAssociatedRoleResponse_associatedAt :: Lens' GetAssociatedRoleResponse (Maybe Text) Source #

The time when the role was associated with the group.

getAssociatedRoleResponse_roleArn :: Lens' GetAssociatedRoleResponse (Maybe Text) Source #

The ARN of the role that is associated with the group.