libZSservicesZSamazonka-opsworksZSamazonka-opsworks
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.OpsWorks.UpdateUserProfile

Description

Updates a specified user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.

Synopsis

Creating a Request

data UpdateUserProfile Source #

See: newUpdateUserProfile smart constructor.

Constructors

UpdateUserProfile' 

Fields

  • allowSelfManagement :: Maybe Bool

    Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

  • sshPublicKey :: Maybe Text

    The user's new SSH public key.

  • sshUsername :: Maybe Text

    The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.

  • iamUserArn :: Text

    The user IAM ARN. This can also be a federated user's ARN.

Instances

Instances details
Eq UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Read UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Show UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Generic UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Associated Types

type Rep UpdateUserProfile :: Type -> Type #

NFData UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Methods

rnf :: UpdateUserProfile -> () #

Hashable UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

ToJSON UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

AWSRequest UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Associated Types

type AWSResponse UpdateUserProfile #

ToHeaders UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

ToPath UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

ToQuery UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfile = D1 ('MetaData "UpdateUserProfile" "Amazonka.OpsWorks.UpdateUserProfile" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "UpdateUserProfile'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "allowSelfManagement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sshPublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sshUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateUserProfile Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

newUpdateUserProfile Source #

Create a value of UpdateUserProfile 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:allowSelfManagement:UpdateUserProfile', updateUserProfile_allowSelfManagement - Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

$sel:sshPublicKey:UpdateUserProfile', updateUserProfile_sshPublicKey - The user's new SSH public key.

$sel:sshUsername:UpdateUserProfile', updateUserProfile_sshUsername - The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.

$sel:iamUserArn:UpdateUserProfile', updateUserProfile_iamUserArn - The user IAM ARN. This can also be a federated user's ARN.

Request Lenses

updateUserProfile_allowSelfManagement :: Lens' UpdateUserProfile (Maybe Bool) Source #

Whether users can specify their own SSH public key through the My Settings page. For more information, see Managing User Permissions.

updateUserProfile_sshUsername :: Lens' UpdateUserProfile (Maybe Text) Source #

The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9], '-', and '_'. If the specified name includes other punctuation marks, AWS OpsWorks Stacks removes them. For example, my.name will be changed to myname. If you do not specify an SSH user name, AWS OpsWorks Stacks generates one from the IAM user name.

updateUserProfile_iamUserArn :: Lens' UpdateUserProfile Text Source #

The user IAM ARN. This can also be a federated user's ARN.

Destructuring the Response

data UpdateUserProfileResponse Source #

See: newUpdateUserProfileResponse smart constructor.

Instances

Instances details
Eq UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Read UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Show UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Generic UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

Associated Types

type Rep UpdateUserProfileResponse :: Type -> Type #

NFData UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfileResponse Source # 
Instance details

Defined in Amazonka.OpsWorks.UpdateUserProfile

type Rep UpdateUserProfileResponse = D1 ('MetaData "UpdateUserProfileResponse" "Amazonka.OpsWorks.UpdateUserProfile" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "UpdateUserProfileResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateUserProfileResponse :: UpdateUserProfileResponse Source #

Create a value of UpdateUserProfileResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.