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 a quick connect for the specified Amazon Connect instance.
Synopsis
- data CreateQuickConnect = CreateQuickConnect' {
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- instanceId :: Text
- name :: Text
- quickConnectConfig :: QuickConnectConfig
- newCreateQuickConnect :: Text -> Text -> QuickConnectConfig -> CreateQuickConnect
- createQuickConnect_description :: Lens' CreateQuickConnect (Maybe Text)
- createQuickConnect_tags :: Lens' CreateQuickConnect (Maybe (HashMap Text Text))
- createQuickConnect_instanceId :: Lens' CreateQuickConnect Text
- createQuickConnect_name :: Lens' CreateQuickConnect Text
- createQuickConnect_quickConnectConfig :: Lens' CreateQuickConnect QuickConnectConfig
- data CreateQuickConnectResponse = CreateQuickConnectResponse' {}
- newCreateQuickConnectResponse :: Int -> CreateQuickConnectResponse
- createQuickConnectResponse_quickConnectId :: Lens' CreateQuickConnectResponse (Maybe Text)
- createQuickConnectResponse_quickConnectARN :: Lens' CreateQuickConnectResponse (Maybe Text)
- createQuickConnectResponse_httpStatus :: Lens' CreateQuickConnectResponse Int
Creating a Request
data CreateQuickConnect Source #
See: newCreateQuickConnect
smart constructor.
CreateQuickConnect' | |
|
Instances
newCreateQuickConnect Source #
:: Text | |
-> Text | |
-> QuickConnectConfig | |
-> CreateQuickConnect |
Create a value of CreateQuickConnect
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:description:CreateQuickConnect'
, createQuickConnect_description
- The description of the quick connect.
$sel:tags:CreateQuickConnect'
, createQuickConnect_tags
- One or more tags.
$sel:instanceId:CreateQuickConnect'
, createQuickConnect_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:name:CreateQuickConnect'
, createQuickConnect_name
- The name of the quick connect.
$sel:quickConnectConfig:CreateQuickConnect'
, createQuickConnect_quickConnectConfig
- Configuration settings for the quick connect.
Request Lenses
createQuickConnect_description :: Lens' CreateQuickConnect (Maybe Text) Source #
The description of the quick connect.
createQuickConnect_tags :: Lens' CreateQuickConnect (Maybe (HashMap Text Text)) Source #
One or more tags.
createQuickConnect_instanceId :: Lens' CreateQuickConnect Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
createQuickConnect_name :: Lens' CreateQuickConnect Text Source #
The name of the quick connect.
createQuickConnect_quickConnectConfig :: Lens' CreateQuickConnect QuickConnectConfig Source #
Configuration settings for the quick connect.
Destructuring the Response
data CreateQuickConnectResponse Source #
See: newCreateQuickConnectResponse
smart constructor.
CreateQuickConnectResponse' | |
|
Instances
newCreateQuickConnectResponse Source #
Create a value of CreateQuickConnectResponse
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:quickConnectId:CreateQuickConnectResponse'
, createQuickConnectResponse_quickConnectId
- The identifier for the quick connect.
$sel:quickConnectARN:CreateQuickConnectResponse'
, createQuickConnectResponse_quickConnectARN
- The Amazon Resource Name (ARN) for the quick connect.
$sel:httpStatus:CreateQuickConnectResponse'
, createQuickConnectResponse_httpStatus
- The response's http status code.
Response Lenses
createQuickConnectResponse_quickConnectId :: Lens' CreateQuickConnectResponse (Maybe Text) Source #
The identifier for the quick connect.
createQuickConnectResponse_quickConnectARN :: Lens' CreateQuickConnectResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the quick connect.
createQuickConnectResponse_httpStatus :: Lens' CreateQuickConnectResponse Int Source #
The response's http status code.