libZSservicesZSamazonka-ramZSamazonka-ram
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.RAM.GetPermission

Description

Gets the contents of an RAM permission in JSON format.

Synopsis

Creating a Request

data GetPermission Source #

See: newGetPermission smart constructor.

Constructors

GetPermission' 

Fields

Instances

Instances details
Eq GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Read GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Show GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Generic GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Associated Types

type Rep GetPermission :: Type -> Type #

NFData GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Methods

rnf :: GetPermission -> () #

Hashable GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

ToJSON GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

AWSRequest GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Associated Types

type AWSResponse GetPermission #

ToHeaders GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

ToPath GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

ToQuery GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

type Rep GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

type Rep GetPermission = D1 ('MetaData "GetPermission" "Amazonka.RAM.GetPermission" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "GetPermission'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permissionVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "permissionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetPermission Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

newGetPermission Source #

Create a value of GetPermission 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:permissionVersion:GetPermission', getPermission_permissionVersion - The identifier for the version of the permission.

$sel:permissionArn:GetPermission', getPermission_permissionArn - The Amazon Resource Name (ARN) of the permission.

Request Lenses

getPermission_permissionVersion :: Lens' GetPermission (Maybe Int) Source #

The identifier for the version of the permission.

getPermission_permissionArn :: Lens' GetPermission Text Source #

The Amazon Resource Name (ARN) of the permission.

Destructuring the Response

data GetPermissionResponse Source #

See: newGetPermissionResponse smart constructor.

Constructors

GetPermissionResponse' 

Fields

Instances

Instances details
Eq GetPermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Read GetPermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Show GetPermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Generic GetPermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Associated Types

type Rep GetPermissionResponse :: Type -> Type #

NFData GetPermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

Methods

rnf :: GetPermissionResponse -> () #

type Rep GetPermissionResponse Source # 
Instance details

Defined in Amazonka.RAM.GetPermission

type Rep GetPermissionResponse = D1 ('MetaData "GetPermissionResponse" "Amazonka.RAM.GetPermission" "libZSservicesZSamazonka-ramZSamazonka-ram" 'False) (C1 ('MetaCons "GetPermissionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "permission") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceSharePermissionDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPermissionResponse Source #

Create a value of GetPermissionResponse 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:permission:GetPermissionResponse', getPermissionResponse_permission - Information about the permission.

$sel:httpStatus:GetPermissionResponse', getPermissionResponse_httpStatus - The response's http status code.

Response Lenses