amazonka-workmail-2.0: Amazon WorkMail 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.WorkMail.DescribeGroup

Description

Returns the data available for the group.

Synopsis

Creating a Request

data DescribeGroup Source #

See: newDescribeGroup smart constructor.

Constructors

DescribeGroup' 

Fields

  • organizationId :: Text

    The identifier for the organization under which the group exists.

  • groupId :: Text

    The identifier for the group to be described.

Instances

Instances details
ToJSON DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

ToHeaders DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

ToPath DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

ToQuery DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

AWSRequest DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Associated Types

type AWSResponse DescribeGroup #

Generic DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Associated Types

type Rep DescribeGroup :: Type -> Type #

Read DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Show DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

NFData DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Methods

rnf :: DescribeGroup -> () #

Eq DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Hashable DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

type AWSResponse DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

type Rep DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

type Rep DescribeGroup = D1 ('MetaData "DescribeGroup" "Amazonka.WorkMail.DescribeGroup" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "DescribeGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeGroup Source #

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

DescribeGroup, describeGroup_organizationId - The identifier for the organization under which the group exists.

DescribeGroup, describeGroup_groupId - The identifier for the group to be described.

Request Lenses

describeGroup_organizationId :: Lens' DescribeGroup Text Source #

The identifier for the organization under which the group exists.

describeGroup_groupId :: Lens' DescribeGroup Text Source #

The identifier for the group to be described.

Destructuring the Response

data DescribeGroupResponse Source #

See: newDescribeGroupResponse smart constructor.

Constructors

DescribeGroupResponse' 

Fields

Instances

Instances details
Generic DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Associated Types

type Rep DescribeGroupResponse :: Type -> Type #

Read DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Show DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

NFData DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Methods

rnf :: DescribeGroupResponse -> () #

Eq DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

type Rep DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

newDescribeGroupResponse Source #

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

DescribeGroupResponse, describeGroupResponse_disabledDate - The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.

DescribeGroupResponse, describeGroupResponse_email - The email of the described group.

DescribeGroupResponse, describeGroupResponse_enabledDate - The date and time when a user was registered to WorkMail, in UNIX epoch time format.

DescribeGroup, describeGroupResponse_groupId - The identifier of the described group.

DescribeGroupResponse, describeGroupResponse_name - The name of the described group.

DescribeGroupResponse, describeGroupResponse_state - The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).

$sel:httpStatus:DescribeGroupResponse', describeGroupResponse_httpStatus - The response's http status code.

Response Lenses

describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.

describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #

The date and time when a user was registered to WorkMail, in UNIX epoch time format.

describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text) Source #

The identifier of the described group.

describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState) Source #

The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).