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 |
This API is in preview release for Amazon Connect and is subject to change.
Associates an approved origin to an Amazon Connect instance.
Synopsis
- data AssociateApprovedOrigin = AssociateApprovedOrigin' {
- instanceId :: Text
- origin :: Text
- newAssociateApprovedOrigin :: Text -> Text -> AssociateApprovedOrigin
- associateApprovedOrigin_instanceId :: Lens' AssociateApprovedOrigin Text
- associateApprovedOrigin_origin :: Lens' AssociateApprovedOrigin Text
- data AssociateApprovedOriginResponse = AssociateApprovedOriginResponse' {
- newAssociateApprovedOriginResponse :: AssociateApprovedOriginResponse
Creating a Request
data AssociateApprovedOrigin Source #
See: newAssociateApprovedOrigin
smart constructor.
AssociateApprovedOrigin' | |
|
Instances
newAssociateApprovedOrigin Source #
:: Text | |
-> Text | |
-> AssociateApprovedOrigin |
Create a value of AssociateApprovedOrigin
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:instanceId:AssociateApprovedOrigin'
, associateApprovedOrigin_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:origin:AssociateApprovedOrigin'
, associateApprovedOrigin_origin
- The domain to add to your allow list.
Request Lenses
associateApprovedOrigin_instanceId :: Lens' AssociateApprovedOrigin Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
associateApprovedOrigin_origin :: Lens' AssociateApprovedOrigin Text Source #
The domain to add to your allow list.
Destructuring the Response
data AssociateApprovedOriginResponse Source #
See: newAssociateApprovedOriginResponse
smart constructor.
Instances
newAssociateApprovedOriginResponse :: AssociateApprovedOriginResponse Source #
Create a value of AssociateApprovedOriginResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.