amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DisassociateIamInstanceProfile

Description

Disassociates an IAM instance profile from a running or stopped instance.

Use DescribeIamInstanceProfileAssociations to get the association ID.

Synopsis

Creating a Request

data DisassociateIamInstanceProfile Source #

See: newDisassociateIamInstanceProfile smart constructor.

Constructors

DisassociateIamInstanceProfile' 

Fields

Instances

Instances details
ToHeaders DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

ToPath DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

ToQuery DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

AWSRequest DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Generic DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Associated Types

type Rep DisassociateIamInstanceProfile :: Type -> Type #

Read DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Show DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

NFData DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Eq DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Hashable DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

type AWSResponse DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

type Rep DisassociateIamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

type Rep DisassociateIamInstanceProfile = D1 ('MetaData "DisassociateIamInstanceProfile" "Amazonka.EC2.DisassociateIamInstanceProfile" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateIamInstanceProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDisassociateIamInstanceProfile Source #

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

DisassociateIamInstanceProfile, disassociateIamInstanceProfile_associationId - The ID of the IAM instance profile association.

Request Lenses

Destructuring the Response

data DisassociateIamInstanceProfileResponse Source #

Constructors

DisassociateIamInstanceProfileResponse' 

Fields

Instances

Instances details
Generic DisassociateIamInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Read DisassociateIamInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Show DisassociateIamInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

NFData DisassociateIamInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

Eq DisassociateIamInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

type Rep DisassociateIamInstanceProfileResponse Source # 
Instance details

Defined in Amazonka.EC2.DisassociateIamInstanceProfile

type Rep DisassociateIamInstanceProfileResponse = D1 ('MetaData "DisassociateIamInstanceProfileResponse" "Amazonka.EC2.DisassociateIamInstanceProfile" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DisassociateIamInstanceProfileResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamInstanceProfileAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IamInstanceProfileAssociation)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateIamInstanceProfileResponse Source #

Create a value of DisassociateIamInstanceProfileResponse 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:iamInstanceProfileAssociation:DisassociateIamInstanceProfileResponse', disassociateIamInstanceProfileResponse_iamInstanceProfileAssociation - Information about the IAM instance profile association.

$sel:httpStatus:DisassociateIamInstanceProfileResponse', disassociateIamInstanceProfileResponse_httpStatus - The response's http status code.

Response Lenses