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 |
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_nextToken :: Lens' ListDevEndpoints (Maybe Text)
- listDevEndpoints_maxResults :: Lens' ListDevEndpoints (Maybe Natural)
- listDevEndpoints_tags :: Lens' ListDevEndpoints (Maybe (HashMap Text Text))
- data ListDevEndpointsResponse = ListDevEndpointsResponse' {
- nextToken :: Maybe Text
- devEndpointNames :: Maybe [Text]
- httpStatus :: Int
- newListDevEndpointsResponse :: Int -> ListDevEndpointsResponse
- listDevEndpointsResponse_nextToken :: Lens' ListDevEndpointsResponse (Maybe Text)
- listDevEndpointsResponse_devEndpointNames :: 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:nextToken:ListDevEndpoints'
, listDevEndpoints_nextToken
- A continuation token, if this is a continuation request.
$sel:maxResults:ListDevEndpoints'
, listDevEndpoints_maxResults
- The maximum size of a list to return.
$sel:tags:ListDevEndpoints'
, listDevEndpoints_tags
- Specifies to return only these tagged resources.
Request Lenses
listDevEndpoints_nextToken :: Lens' ListDevEndpoints (Maybe Text) Source #
A continuation token, if this is a continuation request.
listDevEndpoints_maxResults :: Lens' ListDevEndpoints (Maybe Natural) Source #
The maximum size of a list to return.
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:nextToken:ListDevEndpoints'
, listDevEndpointsResponse_nextToken
- A continuation token, if the returned list does not contain the last
metric available.
$sel:devEndpointNames:ListDevEndpointsResponse'
, listDevEndpointsResponse_devEndpointNames
- The names of all the DevEndpoint
s in the account, or the
DevEndpoint
s with the specified tags.
$sel:httpStatus:ListDevEndpointsResponse'
, listDevEndpointsResponse_httpStatus
- The response's http status code.
Response Lenses
listDevEndpointsResponse_nextToken :: Lens' ListDevEndpointsResponse (Maybe Text) Source #
A continuation token, if the returned list does not contain the last metric available.
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_httpStatus :: Lens' ListDevEndpointsResponse Int Source #
The response's http status code.