amazonka-mq-2.0: Amazon MQ 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.MQ.DescribeUser

Description

Returns information about an ActiveMQ user.

Synopsis

Creating a Request

data DescribeUser Source #

See: newDescribeUser smart constructor.

Constructors

DescribeUser' 

Fields

  • 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
ToHeaders DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

ToPath DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

ToQuery DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

AWSRequest DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Associated Types

type AWSResponse DescribeUser #

Generic DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Associated Types

type Rep DescribeUser :: Type -> Type #

Read DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Show DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

NFData DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Methods

rnf :: DescribeUser -> () #

Eq DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Hashable DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

type AWSResponse DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

type Rep DescribeUser Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

type Rep DescribeUser = D1 ('MetaData "DescribeUser" "Amazonka.MQ.DescribeUser" "amazonka-mq-2.0-3ebKNoK022m255Abw9OF0s" 'False) (C1 ('MetaCons "DescribeUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "brokerId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeUser Source #

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

DescribeUser, describeUser_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.

DescribeUser, describeUser_brokerId - The unique ID that Amazon MQ generates for the broker.

Request Lenses

describeUser_username :: Lens' DescribeUser 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.

describeUser_brokerId :: Lens' DescribeUser Text Source #

The unique ID that Amazon MQ generates for the broker.

Destructuring the Response

data DescribeUserResponse Source #

See: newDescribeUserResponse smart constructor.

Constructors

DescribeUserResponse' 

Fields

  • brokerId :: Maybe Text

    Required. The unique ID that Amazon MQ generates for the broker.

  • consoleAccess :: Maybe Bool

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

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

  • pending :: Maybe UserPendingChanges

    The status of the changes pending for the ActiveMQ user.

  • username :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeUserResponse Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Associated Types

type Rep DescribeUserResponse :: Type -> Type #

Read DescribeUserResponse Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Show DescribeUserResponse Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

NFData DescribeUserResponse Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

Methods

rnf :: DescribeUserResponse -> () #

Eq DescribeUserResponse Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

type Rep DescribeUserResponse Source # 
Instance details

Defined in Amazonka.MQ.DescribeUser

newDescribeUserResponse Source #

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

DescribeUser, describeUserResponse_brokerId - Required. The unique ID that Amazon MQ generates for the broker.

DescribeUserResponse, describeUserResponse_consoleAccess - Enables access to the the ActiveMQ Web Console for the ActiveMQ user.

DescribeUserResponse, describeUserResponse_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.

DescribeUserResponse, describeUserResponse_pending - The status of the changes pending for the ActiveMQ user.

DescribeUser, describeUserResponse_username - Required. 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:httpStatus:DescribeUserResponse', describeUserResponse_httpStatus - The response's http status code.

Response Lenses

describeUserResponse_brokerId :: Lens' DescribeUserResponse (Maybe Text) Source #

Required. The unique ID that Amazon MQ generates for the broker.

describeUserResponse_consoleAccess :: Lens' DescribeUserResponse (Maybe Bool) Source #

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

describeUserResponse_groups :: Lens' DescribeUserResponse (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.

describeUserResponse_pending :: Lens' DescribeUserResponse (Maybe UserPendingChanges) Source #

The status of the changes pending for the ActiveMQ user.

describeUserResponse_username :: Lens' DescribeUserResponse (Maybe Text) Source #

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