| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudWatchEvents.UpdateConnection
Description
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_connectionArn :: Lens' UpdateConnectionResponse (Maybe Text)
- updateConnectionResponse_connectionState :: Lens' UpdateConnectionResponse (Maybe ConnectionState)
- updateConnectionResponse_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
- updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
- updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime)
- updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int
Creating a Request
data UpdateConnection Source #
See: newUpdateConnection smart constructor.
Constructors
| UpdateConnection' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateConnection |
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.
UpdateConnection, updateConnection_authorizationType - The type of authorization to use for the connection.
UpdateConnection, updateConnection_description - A description for the connection.
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.
Constructors
| UpdateConnectionResponse' | |
Fields
| |
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:
UpdateConnectionResponse, updateConnectionResponse_connectionArn - The ARN of the connection that was updated.
UpdateConnectionResponse, updateConnectionResponse_connectionState - The state of the connection that was updated.
UpdateConnectionResponse, updateConnectionResponse_creationTime - A time stamp for the time that the connection was created.
UpdateConnectionResponse, updateConnectionResponse_lastAuthorizedTime - A time stamp for the time that the connection was last authorized.
UpdateConnectionResponse, updateConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last modified.
$sel:httpStatus:UpdateConnectionResponse', updateConnectionResponse_httpStatus - The response's http status code.
Response Lenses
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_creationTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was created.
updateConnectionResponse_lastAuthorizedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last authorized.
updateConnectionResponse_lastModifiedTime :: Lens' UpdateConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last modified.
updateConnectionResponse_httpStatus :: Lens' UpdateConnectionResponse Int Source #
The response's http status code.