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 |
Updates settings for a connection.
Synopsis
- data UpdateConnection = UpdateConnection' {}
- newUpdateConnection :: Text -> UpdateConnection
- updateConnection_authParameters :: Lens' UpdateConnection (Maybe UpdateConnectionAuthRequestParameters)
- updateConnection_authorizationType :: Lens' UpdateConnection (Maybe ConnectionAuthorizationType)
- updateConnection_description :: Lens' UpdateConnection (Maybe Text)
- updateConnection_name :: Lens' UpdateConnection Text
- data UpdateConnectionResponse = UpdateConnectionResponse' {}
- newUpdateConnectionResponse :: Int -> UpdateConnectionResponse
- updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
- updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
- updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
- updateConnectionResponse_connectionArn :: Lens' UpdateConnectionResponse (Maybe Text)
- updateConnectionResponse_connectionState :: Lens' UpdateConnectionResponse (Maybe ConnectionState)
- updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int
Creating a Request
data UpdateConnection Source #
See: newUpdateConnection
smart constructor.
UpdateConnection' | |
|
Instances
Create a value of UpdateConnection
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:authParameters:UpdateConnection'
, updateConnection_authParameters
- The authorization parameters to use for the connection.
$sel:authorizationType:UpdateConnection'
, updateConnection_authorizationType
- The type of authorization to use for the connection.
$sel:description:UpdateConnection'
, updateConnection_description
- A description for the connection.
$sel:name:UpdateConnection'
, updateConnection_name
- The name of the connection to update.
Request Lenses
updateConnection_authParameters :: Lens' UpdateConnection (Maybe UpdateConnectionAuthRequestParameters) Source #
The authorization parameters to use for the connection.
updateConnection_authorizationType :: Lens' UpdateConnection (Maybe ConnectionAuthorizationType) Source #
The type of authorization to use for the connection.
updateConnection_description :: Lens' UpdateConnection (Maybe Text) Source #
A description for the connection.
updateConnection_name :: Lens' UpdateConnection Text Source #
The name of the connection to update.
Destructuring the Response
data UpdateConnectionResponse Source #
See: newUpdateConnectionResponse
smart constructor.
UpdateConnectionResponse' | |
|
Instances
newUpdateConnectionResponse Source #
Create a value of UpdateConnectionResponse
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:UpdateConnectionResponse'
, updateConnectionResponse_creationTime
- A time stamp for the time that the connection was created.
$sel:lastModifiedTime:UpdateConnectionResponse'
, updateConnectionResponse_lastModifiedTime
- A time stamp for the time that the connection was last modified.
$sel:lastAuthorizedTime:UpdateConnectionResponse'
, updateConnectionResponse_lastAuthorizedTime
- A time stamp for the time that the connection was last authorized.
$sel:connectionArn:UpdateConnectionResponse'
, updateConnectionResponse_connectionArn
- The ARN of the connection that was updated.
$sel:connectionState:UpdateConnectionResponse'
, updateConnectionResponse_connectionState
- The state of the connection that was updated.
$sel:httpStatus:UpdateConnectionResponse'
, updateConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was created.
updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last modified.
updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last authorized.
updateConnectionResponse_connectionArn :: Lens' UpdateConnectionResponse (Maybe Text) Source #
The ARN of the connection that was updated.
updateConnectionResponse_connectionState :: Lens' UpdateConnectionResponse (Maybe ConnectionState) Source #
The state of the connection that was updated.
updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int Source #
The response's http status code.