libZSservicesZSamazonka-workmailZSamazonka-workmail
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.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
Eq DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Read DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Show DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Generic DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Associated Types

type Rep DescribeGroup :: Type -> Type #

NFData DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Methods

rnf :: DescribeGroup -> () #

Hashable DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

ToJSON DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

AWSRequest DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Associated Types

type AWSResponse 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

type Rep DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

type Rep DescribeGroup = D1 ('MetaData "DescribeGroup" "Amazonka.WorkMail.DescribeGroup" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DescribeGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeGroup Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

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:

$sel:organizationId:DescribeGroup', describeGroup_organizationId - The identifier for the organization under which the group exists.

$sel:groupId: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
Eq DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Read DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Show DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Generic DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Associated Types

type Rep DescribeGroupResponse :: Type -> Type #

NFData DescribeGroupResponse Source # 
Instance details

Defined in Amazonka.WorkMail.DescribeGroup

Methods

rnf :: DescribeGroupResponse -> () #

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:

$sel:email:DescribeGroupResponse', describeGroupResponse_email - The email of the described group.

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

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

$sel:name:DescribeGroupResponse', describeGroupResponse_name - The name of the described group.

$sel:groupId:DescribeGroup', describeGroupResponse_groupId - The identifier of the described group.

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

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

Response Lenses

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

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

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

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

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

The identifier of the described group.

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

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