amazonka-chime-2.0: Amazon Chime 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.Chime.CreateAppInstance

Description

Creates an Amazon Chime SDK messaging AppInstance under an AWS account. Only SDK messaging customers use this API. CreateAppInstance supports idempotency behavior as described in the AWS API Standard.

Synopsis

Creating a Request

data CreateAppInstance Source #

See: newCreateAppInstance smart constructor.

Constructors

CreateAppInstance' 

Fields

Instances

Instances details
ToJSON CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

ToHeaders CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

ToPath CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

ToQuery CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

AWSRequest CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Associated Types

type AWSResponse CreateAppInstance #

Generic CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Associated Types

type Rep CreateAppInstance :: Type -> Type #

Show CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

NFData CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Methods

rnf :: CreateAppInstance -> () #

Eq CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Hashable CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

type AWSResponse CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

type Rep CreateAppInstance Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

type Rep CreateAppInstance = D1 ('MetaData "CreateAppInstance" "Amazonka.Chime.CreateAppInstance" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "CreateAppInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))))

newCreateAppInstance Source #

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

CreateAppInstance, createAppInstance_metadata - The metadata of the AppInstance. Limited to a 1KB string in UTF-8.

CreateAppInstance, createAppInstance_tags - Tags assigned to the AppInstance.

CreateAppInstance, createAppInstance_name - The name of the AppInstance.

$sel:clientRequestToken:CreateAppInstance', createAppInstance_clientRequestToken - The ClientRequestToken of the AppInstance.

Request Lenses

createAppInstance_metadata :: Lens' CreateAppInstance (Maybe Text) Source #

The metadata of the AppInstance. Limited to a 1KB string in UTF-8.

createAppInstance_tags :: Lens' CreateAppInstance (Maybe (NonEmpty Tag)) Source #

Tags assigned to the AppInstance.

createAppInstance_clientRequestToken :: Lens' CreateAppInstance Text Source #

The ClientRequestToken of the AppInstance.

Destructuring the Response

data CreateAppInstanceResponse Source #

See: newCreateAppInstanceResponse smart constructor.

Constructors

CreateAppInstanceResponse' 

Fields

Instances

Instances details
Generic CreateAppInstanceResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Associated Types

type Rep CreateAppInstanceResponse :: Type -> Type #

Read CreateAppInstanceResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Show CreateAppInstanceResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

NFData CreateAppInstanceResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

Eq CreateAppInstanceResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

type Rep CreateAppInstanceResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateAppInstance

type Rep CreateAppInstanceResponse = D1 ('MetaData "CreateAppInstanceResponse" "Amazonka.Chime.CreateAppInstance" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "CreateAppInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateAppInstanceResponse Source #

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

CreateAppInstanceResponse, createAppInstanceResponse_appInstanceArn - The Amazon Resource Number (ARN) of the AppInstance.

$sel:httpStatus:CreateAppInstanceResponse', createAppInstanceResponse_httpStatus - The response's http status code.

Response Lenses

createAppInstanceResponse_appInstanceArn :: Lens' CreateAppInstanceResponse (Maybe Text) Source #

The Amazon Resource Number (ARN) of the AppInstance.