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

Description

Retrieves the service role that is attached to your account.

Synopsis

Creating a Request

data GetServiceRoleForAccount Source #

See: newGetServiceRoleForAccount smart constructor.

Instances

Instances details
Eq GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Read GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Show GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Generic GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Associated Types

type Rep GetServiceRoleForAccount :: Type -> Type #

NFData GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Hashable GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

AWSRequest GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

ToHeaders GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

ToPath GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

ToQuery GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccount = D1 ('MetaData "GetServiceRoleForAccount" "Amazonka.Greengrass.GetServiceRoleForAccount" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetServiceRoleForAccount'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetServiceRoleForAccount Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

newGetServiceRoleForAccount :: GetServiceRoleForAccount Source #

Create a value of GetServiceRoleForAccount with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetServiceRoleForAccountResponse Source #

See: newGetServiceRoleForAccountResponse smart constructor.

Constructors

GetServiceRoleForAccountResponse' 

Fields

Instances

Instances details
Eq GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Read GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Show GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Generic GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

Associated Types

type Rep GetServiceRoleForAccountResponse :: Type -> Type #

NFData GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccountResponse Source # 
Instance details

Defined in Amazonka.Greengrass.GetServiceRoleForAccount

type Rep GetServiceRoleForAccountResponse = D1 ('MetaData "GetServiceRoleForAccountResponse" "Amazonka.Greengrass.GetServiceRoleForAccount" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "GetServiceRoleForAccountResponse'" '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))))

newGetServiceRoleForAccountResponse Source #

Create a value of GetServiceRoleForAccountResponse 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:GetServiceRoleForAccountResponse', getServiceRoleForAccountResponse_associatedAt - The time when the service role was associated with the account.

$sel:roleArn:GetServiceRoleForAccountResponse', getServiceRoleForAccountResponse_roleArn - The ARN of the role which is associated with the account.

$sel:httpStatus:GetServiceRoleForAccountResponse', getServiceRoleForAccountResponse_httpStatus - The response's http status code.

Response Lenses

getServiceRoleForAccountResponse_associatedAt :: Lens' GetServiceRoleForAccountResponse (Maybe Text) Source #

The time when the service role was associated with the account.

getServiceRoleForAccountResponse_roleArn :: Lens' GetServiceRoleForAccountResponse (Maybe Text) Source #

The ARN of the role which is associated with the account.