Values.AddLayerVersionPermissionResponseSourceAdds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.
type nonrec error = [ | `InvalidParameterValueException of InvalidParameterValueException.t| `PolicyLengthExceededException of PolicyLengthExceededException.t| `PreconditionFailedException of PreconditionFailedException.t| `ResourceConflictException of ResourceConflictException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceException of ServiceException.t| `TooManyRequestsException of TooManyRequestsException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidParameterValueException of InvalidParameterValueException.t
| `PolicyLengthExceededException of PolicyLengthExceededException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `ResourceConflictException of ResourceConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceException of ServiceException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidParameterValueException of InvalidParameterValueException.t
| `PolicyLengthExceededException of PolicyLengthExceededException.t
| `PreconditionFailedException of PreconditionFailedException.t
| `ResourceConflictException of ResourceConflictException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ServiceException of ServiceException.t
| `TooManyRequestsException of TooManyRequestsException.t
| `Unknown_operation_error of string * string option ]