Copyright | (c) 2013-2017 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 |
Lists resources associated with a TagOption.
- listResourcesForTagOption :: Text -> ListResourcesForTagOption
- data ListResourcesForTagOption
- lrftoResourceType :: Lens' ListResourcesForTagOption (Maybe Text)
- lrftoPageToken :: Lens' ListResourcesForTagOption (Maybe Text)
- lrftoPageSize :: Lens' ListResourcesForTagOption (Maybe Natural)
- lrftoTagOptionId :: Lens' ListResourcesForTagOption Text
- listResourcesForTagOptionResponse :: Int -> ListResourcesForTagOptionResponse
- data ListResourcesForTagOptionResponse
- lrftorsResourceDetails :: Lens' ListResourcesForTagOptionResponse [ResourceDetail]
- lrftorsPageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text)
- lrftorsResponseStatus :: Lens' ListResourcesForTagOptionResponse Int
Creating a Request
listResourcesForTagOption Source #
Creates a value of ListResourcesForTagOption
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrftoResourceType
- Resource type.lrftoPageToken
- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize
.lrftoPageSize
- The maximum number of items to return in the results. If more results exist than fit in the specifiedPageSize
, the value ofNextPageToken
in the response is non-null.lrftoTagOptionId
- Identifier of the TagOption.
data ListResourcesForTagOption Source #
See: listResourcesForTagOption
smart constructor.
Request Lenses
lrftoResourceType :: Lens' ListResourcesForTagOption (Maybe Text) Source #
Resource type.
lrftoPageToken :: Lens' ListResourcesForTagOption (Maybe Text) Source #
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
lrftoPageSize :: Lens' ListResourcesForTagOption (Maybe Natural) Source #
The maximum number of items to return in the results. If more results exist than fit in the specified PageSize
, the value of NextPageToken
in the response is non-null.
lrftoTagOptionId :: Lens' ListResourcesForTagOption Text Source #
Identifier of the TagOption.
Destructuring the Response
listResourcesForTagOptionResponse Source #
Creates a value of ListResourcesForTagOptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrftorsResourceDetails
- The resulting detailed resource information.lrftorsPageToken
- The page token of the first page retrieved. If null, this retrieves the first page of sizePageSize
.lrftorsResponseStatus
- -- | The response status code.
data ListResourcesForTagOptionResponse Source #
See: listResourcesForTagOptionResponse
smart constructor.
Response Lenses
lrftorsResourceDetails :: Lens' ListResourcesForTagOptionResponse [ResourceDetail] Source #
The resulting detailed resource information.
lrftorsPageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text) Source #
The page token of the first page retrieved. If null, this retrieves the first page of size PageSize
.
lrftorsResponseStatus :: Lens' ListResourcesForTagOptionResponse Int Source #
- - | The response status code.