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 |
Amazonka.ApiGatewayV2.GetTags
Description
Gets a collection of Tag resources.
Synopsis
- data GetTags = GetTags' {
- resourceArn :: Text
- newGetTags :: Text -> GetTags
- getTags_resourceArn :: Lens' GetTags Text
- data GetTagsResponse = GetTagsResponse' {}
- newGetTagsResponse :: Int -> GetTagsResponse
- getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text))
- getTagsResponse_httpStatus :: Lens' GetTagsResponse Int
Creating a Request
See: newGetTags
smart constructor.
Constructors
GetTags' | |
Fields
|
Instances
Create a value of GetTags
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:resourceArn:GetTags'
, getTags_resourceArn
- The resource ARN for the tag.
Request Lenses
Destructuring the Response
data GetTagsResponse Source #
See: newGetTagsResponse
smart constructor.
Constructors
GetTagsResponse' | |
Instances
Arguments
:: Int | |
-> GetTagsResponse |
Create a value of GetTagsResponse
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:
GetTagsResponse
, getTagsResponse_tags
- Undocumented member.
$sel:httpStatus:GetTagsResponse'
, getTagsResponse_httpStatus
- The response's http status code.
Response Lenses
getTagsResponse_tags :: Lens' GetTagsResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
getTagsResponse_httpStatus :: Lens' GetTagsResponse Int Source #
The response's http status code.