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 |
Lists the resources associated with the specified TagOption.
This operation returns paginated results.
Synopsis
- data ListResourcesForTagOption = ListResourcesForTagOption' {}
- newListResourcesForTagOption :: Text -> ListResourcesForTagOption
- listResourcesForTagOption_resourceType :: Lens' ListResourcesForTagOption (Maybe Text)
- listResourcesForTagOption_pageToken :: Lens' ListResourcesForTagOption (Maybe Text)
- listResourcesForTagOption_pageSize :: Lens' ListResourcesForTagOption (Maybe Natural)
- listResourcesForTagOption_tagOptionId :: Lens' ListResourcesForTagOption Text
- data ListResourcesForTagOptionResponse = ListResourcesForTagOptionResponse' {}
- newListResourcesForTagOptionResponse :: Int -> ListResourcesForTagOptionResponse
- listResourcesForTagOptionResponse_resourceDetails :: Lens' ListResourcesForTagOptionResponse (Maybe [ResourceDetail])
- listResourcesForTagOptionResponse_pageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text)
- listResourcesForTagOptionResponse_httpStatus :: Lens' ListResourcesForTagOptionResponse Int
Creating a Request
data ListResourcesForTagOption Source #
See: newListResourcesForTagOption
smart constructor.
Instances
newListResourcesForTagOption Source #
Create a value of ListResourcesForTagOption
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:resourceType:ListResourcesForTagOption'
, listResourcesForTagOption_resourceType
- The resource type.
Portfolio
Product
$sel:pageToken:ListResourcesForTagOption'
, listResourcesForTagOption_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:pageSize:ListResourcesForTagOption'
, listResourcesForTagOption_pageSize
- The maximum number of items to return with this call.
$sel:tagOptionId:ListResourcesForTagOption'
, listResourcesForTagOption_tagOptionId
- The TagOption identifier.
Request Lenses
listResourcesForTagOption_resourceType :: Lens' ListResourcesForTagOption (Maybe Text) Source #
The resource type.
Portfolio
Product
listResourcesForTagOption_pageToken :: Lens' ListResourcesForTagOption (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listResourcesForTagOption_pageSize :: Lens' ListResourcesForTagOption (Maybe Natural) Source #
The maximum number of items to return with this call.
listResourcesForTagOption_tagOptionId :: Lens' ListResourcesForTagOption Text Source #
The TagOption identifier.
Destructuring the Response
data ListResourcesForTagOptionResponse Source #
See: newListResourcesForTagOptionResponse
smart constructor.
ListResourcesForTagOptionResponse' | |
|
Instances
newListResourcesForTagOptionResponse Source #
Create a value of ListResourcesForTagOptionResponse
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:resourceDetails:ListResourcesForTagOptionResponse'
, listResourcesForTagOptionResponse_resourceDetails
- Information about the resources.
$sel:pageToken:ListResourcesForTagOption'
, listResourcesForTagOptionResponse_pageToken
- The page token for the next set of results. To retrieve the first set of
results, use null.
$sel:httpStatus:ListResourcesForTagOptionResponse'
, listResourcesForTagOptionResponse_httpStatus
- The response's http status code.
Response Lenses
listResourcesForTagOptionResponse_resourceDetails :: Lens' ListResourcesForTagOptionResponse (Maybe [ResourceDetail]) Source #
Information about the resources.
listResourcesForTagOptionResponse_pageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text) Source #
The page token for the next set of results. To retrieve the first set of results, use null.
listResourcesForTagOptionResponse_httpStatus :: Lens' ListResourcesForTagOptionResponse Int Source #
The response's http status code.