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