Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Returns the list of available network profiles.
- listNetworkProfiles :: Text -> ListNetworkProfiles
- data ListNetworkProfiles
- lnpNextToken :: Lens' ListNetworkProfiles (Maybe Text)
- lnpType :: Lens' ListNetworkProfiles (Maybe NetworkProfileType)
- lnpArn :: Lens' ListNetworkProfiles Text
- listNetworkProfilesResponse :: Int -> ListNetworkProfilesResponse
- data ListNetworkProfilesResponse
- lnprsNetworkProfiles :: Lens' ListNetworkProfilesResponse [NetworkProfile]
- lnprsNextToken :: Lens' ListNetworkProfilesResponse (Maybe Text)
- lnprsResponseStatus :: Lens' ListNetworkProfilesResponse Int
Creating a Request
Creates a value of ListNetworkProfiles
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnpNextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.lnpType
- The type of network profile you wish to return information about. Valid values are listed below.lnpArn
- The Amazon Resource Name (ARN) of the project for which you want to list network profiles.
data ListNetworkProfiles Source #
See: listNetworkProfiles
smart constructor.
Request Lenses
lnpNextToken :: Lens' ListNetworkProfiles (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
lnpType :: Lens' ListNetworkProfiles (Maybe NetworkProfileType) Source #
The type of network profile you wish to return information about. Valid values are listed below.
lnpArn :: Lens' ListNetworkProfiles Text Source #
The Amazon Resource Name (ARN) of the project for which you want to list network profiles.
Destructuring the Response
listNetworkProfilesResponse Source #
Creates a value of ListNetworkProfilesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lnprsNetworkProfiles
- A list of the available network profiles.lnprsNextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.lnprsResponseStatus
- -- | The response status code.
data ListNetworkProfilesResponse Source #
See: listNetworkProfilesResponse
smart constructor.
Response Lenses
lnprsNetworkProfiles :: Lens' ListNetworkProfilesResponse [NetworkProfile] Source #
A list of the available network profiles.
lnprsNextToken :: Lens' ListNetworkProfilesResponse (Maybe Text) Source #
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
lnprsResponseStatus :: Lens' ListNetworkProfilesResponse Int Source #
- - | The response status code.