| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.CreateQuickConnect
Description
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_quickConnectARN :: Lens' CreateQuickConnectResponse (Maybe Text)
- createQuickConnectResponse_quickConnectId :: Lens' CreateQuickConnectResponse (Maybe Text)
- createQuickConnectResponse_httpStatus :: Lens' CreateQuickConnectResponse Int
Creating a Request
data CreateQuickConnect Source #
See: newCreateQuickConnect smart constructor.
Constructors
| CreateQuickConnect' | |
Fields
| |
Instances
newCreateQuickConnect Source #
Arguments
| :: 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:
CreateQuickConnect, createQuickConnect_description - The description of the quick connect.
CreateQuickConnect, createQuickConnect_tags - The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateQuickConnect, createQuickConnect_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
CreateQuickConnect, createQuickConnect_name - The name of the quick connect.
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 #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
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.
Constructors
| CreateQuickConnectResponse' | |
Fields
| |
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:
CreateQuickConnectResponse, createQuickConnectResponse_quickConnectARN - The Amazon Resource Name (ARN) for the quick connect.
CreateQuickConnectResponse, createQuickConnectResponse_quickConnectId - The identifier for the quick connect.
$sel:httpStatus:CreateQuickConnectResponse', createQuickConnectResponse_httpStatus - The response's http status code.
Response Lenses
createQuickConnectResponse_quickConnectARN :: Lens' CreateQuickConnectResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the quick connect.
createQuickConnectResponse_quickConnectId :: Lens' CreateQuickConnectResponse (Maybe Text) Source #
The identifier for the quick connect.
createQuickConnectResponse_httpStatus :: Lens' CreateQuickConnectResponse Int Source #
The response's http status code.