libZSservicesZSamazonka-chime-sdk-identityZSamazonka-chime-sdk-identity
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.ChimeSDKIdentity.CreateAppInstanceAdmin

Description

Promotes an AppInstanceUser to an AppInstanceAdmin. The promoted user can perform the following actions.

  • ChannelModerator actions across all channels in the AppInstance.
  • DeleteChannelMessage actions.

Only an AppInstanceUser can be promoted to an AppInstanceAdmin role.

Synopsis

Creating a Request

data CreateAppInstanceAdmin Source #

See: newCreateAppInstanceAdmin smart constructor.

Constructors

CreateAppInstanceAdmin' 

Fields

Instances

Instances details
Eq CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Read CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Show CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Generic CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Associated Types

type Rep CreateAppInstanceAdmin :: Type -> Type #

NFData CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Methods

rnf :: CreateAppInstanceAdmin -> () #

Hashable CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

ToJSON CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

AWSRequest CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Associated Types

type AWSResponse CreateAppInstanceAdmin #

ToHeaders CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

ToPath CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

ToQuery CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

type Rep CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

type Rep CreateAppInstanceAdmin = D1 ('MetaData "CreateAppInstanceAdmin" "Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin" "libZSservicesZSamazonka-chime-sdk-identityZSamazonka-chime-sdk-identity" 'False) (C1 ('MetaCons "CreateAppInstanceAdmin'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appInstanceAdminArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "appInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateAppInstanceAdmin Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

newCreateAppInstanceAdmin Source #

Create a value of CreateAppInstanceAdmin 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:appInstanceAdminArn:CreateAppInstanceAdmin', createAppInstanceAdmin_appInstanceAdminArn - The ARN of the administrator of the current AppInstance.

$sel:appInstanceArn:CreateAppInstanceAdmin', createAppInstanceAdmin_appInstanceArn - The ARN of the AppInstance.

Request Lenses

createAppInstanceAdmin_appInstanceAdminArn :: Lens' CreateAppInstanceAdmin Text Source #

The ARN of the administrator of the current AppInstance.

Destructuring the Response

data CreateAppInstanceAdminResponse Source #

See: newCreateAppInstanceAdminResponse smart constructor.

Constructors

CreateAppInstanceAdminResponse' 

Fields

Instances

Instances details
Eq CreateAppInstanceAdminResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Show CreateAppInstanceAdminResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Generic CreateAppInstanceAdminResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

Associated Types

type Rep CreateAppInstanceAdminResponse :: Type -> Type #

NFData CreateAppInstanceAdminResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

type Rep CreateAppInstanceAdminResponse Source # 
Instance details

Defined in Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin

type Rep CreateAppInstanceAdminResponse = D1 ('MetaData "CreateAppInstanceAdminResponse" "Amazonka.ChimeSDKIdentity.CreateAppInstanceAdmin" "libZSservicesZSamazonka-chime-sdk-identityZSamazonka-chime-sdk-identity" 'False) (C1 ('MetaCons "CreateAppInstanceAdminResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appInstanceAdmin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Identity)) :*: (S1 ('MetaSel ('Just "appInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateAppInstanceAdminResponse Source #

Create a value of CreateAppInstanceAdminResponse 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:appInstanceAdmin:CreateAppInstanceAdminResponse', createAppInstanceAdminResponse_appInstanceAdmin - The name and ARN of the admin for the AppInstance.

$sel:appInstanceArn:CreateAppInstanceAdmin', createAppInstanceAdminResponse_appInstanceArn - The ARN of the of the admin for the AppInstance.

$sel:httpStatus:CreateAppInstanceAdminResponse', createAppInstanceAdminResponse_httpStatus - The response's http status code.

Response Lenses