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 |
Creates an Firewall Manager protocols list.
Synopsis
- data PutProtocolsList = PutProtocolsList' {}
- newPutProtocolsList :: ProtocolsListData -> PutProtocolsList
- putProtocolsList_tagList :: Lens' PutProtocolsList (Maybe [Tag])
- putProtocolsList_protocolsList :: Lens' PutProtocolsList ProtocolsListData
- data PutProtocolsListResponse = PutProtocolsListResponse' {}
- newPutProtocolsListResponse :: Int -> PutProtocolsListResponse
- putProtocolsListResponse_protocolsList :: Lens' PutProtocolsListResponse (Maybe ProtocolsListData)
- putProtocolsListResponse_protocolsListArn :: Lens' PutProtocolsListResponse (Maybe Text)
- putProtocolsListResponse_httpStatus :: Lens' PutProtocolsListResponse Int
Creating a Request
data PutProtocolsList Source #
See: newPutProtocolsList
smart constructor.
PutProtocolsList' | |
|
Instances
Create a value of PutProtocolsList
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:tagList:PutProtocolsList'
, putProtocolsList_tagList
- The tags associated with the resource.
$sel:protocolsList:PutProtocolsList'
, putProtocolsList_protocolsList
- The details of the Firewall Manager protocols list to be created.
Request Lenses
putProtocolsList_tagList :: Lens' PutProtocolsList (Maybe [Tag]) Source #
The tags associated with the resource.
putProtocolsList_protocolsList :: Lens' PutProtocolsList ProtocolsListData Source #
The details of the Firewall Manager protocols list to be created.
Destructuring the Response
data PutProtocolsListResponse Source #
See: newPutProtocolsListResponse
smart constructor.
PutProtocolsListResponse' | |
|
Instances
newPutProtocolsListResponse Source #
Create a value of PutProtocolsListResponse
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:PutProtocolsList'
, putProtocolsListResponse_protocolsList
- The details of the Firewall Manager protocols list.
$sel:protocolsListArn:PutProtocolsListResponse'
, putProtocolsListResponse_protocolsListArn
- The Amazon Resource Name (ARN) of the protocols list.
$sel:httpStatus:PutProtocolsListResponse'
, putProtocolsListResponse_httpStatus
- The response's http status code.
Response Lenses
putProtocolsListResponse_protocolsList :: Lens' PutProtocolsListResponse (Maybe ProtocolsListData) Source #
The details of the Firewall Manager protocols list.
putProtocolsListResponse_protocolsListArn :: Lens' PutProtocolsListResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the protocols list.
putProtocolsListResponse_httpStatus :: Lens' PutProtocolsListResponse Int Source #
The response's http status code.