| 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.DescribeConnection
Description
Retrieves details about a connection.
Synopsis
- data DescribeConnection = DescribeConnection' {}
- newDescribeConnection :: Text -> DescribeConnection
- describeConnection_name :: Lens' DescribeConnection Text
- data DescribeConnectionResponse = DescribeConnectionResponse' {
- authParameters :: Maybe ConnectionAuthResponseParameters
- authorizationType :: Maybe ConnectionAuthorizationType
- connectionArn :: Maybe Text
- connectionState :: Maybe ConnectionState
- creationTime :: Maybe POSIX
- description :: Maybe Text
- lastAuthorizedTime :: Maybe POSIX
- lastModifiedTime :: Maybe POSIX
- name :: Maybe Text
- secretArn :: Maybe Text
- stateReason :: Maybe Text
- httpStatus :: Int
- newDescribeConnectionResponse :: Int -> DescribeConnectionResponse
- describeConnectionResponse_authParameters :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthResponseParameters)
- describeConnectionResponse_authorizationType :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthorizationType)
- describeConnectionResponse_connectionArn :: Lens' DescribeConnectionResponse (Maybe Text)
- describeConnectionResponse_connectionState :: Lens' DescribeConnectionResponse (Maybe ConnectionState)
- describeConnectionResponse_creationTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
- describeConnectionResponse_description :: Lens' DescribeConnectionResponse (Maybe Text)
- describeConnectionResponse_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
- describeConnectionResponse_lastModifiedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime)
- describeConnectionResponse_name :: Lens' DescribeConnectionResponse (Maybe Text)
- describeConnectionResponse_secretArn :: Lens' DescribeConnectionResponse (Maybe Text)
- describeConnectionResponse_stateReason :: Lens' DescribeConnectionResponse (Maybe Text)
- describeConnectionResponse_httpStatus :: Lens' DescribeConnectionResponse Int
Creating a Request
data DescribeConnection Source #
See: newDescribeConnection smart constructor.
Constructors
| DescribeConnection' | |
Instances
newDescribeConnection Source #
Arguments
| :: Text | |
| -> DescribeConnection |
Create a value of DescribeConnection 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:
DescribeConnection, describeConnection_name - The name of the connection to retrieve.
Request Lenses
describeConnection_name :: Lens' DescribeConnection Text Source #
The name of the connection to retrieve.
Destructuring the Response
data DescribeConnectionResponse Source #
See: newDescribeConnectionResponse smart constructor.
Constructors
| DescribeConnectionResponse' | |
Fields
| |
Instances
newDescribeConnectionResponse Source #
Create a value of DescribeConnectionResponse 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:DescribeConnectionResponse', describeConnectionResponse_authParameters - The parameters to use for authorization for the connection.
DescribeConnectionResponse, describeConnectionResponse_authorizationType - The type of authorization specified for the connection.
DescribeConnectionResponse, describeConnectionResponse_connectionArn - The ARN of the connection retrieved.
DescribeConnectionResponse, describeConnectionResponse_connectionState - The state of the connection retrieved.
DescribeConnectionResponse, describeConnectionResponse_creationTime - A time stamp for the time that the connection was created.
DescribeConnectionResponse, describeConnectionResponse_description - The description for the connection retrieved.
DescribeConnectionResponse, describeConnectionResponse_lastAuthorizedTime - A time stamp for the time that the connection was last authorized.
DescribeConnectionResponse, describeConnectionResponse_lastModifiedTime - A time stamp for the time that the connection was last modified.
DescribeConnection, describeConnectionResponse_name - The name of the connection retrieved.
$sel:secretArn:DescribeConnectionResponse', describeConnectionResponse_secretArn - The ARN of the secret created from the authorization parameters
specified for the connection.
DescribeConnectionResponse, describeConnectionResponse_stateReason - The reason that the connection is in the current connection state.
$sel:httpStatus:DescribeConnectionResponse', describeConnectionResponse_httpStatus - The response's http status code.
Response Lenses
describeConnectionResponse_authParameters :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthResponseParameters) Source #
The parameters to use for authorization for the connection.
describeConnectionResponse_authorizationType :: Lens' DescribeConnectionResponse (Maybe ConnectionAuthorizationType) Source #
The type of authorization specified for the connection.
describeConnectionResponse_connectionArn :: Lens' DescribeConnectionResponse (Maybe Text) Source #
The ARN of the connection retrieved.
describeConnectionResponse_connectionState :: Lens' DescribeConnectionResponse (Maybe ConnectionState) Source #
The state of the connection retrieved.
describeConnectionResponse_creationTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was created.
describeConnectionResponse_description :: Lens' DescribeConnectionResponse (Maybe Text) Source #
The description for the connection retrieved.
describeConnectionResponse_lastAuthorizedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last authorized.
describeConnectionResponse_lastModifiedTime :: Lens' DescribeConnectionResponse (Maybe UTCTime) Source #
A time stamp for the time that the connection was last modified.
describeConnectionResponse_name :: Lens' DescribeConnectionResponse (Maybe Text) Source #
The name of the connection retrieved.
describeConnectionResponse_secretArn :: Lens' DescribeConnectionResponse (Maybe Text) Source #
The ARN of the secret created from the authorization parameters specified for the connection.
describeConnectionResponse_stateReason :: Lens' DescribeConnectionResponse (Maybe Text) Source #
The reason that the connection is in the current connection state.
describeConnectionResponse_httpStatus :: Lens' DescribeConnectionResponse Int Source #
The response's http status code.