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 |
Lists the resources associated with the specified TagOption.
This operation returns paginated results.
Synopsis
- 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
- The resource type. *Portfolio
*Product
lrftoPageToken
- The page token for the next set of results. To retrieve the first set of results, use null.lrftoPageSize
- The maximum number of items to return with this call.lrftoTagOptionId
- The TagOption identifier.
data ListResourcesForTagOption Source #
See: listResourcesForTagOption
smart constructor.
Instances
Request Lenses
lrftoResourceType :: Lens' ListResourcesForTagOption (Maybe Text) Source #
The resource type. * Portfolio
* Product
lrftoPageToken :: Lens' ListResourcesForTagOption (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
lrftoPageSize :: Lens' ListResourcesForTagOption (Maybe Natural) Source #
The maximum number of items to return with this call.
lrftoTagOptionId :: Lens' ListResourcesForTagOption Text Source #
The TagOption identifier.
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
- Information about the resources.lrftorsPageToken
- The page token for the next set of results. To retrieve the first set of results, use null.lrftorsResponseStatus
- -- | The response status code.
data ListResourcesForTagOptionResponse Source #
See: listResourcesForTagOptionResponse
smart constructor.
Instances
Response Lenses
lrftorsResourceDetails :: Lens' ListResourcesForTagOptionResponse [ResourceDetail] Source #
Information about the resources.
lrftorsPageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
lrftorsResponseStatus :: Lens' ListResourcesForTagOptionResponse Int Source #
- - | The response status code.