amazonka-rolesanywhere-2.0: Amazon IAM Roles Anywhere 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.RolesAnywhere.GetSubject

Description

Gets a Subject. A Subject associates a certificate identity with authentication attempts by CreateSession. The Subject resources stores audit information such as status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication.

Required permissions: rolesanywhere:GetSubject.

Synopsis

Creating a Request

data GetSubject Source #

See: newGetSubject smart constructor.

Constructors

GetSubject' 

Fields

Instances

Instances details
ToHeaders GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Methods

toHeaders :: GetSubject -> [Header] #

ToPath GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

ToQuery GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

AWSRequest GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Associated Types

type AWSResponse GetSubject #

Generic GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Associated Types

type Rep GetSubject :: Type -> Type #

Read GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Show GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

NFData GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Methods

rnf :: GetSubject -> () #

Eq GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Hashable GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

type AWSResponse GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

type Rep GetSubject Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

type Rep GetSubject = D1 ('MetaData "GetSubject" "Amazonka.RolesAnywhere.GetSubject" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "GetSubject'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subjectId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetSubject Source #

Arguments

:: Text

GetSubject

-> GetSubject 

Create a value of GetSubject 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:

GetSubject, getSubject_subjectId - The unique identifier of the subject.

Request Lenses

getSubject_subjectId :: Lens' GetSubject Text Source #

The unique identifier of the subject.

Destructuring the Response

data GetSubjectResponse Source #

See: newGetSubjectResponse smart constructor.

Constructors

GetSubjectResponse' 

Fields

Instances

Instances details
Generic GetSubjectResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Associated Types

type Rep GetSubjectResponse :: Type -> Type #

Read GetSubjectResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Show GetSubjectResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

NFData GetSubjectResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

Methods

rnf :: GetSubjectResponse -> () #

Eq GetSubjectResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

type Rep GetSubjectResponse Source # 
Instance details

Defined in Amazonka.RolesAnywhere.GetSubject

type Rep GetSubjectResponse = D1 ('MetaData "GetSubjectResponse" "Amazonka.RolesAnywhere.GetSubject" "amazonka-rolesanywhere-2.0-7BPe9kXny717lI0izhhqXT" 'False) (C1 ('MetaCons "GetSubjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubjectDetail)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSubjectResponse Source #

Create a value of GetSubjectResponse 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:subject:GetSubjectResponse', getSubjectResponse_subject - The state of the subject after a read or write operation.

$sel:httpStatus:GetSubjectResponse', getSubjectResponse_httpStatus - The response's http status code.

Response Lenses

getSubjectResponse_subject :: Lens' GetSubjectResponse (Maybe SubjectDetail) Source #

The state of the subject after a read or write operation.