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.CreateUser

Description

Creates an ActiveMQ user.

Synopsis

Creating a Request

data CreateUser Source #

Creates a new ActiveMQ user.

See: newCreateUser smart constructor.

Constructors

CreateUser' 

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 ActiveMQ Web Console for the ActiveMQ user.

  • 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.

  • password :: Text

    Required. 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 (,:=).

Instances

Instances details
Eq CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Read CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Show CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Generic CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Associated Types

type Rep CreateUser :: Type -> Type #

NFData CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Methods

rnf :: CreateUser -> () #

Hashable CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

ToJSON CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

AWSRequest CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Associated Types

type AWSResponse CreateUser #

ToHeaders CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Methods

toHeaders :: CreateUser -> [Header] #

ToPath CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

ToQuery CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

type Rep CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

type Rep CreateUser = D1 ('MetaData "CreateUser" "Amazonka.MQ.CreateUser" "libZSservicesZSamazonka-mqZSamazonka-mq" 'False) (C1 ('MetaCons "CreateUser'" '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 "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "brokerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "password") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateUser Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

newCreateUser Source #

Create a value of CreateUser 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:CreateUser', createUser_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:CreateUser', createUser_consoleAccess - Enables access to the ActiveMQ Web Console for the ActiveMQ user.

$sel:username:CreateUser', createUser_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:CreateUser', createUser_brokerId - The unique ID that Amazon MQ generates for the broker.

$sel:password:CreateUser', createUser_password - Required. 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 (,:=).

Request Lenses

createUser_groups :: Lens' CreateUser (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.

createUser_consoleAccess :: Lens' CreateUser (Maybe Bool) Source #

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

createUser_username :: Lens' CreateUser 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.

createUser_brokerId :: Lens' CreateUser Text Source #

The unique ID that Amazon MQ generates for the broker.

createUser_password :: Lens' CreateUser Text Source #

Required. 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 (,:=).

Destructuring the Response

data CreateUserResponse Source #

See: newCreateUserResponse smart constructor.

Constructors

CreateUserResponse' 

Fields

Instances

Instances details
Eq CreateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Read CreateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Show CreateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Generic CreateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Associated Types

type Rep CreateUserResponse :: Type -> Type #

NFData CreateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

Methods

rnf :: CreateUserResponse -> () #

type Rep CreateUserResponse Source # 
Instance details

Defined in Amazonka.MQ.CreateUser

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

newCreateUserResponse Source #

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

Response Lenses