| 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.DisassociatePhoneNumberContactFlow
Description
Removes the flow association from a phone number claimed to your Amazon Connect instance.
If the number is claimed to a traffic distribution group, and you are
calling this API using an instance in the Amazon Web Services Region
where the traffic distribution group was created, you can use either a
full phone number ARN or UUID value for the PhoneNumberId URI request
parameter. However, if the number is claimed to a traffic distribution
group and you are calling this API using an instance in the alternate
Amazon Web Services Region associated with the traffic distribution
group, you must provide a full phone number ARN. If a UUID is provided
in this scenario, you will receive a ResourceNotFoundException.
Synopsis
- data DisassociatePhoneNumberContactFlow = DisassociatePhoneNumberContactFlow' {
- phoneNumberId :: Text
- instanceId :: Text
- newDisassociatePhoneNumberContactFlow :: Text -> Text -> DisassociatePhoneNumberContactFlow
- disassociatePhoneNumberContactFlow_phoneNumberId :: Lens' DisassociatePhoneNumberContactFlow Text
- disassociatePhoneNumberContactFlow_instanceId :: Lens' DisassociatePhoneNumberContactFlow Text
- data DisassociatePhoneNumberContactFlowResponse = DisassociatePhoneNumberContactFlowResponse' {
- newDisassociatePhoneNumberContactFlowResponse :: DisassociatePhoneNumberContactFlowResponse
Creating a Request
data DisassociatePhoneNumberContactFlow Source #
See: newDisassociatePhoneNumberContactFlow smart constructor.
Constructors
| DisassociatePhoneNumberContactFlow' | |
Fields
| |
Instances
newDisassociatePhoneNumberContactFlow Source #
Arguments
| :: Text | |
| -> Text | |
| -> DisassociatePhoneNumberContactFlow |
Create a value of DisassociatePhoneNumberContactFlow 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:
DisassociatePhoneNumberContactFlow, disassociatePhoneNumberContactFlow_phoneNumberId - A unique identifier for the phone number.
DisassociatePhoneNumberContactFlow, disassociatePhoneNumberContactFlow_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
disassociatePhoneNumberContactFlow_phoneNumberId :: Lens' DisassociatePhoneNumberContactFlow Text Source #
A unique identifier for the phone number.
disassociatePhoneNumberContactFlow_instanceId :: Lens' DisassociatePhoneNumberContactFlow Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DisassociatePhoneNumberContactFlowResponse Source #
See: newDisassociatePhoneNumberContactFlowResponse smart constructor.
Constructors
| DisassociatePhoneNumberContactFlowResponse' | |
Instances
| Generic DisassociatePhoneNumberContactFlowResponse Source # | |
Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow Associated Types type Rep DisassociatePhoneNumberContactFlowResponse :: Type -> Type # | |
| Read DisassociatePhoneNumberContactFlowResponse Source # | |
| Show DisassociatePhoneNumberContactFlowResponse Source # | |
| NFData DisassociatePhoneNumberContactFlowResponse Source # | |
Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow Methods | |
| Eq DisassociatePhoneNumberContactFlowResponse Source # | |
| type Rep DisassociatePhoneNumberContactFlowResponse Source # | |
Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow type Rep DisassociatePhoneNumberContactFlowResponse = D1 ('MetaData "DisassociatePhoneNumberContactFlowResponse" "Amazonka.Connect.DisassociatePhoneNumberContactFlow" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "DisassociatePhoneNumberContactFlowResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) | |
newDisassociatePhoneNumberContactFlowResponse :: DisassociatePhoneNumberContactFlowResponse Source #
Create a value of DisassociatePhoneNumberContactFlowResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.