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 |
Returns information about the specified Firewall Manager protocols list.
Synopsis
- data GetProtocolsList = GetProtocolsList' {
- defaultList :: Maybe Bool
- listId :: Text
- newGetProtocolsList :: Text -> GetProtocolsList
- getProtocolsList_defaultList :: Lens' GetProtocolsList (Maybe Bool)
- getProtocolsList_listId :: Lens' GetProtocolsList Text
- data GetProtocolsListResponse = GetProtocolsListResponse' {}
- newGetProtocolsListResponse :: Int -> GetProtocolsListResponse
- getProtocolsListResponse_protocolsList :: Lens' GetProtocolsListResponse (Maybe ProtocolsListData)
- getProtocolsListResponse_protocolsListArn :: Lens' GetProtocolsListResponse (Maybe Text)
- getProtocolsListResponse_httpStatus :: Lens' GetProtocolsListResponse Int
Creating a Request
data GetProtocolsList Source #
See: newGetProtocolsList
smart constructor.
GetProtocolsList' | |
|
Instances
Create a value of GetProtocolsList
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:defaultList:GetProtocolsList'
, getProtocolsList_defaultList
- Specifies whether the list to retrieve is a default list owned by
Firewall Manager.
$sel:listId:GetProtocolsList'
, getProtocolsList_listId
- The ID of the Firewall Manager protocols list that you want the details
for.
Request Lenses
getProtocolsList_defaultList :: Lens' GetProtocolsList (Maybe Bool) Source #
Specifies whether the list to retrieve is a default list owned by Firewall Manager.
getProtocolsList_listId :: Lens' GetProtocolsList Text Source #
The ID of the Firewall Manager protocols list that you want the details for.
Destructuring the Response
data GetProtocolsListResponse Source #
See: newGetProtocolsListResponse
smart constructor.
GetProtocolsListResponse' | |
|
Instances
newGetProtocolsListResponse Source #
Create a value of GetProtocolsListResponse
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:protocolsList:GetProtocolsListResponse'
, getProtocolsListResponse_protocolsList
- Information about the specified Firewall Manager protocols list.
$sel:protocolsListArn:GetProtocolsListResponse'
, getProtocolsListResponse_protocolsListArn
- The Amazon Resource Name (ARN) of the specified protocols list.
$sel:httpStatus:GetProtocolsListResponse'
, getProtocolsListResponse_httpStatus
- The response's http status code.
Response Lenses
getProtocolsListResponse_protocolsList :: Lens' GetProtocolsListResponse (Maybe ProtocolsListData) Source #
Information about the specified Firewall Manager protocols list.
getProtocolsListResponse_protocolsListArn :: Lens' GetProtocolsListResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the specified protocols list.
getProtocolsListResponse_httpStatus :: Lens' GetProtocolsListResponse Int Source #
The response's http status code.