| 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 |
Amazonka.DeviceFarm.ListNetworkProfiles
Description
Returns the list of available network profiles.
This operation returns paginated results.
Synopsis
- data ListNetworkProfiles = ListNetworkProfiles' {}
- newListNetworkProfiles :: Text -> ListNetworkProfiles
- listNetworkProfiles_nextToken :: Lens' ListNetworkProfiles (Maybe Text)
- listNetworkProfiles_type :: Lens' ListNetworkProfiles (Maybe NetworkProfileType)
- listNetworkProfiles_arn :: Lens' ListNetworkProfiles Text
- data ListNetworkProfilesResponse = ListNetworkProfilesResponse' {}
- newListNetworkProfilesResponse :: Int -> ListNetworkProfilesResponse
- listNetworkProfilesResponse_networkProfiles :: Lens' ListNetworkProfilesResponse (Maybe [NetworkProfile])
- listNetworkProfilesResponse_nextToken :: Lens' ListNetworkProfilesResponse (Maybe Text)
- listNetworkProfilesResponse_httpStatus :: Lens' ListNetworkProfilesResponse Int
Creating a Request
data ListNetworkProfiles Source #
See: newListNetworkProfiles smart constructor.
Constructors
| ListNetworkProfiles' | |
Fields
| |
Instances
newListNetworkProfiles Source #
Arguments
| :: Text | |
| -> ListNetworkProfiles |
Create a value of ListNetworkProfiles 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:
ListNetworkProfiles, listNetworkProfiles_nextToken - 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.
ListNetworkProfiles, listNetworkProfiles_type - The type of network profile to return information about. Valid values
are listed here.
ListNetworkProfiles, listNetworkProfiles_arn - The Amazon Resource Name (ARN) of the project for which you want to list
network profiles.
Request Lenses
listNetworkProfiles_nextToken :: 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.
listNetworkProfiles_type :: Lens' ListNetworkProfiles (Maybe NetworkProfileType) Source #
The type of network profile to return information about. Valid values are listed here.
listNetworkProfiles_arn :: Lens' ListNetworkProfiles Text Source #
The Amazon Resource Name (ARN) of the project for which you want to list network profiles.
Destructuring the Response
data ListNetworkProfilesResponse Source #
See: newListNetworkProfilesResponse smart constructor.
Constructors
| ListNetworkProfilesResponse' | |
Fields
| |
Instances
newListNetworkProfilesResponse Source #
Create a value of ListNetworkProfilesResponse 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:networkProfiles:ListNetworkProfilesResponse', listNetworkProfilesResponse_networkProfiles - A list of the available network profiles.
ListNetworkProfiles, listNetworkProfilesResponse_nextToken - 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.
$sel:httpStatus:ListNetworkProfilesResponse', listNetworkProfilesResponse_httpStatus - The response's http status code.
Response Lenses
listNetworkProfilesResponse_networkProfiles :: Lens' ListNetworkProfilesResponse (Maybe [NetworkProfile]) Source #
A list of the available network profiles.
listNetworkProfilesResponse_nextToken :: 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.
listNetworkProfilesResponse_httpStatus :: Lens' ListNetworkProfilesResponse Int Source #
The response's http status code.