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 |
Create a new lens version.
A lens can have up to 100 versions.
After a lens has been imported, create a new lens version to publish it. The owner of a lens can share the lens with other Amazon Web Services accounts and IAM users in the same Amazon Web Services Region. Only the owner of a lens can delete it.
Synopsis
- data CreateLensVersion = CreateLensVersion' {}
- newCreateLensVersion :: Text -> Text -> Text -> CreateLensVersion
- createLensVersion_isMajorVersion :: Lens' CreateLensVersion (Maybe Bool)
- createLensVersion_lensAlias :: Lens' CreateLensVersion Text
- createLensVersion_lensVersion :: Lens' CreateLensVersion Text
- createLensVersion_clientRequestToken :: Lens' CreateLensVersion Text
- data CreateLensVersionResponse = CreateLensVersionResponse' {
- lensArn :: Maybe Text
- lensVersion :: Maybe Text
- httpStatus :: Int
- newCreateLensVersionResponse :: Int -> CreateLensVersionResponse
- createLensVersionResponse_lensArn :: Lens' CreateLensVersionResponse (Maybe Text)
- createLensVersionResponse_lensVersion :: Lens' CreateLensVersionResponse (Maybe Text)
- createLensVersionResponse_httpStatus :: Lens' CreateLensVersionResponse Int
Creating a Request
data CreateLensVersion Source #
See: newCreateLensVersion
smart constructor.
CreateLensVersion' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CreateLensVersion |
Create a value of CreateLensVersion
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:isMajorVersion:CreateLensVersion'
, createLensVersion_isMajorVersion
- Set to true if this new major lens version.
CreateLensVersion
, createLensVersion_lensAlias
- Undocumented member.
CreateLensVersion
, createLensVersion_lensVersion
- The version of the lens being created.
$sel:clientRequestToken:CreateLensVersion'
, createLensVersion_clientRequestToken
- Undocumented member.
Request Lenses
createLensVersion_isMajorVersion :: Lens' CreateLensVersion (Maybe Bool) Source #
Set to true if this new major lens version.
createLensVersion_lensAlias :: Lens' CreateLensVersion Text Source #
Undocumented member.
createLensVersion_lensVersion :: Lens' CreateLensVersion Text Source #
The version of the lens being created.
createLensVersion_clientRequestToken :: Lens' CreateLensVersion Text Source #
Undocumented member.
Destructuring the Response
data CreateLensVersionResponse Source #
See: newCreateLensVersionResponse
smart constructor.
CreateLensVersionResponse' | |
|
Instances
newCreateLensVersionResponse Source #
Create a value of CreateLensVersionResponse
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:
CreateLensVersionResponse
, createLensVersionResponse_lensArn
- The ARN for the lens.
CreateLensVersion
, createLensVersionResponse_lensVersion
- The version of the lens.
$sel:httpStatus:CreateLensVersionResponse'
, createLensVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createLensVersionResponse_lensArn :: Lens' CreateLensVersionResponse (Maybe Text) Source #
The ARN for the lens.
createLensVersionResponse_lensVersion :: Lens' CreateLensVersionResponse (Maybe Text) Source #
The version of the lens.
createLensVersionResponse_httpStatus :: Lens' CreateLensVersionResponse Int Source #
The response's http status code.