AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StopProjectVersion operation.
This operation applies only to Amazon Rekognition Custom Labels.
Stops a running model. The operation might take a while to complete. To check the current status, call DescribeProjectVersions. Only applies to Custom Labels projects.
This operation requires permissions to perform the rekognition:StopProjectVersion
action.
Namespace: Amazon.Rekognition.Model
Assembly: AWSSDK.Rekognition.dll
Version: 3.x.y.z
public class StopProjectVersionRequest : AmazonRekognitionRequest IAmazonWebServiceRequest
The StopProjectVersionRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
StopProjectVersionRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
ProjectVersionArn | System.String |
Gets and sets the property ProjectVersionArn. The Amazon Resource Name (ARN) of the model version that you want to stop.
This operation requires permissions to perform the |
Stops a version of an Amazon Rekognition Custom Labels model.
var client = new AmazonRekognitionClient();
var response = client.StopProjectVersion(new StopProjectVersionRequest
{
ProjectVersionArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-project/version/1/1690556751958"
});
string status = response.Status;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5