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 |
Creates a TagOption.
Synopsis
- data CreateTagOption = CreateTagOption' {}
- newCreateTagOption :: Text -> Text -> CreateTagOption
- createTagOption_key :: Lens' CreateTagOption Text
- createTagOption_value :: Lens' CreateTagOption Text
- data CreateTagOptionResponse = CreateTagOptionResponse' {}
- newCreateTagOptionResponse :: Int -> CreateTagOptionResponse
- createTagOptionResponse_tagOptionDetail :: Lens' CreateTagOptionResponse (Maybe TagOptionDetail)
- createTagOptionResponse_httpStatus :: Lens' CreateTagOptionResponse Int
Creating a Request
data CreateTagOption Source #
See: newCreateTagOption
smart constructor.
Instances
Create a value of CreateTagOption
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:key:CreateTagOption'
, createTagOption_key
- The TagOption key.
$sel:value:CreateTagOption'
, createTagOption_value
- The TagOption value.
Request Lenses
createTagOption_key :: Lens' CreateTagOption Text Source #
The TagOption key.
createTagOption_value :: Lens' CreateTagOption Text Source #
The TagOption value.
Destructuring the Response
data CreateTagOptionResponse Source #
See: newCreateTagOptionResponse
smart constructor.
CreateTagOptionResponse' | |
|
Instances
newCreateTagOptionResponse Source #
Create a value of CreateTagOptionResponse
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:tagOptionDetail:CreateTagOptionResponse'
, createTagOptionResponse_tagOptionDetail
- Information about the TagOption.
$sel:httpStatus:CreateTagOptionResponse'
, createTagOptionResponse_httpStatus
- The response's http status code.
Response Lenses
createTagOptionResponse_tagOptionDetail :: Lens' CreateTagOptionResponse (Maybe TagOptionDetail) Source #
Information about the TagOption.
createTagOptionResponse_httpStatus :: Lens' CreateTagOptionResponse Int Source #
The response's http status code.