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 a connection.
Synopsis
- data DeleteConnection = DeleteConnection' {}
- newDeleteConnection :: Text -> DeleteConnection
- deleteConnection_name :: Lens' DeleteConnection Text
- data DeleteConnectionResponse = DeleteConnectionResponse' {}
- newDeleteConnectionResponse :: Int -> DeleteConnectionResponse
- deleteConnectionResponse_creationTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
- deleteConnectionResponse_lastModifiedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
- deleteConnectionResponse_lastAuthorizedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime)
- deleteConnectionResponse_connectionArn :: Lens' DeleteConnectionResponse (Maybe Text)
- deleteConnectionResponse_connectionState :: Lens' DeleteConnectionResponse (Maybe ConnectionState)
- deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int
Creating a Request
data DeleteConnection Source #
See: newDeleteConnection
smart constructor.
Instances
Create a value of DeleteConnection
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:name:DeleteConnection'
, deleteConnection_name
- The name of the connection to delete.
Request Lenses
deleteConnection_name :: Lens' DeleteConnection Text Source #
The name of the connection to delete.
Destructuring the Response
data DeleteConnectionResponse Source #
See: newDeleteConnectionResponse
smart constructor.
DeleteConnectionResponse' | |
|
Instances
newDeleteConnectionResponse Source #
Create a value of DeleteConnectionResponse
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:creationTime:DeleteConnectionResponse'
, deleteConnectionResponse_creationTime
- A time stamp for the time that the connection was created.
$sel:lastModifiedTime:DeleteConnectionResponse'
, deleteConnectionResponse_lastModifiedTime
- A time stamp for the time that the connection was last modified before
it was deleted.
$sel:lastAuthorizedTime:DeleteConnectionResponse'
, deleteConnectionResponse_lastAuthorizedTime
- A time stamp for the time that the connection was last authorized before
it wa deleted.
$sel:connectionArn:DeleteConnectionResponse'
, deleteConnectionResponse_connectionArn
- The ARN of the connection that was deleted.
$sel:connectionState:DeleteConnectionResponse'
, deleteConnectionResponse_connectionState
- The state of the connection before it was deleted.
$sel:httpStatus:DeleteConnectionResponse'
, deleteConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteConnectionResponse_creationTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was created.
deleteConnectionResponse_lastModifiedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last modified before it was deleted.
deleteConnectionResponse_lastAuthorizedTime :: Lens' DeleteConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last authorized before it wa deleted.
deleteConnectionResponse_connectionArn :: Lens' DeleteConnectionResponse (Maybe Text) Source #
The ARN of the connection that was deleted.
deleteConnectionResponse_connectionState :: Lens' DeleteConnectionResponse (Maybe ConnectionState) Source #
The state of the connection before it was deleted.
deleteConnectionResponse_httpStatus :: Lens' DeleteConnectionResponse Int Source #
The response's http status code.