Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
identity
Synopsis
- data CreateAppInstance = CreateAppInstance' {}
- newCreateAppInstance :: Text -> Text -> CreateAppInstance
- createAppInstance_metadata :: Lens' CreateAppInstance (Maybe Text)
- createAppInstance_tags :: Lens' CreateAppInstance (Maybe (NonEmpty Tag))
- createAppInstance_name :: Lens' CreateAppInstance Text
- createAppInstance_clientRequestToken :: Lens' CreateAppInstance Text
- data CreateAppInstanceResponse = CreateAppInstanceResponse' {
- appInstanceArn :: Maybe Text
- httpStatus :: Int
- newCreateAppInstanceResponse :: Int -> CreateAppInstanceResponse
- createAppInstanceResponse_appInstanceArn :: Lens' CreateAppInstanceResponse (Maybe Text)
- createAppInstanceResponse_httpStatus :: Lens' CreateAppInstanceResponse Int
Creating a Request
data CreateAppInstance Source #
See: newCreateAppInstance
smart constructor.
Instances
:: Text | |
-> Text | |
-> CreateAppInstance |
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:
$sel:metadata:CreateAppInstance'
, createAppInstance_metadata
- The metadata of the AppInstance
. Limited to a 1KB string in UTF-8.
$sel:tags:CreateAppInstance'
, createAppInstance_tags
- Tags assigned to the AppInstanceUser
.
$sel:name: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 AppInstanceUser
.
createAppInstance_name :: Lens' CreateAppInstance Text Source #
The name of the AppInstance
.
createAppInstance_clientRequestToken :: Lens' CreateAppInstance Text Source #
The ClientRequestToken
of the AppInstance
.
Destructuring the Response
data CreateAppInstanceResponse Source #
See: newCreateAppInstanceResponse
smart constructor.
CreateAppInstanceResponse' | |
|
Instances
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:
$sel:appInstanceArn: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
.
createAppInstanceResponse_httpStatus :: Lens' CreateAppInstanceResponse Int Source #
The response's http status code.