Values.CopyProjectVersionResponseSourceThis operation applies only to Amazon Rekognition Custom Labels. Copies a version of an Amazon Rekognition Custom Labels model from a source project to a destination project. The source and destination projects can be in different AWS accounts but must be in the same AWS Region. You can't copy a model to another AWS service. To copy a model version to a different AWS account, you need to create a resource-based policy known as a project policy. You attach the project policy to the source project by calling PutProjectPolicy. The project policy gives permission to copy the model version from a trusting AWS account to a trusted account. For more information creating and attaching a project policy, see Attaching a project policy (SDK) in the Amazon Rekognition Custom Labels Developer Guide. If you are copying a model version to a project in the same AWS account, you don't need to create a project policy. Copying project versions is supported only for Custom Labels models. To copy a model, the destination project, source project, and source model version must already exist. Copying a model version takes a while to complete. To get the current status, call DescribeProjectVersions and check the value of Status in the ProjectVersionDescription object. The copy operation has finished when the value of Status is COPYING_COMPLETED. This operation requires permissions to perform the rekognition:CopyProjectVersion action.
type nonrec t = {projectVersionArn : ProjectVersionArn.t option;The ARN of the copied model version in the destination project.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerError of InternalServerError.t| `InvalidParameterException of InvalidParameterException.t| `LimitExceededException of LimitExceededException.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `ResourceInUseException of ResourceInUseException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `LimitExceededException of unit
| `ProvisionedThroughputExceededException of unit
| `ResourceInUseException of unit
| `ResourceNotFoundException of unit
| `ServiceQuotaExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `LimitExceededException of unit
| `ProvisionedThroughputExceededException of unit
| `ResourceInUseException of unit
| `ResourceNotFoundException of unit
| `ServiceQuotaExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]