Use this operation to publish a new lens version after you have imported a lens. The LensAlias
is used to identify the lens to be published.
The owner of a lens can share the lens with other
Amazon Web Services accounts and users in the same Amazon Web Services Region. Only the owner of a lens can delete it.
Example
Use a bare-bones client and the command you need to make an API call.
Create a new lens version.
A lens can have up to 100 versions.
Use this operation to publish a new lens version after you have imported a lens. The
LensAlias
is used to identify the lens to be published. The owner of a lens can share the lens with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Only the owner of a lens can delete it.Example
Use a bare-bones client and the command you need to make an API call.
Param
CreateLensVersionCommandInput
Returns
CreateLensVersionCommandOutput
See
input
shape.response
shape.config
shape.Throws
AccessDeniedException (client fault)
User does not have sufficient access to perform this action.
Throws
ConflictException (client fault)
The resource has already been processed, was deleted, or is too large.
Throws
InternalServerException (server fault)
There is a problem with the Well-Architected Tool API service.
Throws
ResourceNotFoundException (client fault)
The requested resource was not found.
Throws
ServiceQuotaExceededException (client fault)
The user has reached their resource quota.
Throws
ThrottlingException (client fault)
Request was denied due to request throttling.
Throws
ValidationException (client fault)
The user input is not valid.
Throws
WellArchitectedServiceException
Base exception class for all service exceptions from WellArchitected service.