amazonka-greengrass-2.0: Amazon Greengrass 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.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
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

AWSRequest GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Associated Types

type AWSResponse GetAssociatedRole #

Generic GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Associated Types

type Rep GetAssociatedRole :: Type -> Type #

Read GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Show GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

NFData GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Methods

rnf :: GetAssociatedRole -> () #

Eq GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Hashable GetAssociatedRole Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "GetAssociatedRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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
Generic GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Associated Types

type Rep GetAssociatedRoleResponse :: Type -> Type #

Read GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Show GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

NFData GetAssociatedRoleResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetAssociatedRole

Eq 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" '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.