libZSservicesZSamazonka-iamZSamazonka-iam
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.IAM.GetInstanceProfile

Description

Retrieves information about the specified instance profile, including the instance profile's path, GUID, ARN, and role. For more information about instance profiles, see About instance profiles in the IAM User Guide.

Synopsis

Creating a Request

data GetInstanceProfile Source #

See: newGetInstanceProfile smart constructor.

Constructors

GetInstanceProfile' 

Fields

  • instanceProfileName :: Text

    The name of the instance profile to get information about.

    This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Instances

Instances details
Eq GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Read GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Show GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Generic GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Associated Types

type Rep GetInstanceProfile :: Type -> Type #

NFData GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Methods

rnf :: GetInstanceProfile -> () #

Hashable GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

AWSRequest GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Associated Types

type AWSResponse GetInstanceProfile #

ToHeaders GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

ToPath GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

ToQuery GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

type Rep GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

type Rep GetInstanceProfile = D1 ('MetaData "GetInstanceProfile" "Amazonka.IAM.GetInstanceProfile" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "GetInstanceProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceProfileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetInstanceProfile Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

newGetInstanceProfile Source #

Create a value of GetInstanceProfile 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:instanceProfileName:GetInstanceProfile', getInstanceProfile_instanceProfileName - The name of the instance profile to get information about.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Request Lenses

getInstanceProfile_instanceProfileName :: Lens' GetInstanceProfile Text Source #

The name of the instance profile to get information about.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Destructuring the Response

data GetInstanceProfileResponse Source #

Contains the response to a successful GetInstanceProfile request.

See: newGetInstanceProfileResponse smart constructor.

Constructors

GetInstanceProfileResponse' 

Fields

Instances

Instances details
Eq GetInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Read GetInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Show GetInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Generic GetInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

Associated Types

type Rep GetInstanceProfileResponse :: Type -> Type #

NFData GetInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

type Rep GetInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.IAM.GetInstanceProfile

type Rep GetInstanceProfileResponse = D1 ('MetaData "GetInstanceProfileResponse" "Amazonka.IAM.GetInstanceProfile" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "GetInstanceProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "instanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InstanceProfile)))

newGetInstanceProfileResponse Source #

Create a value of GetInstanceProfileResponse 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:httpStatus:GetInstanceProfileResponse', getInstanceProfileResponse_httpStatus - The response's http status code.

$sel:instanceProfile:GetInstanceProfileResponse', getInstanceProfileResponse_instanceProfile - A structure containing details about the instance profile.

Response Lenses

getInstanceProfileResponse_instanceProfile :: Lens' GetInstanceProfileResponse InstanceProfile Source #

A structure containing details about the instance profile.