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 |
Amazon Web Services uses this action to install Outpost servers.
Gets information about the specified connection.
Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For more information, see Amazon Web Services managed policies for Amazon Web Services Outposts and Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail in the Amazon Web Services Outposts User Guide.
Synopsis
- data GetConnection = GetConnection' {
- connectionId :: Text
- newGetConnection :: Text -> GetConnection
- getConnection_connectionId :: Lens' GetConnection Text
- data GetConnectionResponse = GetConnectionResponse' {}
- newGetConnectionResponse :: Int -> GetConnectionResponse
- getConnectionResponse_connectionDetails :: Lens' GetConnectionResponse (Maybe ConnectionDetails)
- getConnectionResponse_connectionId :: Lens' GetConnectionResponse (Maybe Text)
- getConnectionResponse_httpStatus :: Lens' GetConnectionResponse Int
Creating a Request
data GetConnection Source #
See: newGetConnection
smart constructor.
GetConnection' | |
|
Instances
Create a value of GetConnection
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:
GetConnection
, getConnection_connectionId
- The ID of the connection.
Request Lenses
getConnection_connectionId :: Lens' GetConnection Text Source #
The ID of the connection.
Destructuring the Response
data GetConnectionResponse Source #
See: newGetConnectionResponse
smart constructor.
GetConnectionResponse' | |
|
Instances
newGetConnectionResponse Source #
Create a value of GetConnectionResponse
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:connectionDetails:GetConnectionResponse'
, getConnectionResponse_connectionDetails
- Information about the connection.
GetConnection
, getConnectionResponse_connectionId
- The ID of the connection.
$sel:httpStatus:GetConnectionResponse'
, getConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
getConnectionResponse_connectionDetails :: Lens' GetConnectionResponse (Maybe ConnectionDetails) Source #
Information about the connection.
getConnectionResponse_connectionId :: Lens' GetConnectionResponse (Maybe Text) Source #
The ID of the connection.
getConnectionResponse_httpStatus :: Lens' GetConnectionResponse Int Source #
The response's http status code.