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 |
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.
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:
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.