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 |
Removes all authorization parameters from the connection. This lets you remove the secret from the connection so you can reuse it without having to create a new connection.
Synopsis
- data DeauthorizeConnection = DeauthorizeConnection' {}
- newDeauthorizeConnection :: Text -> DeauthorizeConnection
- deauthorizeConnection_name :: Lens' DeauthorizeConnection Text
- data DeauthorizeConnectionResponse = DeauthorizeConnectionResponse' {}
- newDeauthorizeConnectionResponse :: Int -> DeauthorizeConnectionResponse
- deauthorizeConnectionResponse_creationTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
- deauthorizeConnectionResponse_lastModifiedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
- deauthorizeConnectionResponse_lastAuthorizedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime)
- deauthorizeConnectionResponse_connectionArn :: Lens' DeauthorizeConnectionResponse (Maybe Text)
- deauthorizeConnectionResponse_connectionState :: Lens' DeauthorizeConnectionResponse (Maybe ConnectionState)
- deauthorizeConnectionResponse_httpStatus :: Lens' DeauthorizeConnectionResponse Int
Creating a Request
data DeauthorizeConnection Source #
See: newDeauthorizeConnection
smart constructor.
Instances
newDeauthorizeConnection Source #
Create a value of DeauthorizeConnection
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:DeauthorizeConnection'
, deauthorizeConnection_name
- The name of the connection to remove authorization from.
Request Lenses
deauthorizeConnection_name :: Lens' DeauthorizeConnection Text Source #
The name of the connection to remove authorization from.
Destructuring the Response
data DeauthorizeConnectionResponse Source #
See: newDeauthorizeConnectionResponse
smart constructor.
DeauthorizeConnectionResponse' | |
|
Instances
newDeauthorizeConnectionResponse Source #
Create a value of DeauthorizeConnectionResponse
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:DeauthorizeConnectionResponse'
, deauthorizeConnectionResponse_creationTime
- A time stamp for the time that the connection was created.
$sel:lastModifiedTime:DeauthorizeConnectionResponse'
, deauthorizeConnectionResponse_lastModifiedTime
- A time stamp for the time that the connection was last updated.
$sel:lastAuthorizedTime:DeauthorizeConnectionResponse'
, deauthorizeConnectionResponse_lastAuthorizedTime
- A time stamp for the time that the connection was last authorized.
$sel:connectionArn:DeauthorizeConnectionResponse'
, deauthorizeConnectionResponse_connectionArn
- The ARN of the connection that authorization was removed from.
$sel:connectionState:DeauthorizeConnectionResponse'
, deauthorizeConnectionResponse_connectionState
- The state of the connection.
$sel:httpStatus:DeauthorizeConnectionResponse'
, deauthorizeConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
deauthorizeConnectionResponse_creationTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was created.
deauthorizeConnectionResponse_lastModifiedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last updated.
deauthorizeConnectionResponse_lastAuthorizedTime :: Lens' DeauthorizeConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last authorized.
deauthorizeConnectionResponse_connectionArn :: Lens' DeauthorizeConnectionResponse (Maybe Text) Source #
The ARN of the connection that authorization was removed from.
deauthorizeConnectionResponse_connectionState :: Lens' DeauthorizeConnectionResponse (Maybe ConnectionState) Source #
The state of the connection.
deauthorizeConnectionResponse_httpStatus :: Lens' DeauthorizeConnectionResponse Int Source #
The response's http status code.