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 |
Retrieves the names of all DevEndpoint
resources in this Amazon Web
Services account, or the resources with the specified tag. This
operation allows you to see which resources are available in your
account, and their names.
This operation takes the optional Tags
field, which you can use as a
filter on the response so that tagged resources can be retrieved as a
group. If you choose to use tags filtering, only resources with the tag
are retrieved.
Synopsis
- data ListDevEndpoints = ListDevEndpoints' {}
- newListDevEndpoints :: ListDevEndpoints
- listDevEndpoints_maxResults :: Lens' ListDevEndpoints (Maybe Natural)
- listDevEndpoints_nextToken :: Lens' ListDevEndpoints (Maybe Text)
- listDevEndpoints_tags :: Lens' ListDevEndpoints (Maybe (HashMap Text Text))
- data ListDevEndpointsResponse = ListDevEndpointsResponse' {
- devEndpointNames :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListDevEndpointsResponse :: Int -> ListDevEndpointsResponse
- listDevEndpointsResponse_devEndpointNames :: Lens' ListDevEndpointsResponse (Maybe [Text])
- listDevEndpointsResponse_nextToken :: Lens' ListDevEndpointsResponse (Maybe Text)
- listDevEndpointsResponse_httpStatus :: Lens' ListDevEndpointsResponse Int
Creating a Request
data ListDevEndpoints Source #
See: newListDevEndpoints
smart constructor.
Instances
newListDevEndpoints :: ListDevEndpoints Source #
Create a value of ListDevEndpoints
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:maxResults:ListDevEndpoints'
, listDevEndpoints_maxResults
- The maximum size of a list to return.
ListDevEndpoints
, listDevEndpoints_nextToken
- A continuation token, if this is a continuation request.
$sel:tags:ListDevEndpoints'
, listDevEndpoints_tags
- Specifies to return only these tagged resources.
Request Lenses
listDevEndpoints_maxResults :: Lens' ListDevEndpoints (Maybe Natural) Source #
The maximum size of a list to return.
listDevEndpoints_nextToken :: Lens' ListDevEndpoints (Maybe Text) Source #
A continuation token, if this is a continuation request.
listDevEndpoints_tags :: Lens' ListDevEndpoints (Maybe (HashMap Text Text)) Source #
Specifies to return only these tagged resources.
Destructuring the Response
data ListDevEndpointsResponse Source #
See: newListDevEndpointsResponse
smart constructor.
ListDevEndpointsResponse' | |
|
Instances
newListDevEndpointsResponse Source #
Create a value of ListDevEndpointsResponse
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:devEndpointNames:ListDevEndpointsResponse'
, listDevEndpointsResponse_devEndpointNames
- The names of all the DevEndpoint
s in the account, or the
DevEndpoint
s with the specified tags.
ListDevEndpoints
, listDevEndpointsResponse_nextToken
- A continuation token, if the returned list does not contain the last
metric available.
$sel:httpStatus:ListDevEndpointsResponse'
, listDevEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
listDevEndpointsResponse_devEndpointNames :: Lens' ListDevEndpointsResponse (Maybe [Text]) Source #
The names of all the DevEndpoint
s in the account, or the
DevEndpoint
s with the specified tags.
listDevEndpointsResponse_nextToken :: Lens' ListDevEndpointsResponse (Maybe Text) Source #
A continuation token, if the returned list does not contain the last metric available.
listDevEndpointsResponse_httpStatus :: Lens' ListDevEndpointsResponse Int Source #
The response's http status code.