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 |
Deletes the specified replication instance.
You must delete any migration tasks that are associated with the replication instance before you can delete it.
Synopsis
- data DeleteReplicationInstance = DeleteReplicationInstance' {}
- newDeleteReplicationInstance :: Text -> DeleteReplicationInstance
- deleteReplicationInstance_replicationInstanceArn :: Lens' DeleteReplicationInstance Text
- data DeleteReplicationInstanceResponse = DeleteReplicationInstanceResponse' {}
- newDeleteReplicationInstanceResponse :: Int -> DeleteReplicationInstanceResponse
- deleteReplicationInstanceResponse_replicationInstance :: Lens' DeleteReplicationInstanceResponse (Maybe ReplicationInstance)
- deleteReplicationInstanceResponse_httpStatus :: Lens' DeleteReplicationInstanceResponse Int
Creating a Request
data DeleteReplicationInstance Source #
See: newDeleteReplicationInstance
smart constructor.
DeleteReplicationInstance' | |
|
Instances
newDeleteReplicationInstance Source #
Create a value of DeleteReplicationInstance
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:replicationInstanceArn:DeleteReplicationInstance'
, deleteReplicationInstance_replicationInstanceArn
- The Amazon Resource Name (ARN) of the replication instance to be
deleted.
Request Lenses
deleteReplicationInstance_replicationInstanceArn :: Lens' DeleteReplicationInstance Text Source #
The Amazon Resource Name (ARN) of the replication instance to be deleted.
Destructuring the Response
data DeleteReplicationInstanceResponse Source #
See: newDeleteReplicationInstanceResponse
smart constructor.
DeleteReplicationInstanceResponse' | |
|
Instances
Eq DeleteReplicationInstanceResponse Source # | |
Read DeleteReplicationInstanceResponse Source # | |
Show DeleteReplicationInstanceResponse Source # | |
Defined in Amazonka.DMS.DeleteReplicationInstance | |
Generic DeleteReplicationInstanceResponse Source # | |
NFData DeleteReplicationInstanceResponse Source # | |
Defined in Amazonka.DMS.DeleteReplicationInstance rnf :: DeleteReplicationInstanceResponse -> () # | |
type Rep DeleteReplicationInstanceResponse Source # | |
Defined in Amazonka.DMS.DeleteReplicationInstance type Rep DeleteReplicationInstanceResponse = D1 ('MetaData "DeleteReplicationInstanceResponse" "Amazonka.DMS.DeleteReplicationInstance" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "DeleteReplicationInstanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "replicationInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationInstance)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteReplicationInstanceResponse Source #
Create a value of DeleteReplicationInstanceResponse
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:replicationInstance:DeleteReplicationInstanceResponse'
, deleteReplicationInstanceResponse_replicationInstance
- The replication instance that was deleted.
$sel:httpStatus:DeleteReplicationInstanceResponse'
, deleteReplicationInstanceResponse_httpStatus
- The response's http status code.
Response Lenses
deleteReplicationInstanceResponse_replicationInstance :: Lens' DeleteReplicationInstanceResponse (Maybe ReplicationInstance) Source #
The replication instance that was deleted.
deleteReplicationInstanceResponse_httpStatus :: Lens' DeleteReplicationInstanceResponse Int Source #
The response's http status code.