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 |
Amazonka.Connect.DeleteInstance
Description
This API is in preview release for Amazon Connect and is subject to change.
Deletes the Amazon Connect instance.
Amazon Connect enforces a limit on the total number of instances that you can create or delete in 30 days. If you exceed this limit, you will get an error message indicating there has been an excessive number of attempts at creating or deleting instances. You must wait 30 days before you can restart creating and deleting instances in your account.
Creating a Request
data DeleteInstance Source #
See: newDeleteInstance
smart constructor.
Constructors
DeleteInstance' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteInstance |
Create a value of DeleteInstance
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:DeleteInstance'
, deleteInstance_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
Request Lenses
deleteInstance_instanceId :: Lens' DeleteInstance Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
Destructuring the Response
data DeleteInstanceResponse Source #
See: newDeleteInstanceResponse
smart constructor.
Constructors
DeleteInstanceResponse' | |
Instances
Eq DeleteInstanceResponse Source # | |
Defined in Amazonka.Connect.DeleteInstance Methods (==) :: DeleteInstanceResponse -> DeleteInstanceResponse -> Bool # (/=) :: DeleteInstanceResponse -> DeleteInstanceResponse -> Bool # | |
Read DeleteInstanceResponse Source # | |
Defined in Amazonka.Connect.DeleteInstance | |
Show DeleteInstanceResponse Source # | |
Defined in Amazonka.Connect.DeleteInstance Methods showsPrec :: Int -> DeleteInstanceResponse -> ShowS # show :: DeleteInstanceResponse -> String # showList :: [DeleteInstanceResponse] -> ShowS # | |
Generic DeleteInstanceResponse Source # | |
Defined in Amazonka.Connect.DeleteInstance Associated Types type Rep DeleteInstanceResponse :: Type -> Type # Methods from :: DeleteInstanceResponse -> Rep DeleteInstanceResponse x # to :: Rep DeleteInstanceResponse x -> DeleteInstanceResponse # | |
NFData DeleteInstanceResponse Source # | |
Defined in Amazonka.Connect.DeleteInstance Methods rnf :: DeleteInstanceResponse -> () # | |
type Rep DeleteInstanceResponse Source # | |
newDeleteInstanceResponse :: DeleteInstanceResponse Source #
Create a value of DeleteInstanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.