AWS SDK Version 3 for .NET
API Reference

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 CancelCluster operation. Cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status. You'll have at least an hour after creating a cluster job to cancel it.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Snowball.AmazonSnowballRequest
      Amazon.Snowball.Model.CancelClusterRequest

Namespace: Amazon.Snowball.Model
Assembly: AWSSDK.Snowball.dll
Version: 3.x.y.z

Syntax

C#
public class CancelClusterRequest : AmazonSnowballRequest
         IAmazonWebServiceRequest

The CancelClusterRequest type exposes the following members

Constructors

NameDescription
Public Method CancelClusterRequest()

Properties

NameTypeDescription
Public Property ClusterId System.String

Gets and sets the property ClusterId.

The 39-character ID for the cluster that you want to cancel, for example CID123e4567-e89b-12d3-a456-426655440000.

Examples

This operation cancels a cluster job. You can only cancel a cluster job while it's in the AwaitingQuorum status.

To cancel a cluster job


var client = new AmazonSnowballClient();
var response = client.CancelCluster(new CancelClusterRequest 
{
    ClusterId = "CID123e4567-e89b-12d3-a456-426655440000"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5