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 |
Replicates an Amazon Connect instance in the specified Amazon Web Services Region.
For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
Synopsis
- data ReplicateInstance = ReplicateInstance' {}
- newReplicateInstance :: Text -> Text -> Text -> ReplicateInstance
- replicateInstance_clientToken :: Lens' ReplicateInstance (Maybe Text)
- replicateInstance_instanceId :: Lens' ReplicateInstance Text
- replicateInstance_replicaRegion :: Lens' ReplicateInstance Text
- replicateInstance_replicaAlias :: Lens' ReplicateInstance Text
- data ReplicateInstanceResponse = ReplicateInstanceResponse' {}
- newReplicateInstanceResponse :: Int -> ReplicateInstanceResponse
- replicateInstanceResponse_arn :: Lens' ReplicateInstanceResponse (Maybe Text)
- replicateInstanceResponse_id :: Lens' ReplicateInstanceResponse (Maybe Text)
- replicateInstanceResponse_httpStatus :: Lens' ReplicateInstanceResponse Int
Creating a Request
data ReplicateInstance Source #
See: newReplicateInstance
smart constructor.
ReplicateInstance' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> ReplicateInstance |
Create a value of ReplicateInstance
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:clientToken:ReplicateInstance'
, replicateInstance_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If not provided, the Amazon Web Services SDK
populates this field. For more information about idempotency, see
Making retries safe with idempotent APIs.
ReplicateInstance
, replicateInstance_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance. You can provide the InstanceId
,
or the entire ARN.
$sel:replicaRegion:ReplicateInstance'
, replicateInstance_replicaRegion
- The Amazon Web Services Region where to replicate the Amazon Connect
instance.
$sel:replicaAlias:ReplicateInstance'
, replicateInstance_replicaAlias
- The alias for the replicated instance. The ReplicaAlias
must be
unique.
Request Lenses
replicateInstance_clientToken :: Lens' ReplicateInstance (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
replicateInstance_instanceId :: Lens' ReplicateInstance Text Source #
The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance. You can provide the InstanceId
,
or the entire ARN.
replicateInstance_replicaRegion :: Lens' ReplicateInstance Text Source #
The Amazon Web Services Region where to replicate the Amazon Connect instance.
replicateInstance_replicaAlias :: Lens' ReplicateInstance Text Source #
The alias for the replicated instance. The ReplicaAlias
must be
unique.
Destructuring the Response
data ReplicateInstanceResponse Source #
See: newReplicateInstanceResponse
smart constructor.
ReplicateInstanceResponse' | |
|
Instances
newReplicateInstanceResponse Source #
Create a value of ReplicateInstanceResponse
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:
ReplicateInstanceResponse
, replicateInstanceResponse_arn
- The Amazon Resource Name (ARN) of the replicated instance.
ReplicateInstanceResponse
, replicateInstanceResponse_id
- The identifier of the replicated instance. You can find the instanceId
in the ARN of the instance. The replicated instance has the same
identifier as the instance it was replicated from.
$sel:httpStatus:ReplicateInstanceResponse'
, replicateInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
replicateInstanceResponse_arn :: Lens' ReplicateInstanceResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the replicated instance.
replicateInstanceResponse_id :: Lens' ReplicateInstanceResponse (Maybe Text) Source #
The identifier of the replicated instance. You can find the instanceId
in the ARN of the instance. The replicated instance has the same
identifier as the instance it was replicated from.
replicateInstanceResponse_httpStatus :: Lens' ReplicateInstanceResponse Int Source #
The response's http status code.