amazonka-iam-1.3.1: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.AddRoleToInstanceProfile

Contents

Description

Adds the specified role to the specified instance profile. For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.

See: AWS API Reference for AddRoleToInstanceProfile.

Synopsis

Creating a Request

addRoleToInstanceProfile Source

Creates a value of AddRoleToInstanceProfile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

artipInstanceProfileName :: Lens' AddRoleToInstanceProfile Text Source

The name of the instance profile to update.

artipRoleName :: Lens' AddRoleToInstanceProfile Text Source

The name of the role to add.

Destructuring the Response

addRoleToInstanceProfileResponse :: AddRoleToInstanceProfileResponse Source

Creates a value of AddRoleToInstanceProfileResponse with the minimum fields required to make a request.