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 |
Creates an Amazon Web Services resource association with an Amazon Connect instance.
Synopsis
- data CreateIntegrationAssociation = CreateIntegrationAssociation' {}
- newCreateIntegrationAssociation :: Text -> IntegrationType -> Text -> CreateIntegrationAssociation
- createIntegrationAssociation_sourceApplicationName :: Lens' CreateIntegrationAssociation (Maybe Text)
- createIntegrationAssociation_sourceApplicationUrl :: Lens' CreateIntegrationAssociation (Maybe Text)
- createIntegrationAssociation_sourceType :: Lens' CreateIntegrationAssociation (Maybe SourceType)
- createIntegrationAssociation_tags :: Lens' CreateIntegrationAssociation (Maybe (HashMap Text Text))
- createIntegrationAssociation_instanceId :: Lens' CreateIntegrationAssociation Text
- createIntegrationAssociation_integrationType :: Lens' CreateIntegrationAssociation IntegrationType
- createIntegrationAssociation_integrationArn :: Lens' CreateIntegrationAssociation Text
- data CreateIntegrationAssociationResponse = CreateIntegrationAssociationResponse' {}
- newCreateIntegrationAssociationResponse :: Int -> CreateIntegrationAssociationResponse
- createIntegrationAssociationResponse_integrationAssociationArn :: Lens' CreateIntegrationAssociationResponse (Maybe Text)
- createIntegrationAssociationResponse_integrationAssociationId :: Lens' CreateIntegrationAssociationResponse (Maybe Text)
- createIntegrationAssociationResponse_httpStatus :: Lens' CreateIntegrationAssociationResponse Int
Creating a Request
data CreateIntegrationAssociation Source #
See: newCreateIntegrationAssociation
smart constructor.
CreateIntegrationAssociation' | |
|
Instances
newCreateIntegrationAssociation Source #
Create a value of CreateIntegrationAssociation
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:
CreateIntegrationAssociation
, createIntegrationAssociation_sourceApplicationName
- The name of the external application. This field is only required for
the EVENT integration type.
CreateIntegrationAssociation
, createIntegrationAssociation_sourceApplicationUrl
- The URL for the external application. This field is only required for
the EVENT integration type.
CreateIntegrationAssociation
, createIntegrationAssociation_sourceType
- The type of the data source. This field is only required for the EVENT
integration type.
CreateIntegrationAssociation
, createIntegrationAssociation_tags
- The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateIntegrationAssociation
, createIntegrationAssociation_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
CreateIntegrationAssociation
, createIntegrationAssociation_integrationType
- The type of information to be ingested.
CreateIntegrationAssociation
, createIntegrationAssociation_integrationArn
- The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
Request Lenses
createIntegrationAssociation_sourceApplicationName :: Lens' CreateIntegrationAssociation (Maybe Text) Source #
The name of the external application. This field is only required for the EVENT integration type.
createIntegrationAssociation_sourceApplicationUrl :: Lens' CreateIntegrationAssociation (Maybe Text) Source #
The URL for the external application. This field is only required for the EVENT integration type.
createIntegrationAssociation_sourceType :: Lens' CreateIntegrationAssociation (Maybe SourceType) Source #
The type of the data source. This field is only required for the EVENT integration type.
createIntegrationAssociation_tags :: Lens' CreateIntegrationAssociation (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
createIntegrationAssociation_instanceId :: Lens' CreateIntegrationAssociation Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
createIntegrationAssociation_integrationType :: Lens' CreateIntegrationAssociation IntegrationType Source #
The type of information to be ingested.
createIntegrationAssociation_integrationArn :: Lens' CreateIntegrationAssociation Text Source #
The Amazon Resource Name (ARN) of the integration.
When integrating with Amazon Pinpoint, the Amazon Connect and Amazon Pinpoint instances must be in the same account.
Destructuring the Response
data CreateIntegrationAssociationResponse Source #
See: newCreateIntegrationAssociationResponse
smart constructor.
CreateIntegrationAssociationResponse' | |
|
Instances
newCreateIntegrationAssociationResponse Source #
Create a value of CreateIntegrationAssociationResponse
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:
CreateIntegrationAssociationResponse
, createIntegrationAssociationResponse_integrationAssociationArn
- The Amazon Resource Name (ARN) for the association.
CreateIntegrationAssociationResponse
, createIntegrationAssociationResponse_integrationAssociationId
- The identifier for the integration association.
$sel:httpStatus:CreateIntegrationAssociationResponse'
, createIntegrationAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
createIntegrationAssociationResponse_integrationAssociationArn :: Lens' CreateIntegrationAssociationResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) for the association.
createIntegrationAssociationResponse_integrationAssociationId :: Lens' CreateIntegrationAssociationResponse (Maybe Text) Source #
The identifier for the integration association.
createIntegrationAssociationResponse_httpStatus :: Lens' CreateIntegrationAssociationResponse Int Source #
The response's http status code.