libZSservicesZSamazonka-mqZSamazonka-mq
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.MQ.UpdateUser

Description

Updates the information for an ActiveMQ user.

Synopsis

Creating a Request

data UpdateUser Source #

Updates the information for an ActiveMQ user.

See: newUpdateUser smart constructor.

Constructors

UpdateUser' 

Fields

  • groups :: Maybe [Text]

    The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

  • consoleAccess :: Maybe Bool

    Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

  • password :: Maybe Text

    The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

  • username :: Text

    The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

  • brokerId :: Text

    The unique ID that Amazon MQ generates for the broker.

Instances

Instances details
Eq UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Read UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Show UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Generic UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

NFData UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Methods

rnf :: UpdateUser -> () #

Hashable UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

ToJSON UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Associated Types

type AWSResponse UpdateUser #

ToHeaders UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

type Rep UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

type Rep UpdateUser = D1 ('MetaData "UpdateUser" "Amazonka.MQ.UpdateUser" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "UpdateUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "consoleAccess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "brokerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateUser Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

newUpdateUser Source #

Create a value of UpdateUser 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:groups:UpdateUser', updateUser_groups - The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

$sel:consoleAccess:UpdateUser', updateUser_consoleAccess - Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

$sel:password:UpdateUser', updateUser_password - The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

$sel:username:UpdateUser', updateUser_username - The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

$sel:brokerId:UpdateUser', updateUser_brokerId - The unique ID that Amazon MQ generates for the broker.

Request Lenses

updateUser_groups :: Lens' UpdateUser (Maybe [Text]) Source #

The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

updateUser_consoleAccess :: Lens' UpdateUser (Maybe Bool) Source #

Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

updateUser_password :: Lens' UpdateUser (Maybe Text) Source #

The password of the user. This value must be at least 12 characters long, must contain at least 4 unique characters, and must not contain commas, colons, or equal signs (,:=).

updateUser_username :: Lens' UpdateUser Text Source #

The username of the ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.

updateUser_brokerId :: Lens' UpdateUser Text Source #

The unique ID that Amazon MQ generates for the broker.

Destructuring the Response

data UpdateUserResponse Source #

See: newUpdateUserResponse smart constructor.

Constructors

UpdateUserResponse' 

Fields

Instances

Instances details
Eq UpdateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Read UpdateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Generic UpdateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

NFData UpdateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

type Rep UpdateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.UpdateUser

type Rep UpdateUserResponse = D1 ('MetaData "UpdateUserResponse" "Amazonka.MQ.UpdateUser" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "UpdateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateUserResponse Source #

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

Response Lenses