/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the snowball-2016-06-30.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.Snowball.Model; using Amazon.Snowball.Model.Internal.MarshallTransformations; using Amazon.Snowball.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Snowball { /// /// Implementation for accessing Snowball /// /// The Amazon Web Services Snow Family provides a petabyte-scale data transport solution /// that uses secure devices to transfer large amounts of data between your on-premises /// data centers and Amazon Simple Storage Service (Amazon S3). The Snow Family commands /// described here provide access to the same functionality that is available in the Amazon /// Web Services Snow Family Management Console, which enables you to create and manage /// jobs for a Snow Family device. To transfer data locally with a Snow Family device, /// you'll need to use the Snowball Edge client or the Amazon S3 API Interface for Snowball /// or OpsHub for Snow Family. For more information, see the User /// Guide. /// public partial class AmazonSnowballClient : AmazonServiceClient, IAmazonSnowball { private static IServiceMetadata serviceMetadata = new AmazonSnowballMetadata(); #region Constructors /// /// Constructs AmazonSnowballClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonSnowballClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSnowballConfig()) { } /// /// Constructs AmazonSnowballClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonSnowballClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonSnowballConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSnowballClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonSnowballClient Configuration Object public AmazonSnowballClient(AmazonSnowballConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonSnowballClient with AWS Credentials /// /// AWS Credentials public AmazonSnowballClient(AWSCredentials credentials) : this(credentials, new AmazonSnowballConfig()) { } /// /// Constructs AmazonSnowballClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonSnowballClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonSnowballConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSnowballClient with AWS Credentials and an /// AmazonSnowballClient Configuration object. /// /// AWS Credentials /// The AmazonSnowballClient Configuration Object public AmazonSnowballClient(AWSCredentials credentials, AmazonSnowballConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonSnowballClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonSnowballClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSnowballConfig()) { } /// /// Constructs AmazonSnowballClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonSnowballClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonSnowballConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonSnowballClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSnowballClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonSnowballClient Configuration Object public AmazonSnowballClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSnowballConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonSnowballClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonSnowballClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSnowballConfig()) { } /// /// Constructs AmazonSnowballClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonSnowballClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSnowballConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonSnowballClient with AWS Access Key ID, AWS Secret Key and an /// AmazonSnowballClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonSnowballClient Configuration Object public AmazonSnowballClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSnowballConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private ISnowballPaginatorFactory _paginators; /// /// Paginators for the service /// public ISnowballPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SnowballPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonSnowballEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CancelCluster internal virtual CancelClusterResponse CancelCluster(CancelClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// 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. /// /// Container for the necessary parameters to execute the CancelCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelCluster service method, as returned by Snowball. /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// The provided Key Management Service key lacks the permissions to perform the specified /// CreateJob or UpdateJob action. /// /// REST API Reference for CancelCluster Operation public virtual Task CancelClusterAsync(CancelClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelClusterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CancelJob internal virtual CancelJobResponse CancelJob(CancelJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Cancels the specified job. You can only cancel a job before its JobState /// value changes to PreparingAppliance. Requesting the ListJobs /// or DescribeJob action returns a job's JobState as part of /// the response element data returned. /// /// Container for the necessary parameters to execute the CancelJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CancelJob service method, as returned by Snowball. /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// The provided Key Management Service key lacks the permissions to perform the specified /// CreateJob or UpdateJob action. /// /// REST API Reference for CancelJob Operation public virtual Task CancelJobAsync(CancelJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CancelJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAddress internal virtual CreateAddressResponse CreateAddress(CreateAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an address for a Snow device to be shipped to. In most regions, addresses /// are validated at the time of creation. The address you provide must be located within /// the serviceable area of your region. If the address is invalid or unsupported, then /// an exception is thrown. /// /// Container for the necessary parameters to execute the CreateAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAddress service method, as returned by Snowball. /// /// The address provided was invalid. Check the address with your region's carrier, and /// try again. /// /// /// The address is either outside the serviceable area for your region, or an error occurred. /// Check the address with your region's carrier and try again. If the issue persists, /// contact Amazon Web Services Support. /// /// REST API Reference for CreateAddress Operation public virtual Task CreateAddressAsync(CreateAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateCluster internal virtual CreateClusterResponse CreateCluster(CreateClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an empty cluster. Each cluster supports five nodes. You use the CreateJob /// action separately to create the jobs for each of these nodes. The cluster does not /// ship until these five node jobs have been created. /// /// Container for the necessary parameters to execute the CreateCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateCluster service method, as returned by Snowball. /// /// Your user lacks the necessary Amazon EC2 permissions to perform the attempted action. /// /// /// Job or cluster creation failed. One or more inputs were invalid. Confirm that the /// CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, /// and try again. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// The provided Key Management Service key lacks the permissions to perform the specified /// CreateJob or UpdateJob action. /// /// REST API Reference for CreateCluster Operation public virtual Task CreateClusterAsync(CreateClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateClusterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateJob internal virtual CreateJobResponse CreateJob(CreateJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a job to import or export data between Amazon S3 and your on-premises data /// center. Your Amazon Web Services account must have the right trust policies and permissions /// in place to create a job for a Snow device. If you're creating a job for a node in /// a cluster, you only need to provide the clusterId value; the other job /// attributes are inherited from the cluster. /// /// /// /// Only the Snowball; Edge device type is supported when ordering clustered jobs. /// /// /// /// The device capacity is optional. /// /// /// /// Availability of device types differ by Amazon Web Services Region. For more information /// about Region availability, see Amazon /// Web Services Regional Services. /// ///

Snow Family devices and their capacities. /// ///

  • /// /// Device type: SNC1_SSD /// ///
    • /// /// Capacity: T14 /// ///
    • /// /// Description: Snowcone /// ///
  • /// /// Device type: SNC1_HDD /// ///
    • /// /// Capacity: T8 /// ///
    • /// /// Description: Snowcone /// ///
  • /// /// Device type: EDGE_S /// ///
    • /// /// Capacity: T98 /// ///
    • /// /// Description: Snowball Edge Storage Optimized for data transfer only /// ///
  • /// /// Device type: EDGE_CG /// ///
    • /// /// Capacity: T42 /// ///
    • /// /// Description: Snowball Edge Compute Optimized with GPU /// ///
  • /// /// Device type: EDGE_C /// ///
    • /// /// Capacity: T42 /// ///
    • /// /// Description: Snowball Edge Compute Optimized without GPU /// ///
  • /// /// Device type: EDGE /// ///
    • /// /// Capacity: T100 /// ///
    • /// /// Description: Snowball Edge Storage Optimized with EC2 Compute /// ///
    /// /// This device is replaced with T98. /// ///
  • /// /// Device type: STANDARD /// ///
    • /// /// Capacity: T50 /// ///
    • /// /// Description: Original Snowball device /// /// /// /// This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services /// Region /// ///
  • /// /// Device type: STANDARD /// ///
    • /// /// Capacity: T80 /// ///
    • /// /// Description: Original Snowball device /// /// /// /// This device is only available in the Ningxia, Beijing, and Singapore Amazon Web Services /// Region. /// ///
  • /// /// Snow Family device type: RACK_5U_C /// ///
    • /// /// Capacity: T13 /// ///
    • /// /// Description: Snowblade. /// ///
  • /// /// Device type: V3_5S /// ///
    • /// /// Capacity: T240 /// ///
    • /// /// Description: Snowball Edge Storage Optimized 210TB /// ///
///
/// Container for the necessary parameters to execute the CreateJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateJob service method, as returned by Snowball. /// /// Job creation failed. Currently, clusters support five nodes. If you have fewer than /// five nodes for your cluster and you have more nodes to create for this cluster, try /// again and create jobs until your cluster has exactly five nodes. /// /// /// Your user lacks the necessary Amazon EC2 permissions to perform the attempted action. /// /// /// Job or cluster creation failed. One or more inputs were invalid. Confirm that the /// CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, /// and try again. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// The provided Key Management Service key lacks the permissions to perform the specified /// CreateJob or UpdateJob action. /// /// REST API Reference for CreateJob Operation public virtual Task CreateJobAsync(CreateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateLongTermPricing internal virtual CreateLongTermPricingResponse CreateLongTermPricing(CreateLongTermPricingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLongTermPricingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLongTermPricingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a job with the long-term usage option for a device. The long-term usage is /// a 1-year or 3-year long-term pricing type for the device. You are billed upfront, /// and Amazon Web Services provides discounts for long-term pricing. /// /// Container for the necessary parameters to execute the CreateLongTermPricing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateLongTermPricing service method, as returned by Snowball. /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for CreateLongTermPricing Operation public virtual Task CreateLongTermPricingAsync(CreateLongTermPricingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLongTermPricingRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLongTermPricingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateReturnShippingLabel internal virtual CreateReturnShippingLabelResponse CreateReturnShippingLabel(CreateReturnShippingLabelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReturnShippingLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReturnShippingLabelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a shipping label that will be used to return the Snow device to Amazon Web /// Services. /// /// Container for the necessary parameters to execute the CreateReturnShippingLabel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateReturnShippingLabel service method, as returned by Snowball. /// /// You get this exception when you call CreateReturnShippingLabel more than /// once when other requests are not completed. /// /// /// Job or cluster creation failed. One or more inputs were invalid. Confirm that the /// CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, /// and try again. /// /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// You get this exception if you call CreateReturnShippingLabel and a valid /// return shipping label already exists. In this case, use DescribeReturnShippingLabel /// to get the URL. /// /// REST API Reference for CreateReturnShippingLabel Operation public virtual Task CreateReturnShippingLabelAsync(CreateReturnShippingLabelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateReturnShippingLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateReturnShippingLabelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAddress internal virtual DescribeAddressResponse DescribeAddress(DescribeAddressRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Takes an AddressId and returns specific details about that address in /// the form of an Address object. /// /// Container for the necessary parameters to execute the DescribeAddress service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAddress service method, as returned by Snowball. /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for DescribeAddress Operation public virtual Task DescribeAddressAsync(DescribeAddressRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAddresses internal virtual DescribeAddressesResponse DescribeAddresses(DescribeAddressesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a specified number of ADDRESS objects. Calling this API in one /// of the US regions will return addresses from the list of all addresses associated /// with this account in all US regions. /// /// Container for the necessary parameters to execute the DescribeAddresses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAddresses service method, as returned by Snowball. /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for DescribeAddresses Operation public virtual Task DescribeAddressesAsync(DescribeAddressesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAddressesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAddressesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeCluster internal virtual DescribeClusterResponse DescribeCluster(DescribeClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a specific cluster including shipping information, cluster /// status, and other important metadata. /// /// Container for the necessary parameters to execute the DescribeCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeCluster service method, as returned by Snowball. /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for DescribeCluster Operation public virtual Task DescribeClusterAsync(DescribeClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeClusterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeJob internal virtual DescribeJobResponse DescribeJob(DescribeJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about a specific job including shipping information, job status, /// and other important metadata. /// /// Container for the necessary parameters to execute the DescribeJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeJob service method, as returned by Snowball. /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for DescribeJob Operation public virtual Task DescribeJobAsync(DescribeJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeReturnShippingLabel internal virtual DescribeReturnShippingLabelResponse DescribeReturnShippingLabel(DescribeReturnShippingLabelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReturnShippingLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReturnShippingLabelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Information on the shipping label of a Snow device that is being returned to Amazon /// Web Services. /// /// Container for the necessary parameters to execute the DescribeReturnShippingLabel service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeReturnShippingLabel service method, as returned by Snowball. /// /// You get this exception when you call CreateReturnShippingLabel more than /// once when other requests are not completed. /// /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for DescribeReturnShippingLabel Operation public virtual Task DescribeReturnShippingLabelAsync(DescribeReturnShippingLabelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeReturnShippingLabelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeReturnShippingLabelResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetJobManifest internal virtual GetJobManifestResponse GetJobManifest(GetJobManifestRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobManifestRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobManifestResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a link to an Amazon S3 presigned URL for the manifest file associated with /// the specified JobId value. You can access the manifest file for up to /// 60 minutes after this request has been made. To access the manifest file after 60 /// minutes have passed, you'll have to make another call to the GetJobManifest /// action. /// /// /// /// The manifest is an encrypted file that you can download after your job enters the /// WithCustomer status. This is the only valid status for calling this API /// as the manifest and UnlockCode code value are used for securing your /// device and should only be used when you have the device. The manifest is decrypted /// by using the UnlockCode code value, when you pass both values to the /// Snow device through the Snowball client when the client is started for the first time. /// /// /// /// /// As a best practice, we recommend that you don't save a copy of an UnlockCode /// value in the same location as the manifest file for that job. Saving these separately /// helps prevent unauthorized parties from gaining access to the Snow device associated /// with that job. /// /// /// /// The credentials of a given job, including its manifest file and unlock code, expire /// 360 days after the job is created. /// /// /// Container for the necessary parameters to execute the GetJobManifest service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetJobManifest service method, as returned by Snowball. /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for GetJobManifest Operation public virtual Task GetJobManifestAsync(GetJobManifestRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobManifestRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobManifestResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetJobUnlockCode internal virtual GetJobUnlockCodeResponse GetJobUnlockCode(GetJobUnlockCodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobUnlockCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobUnlockCodeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the UnlockCode code value for the specified job. A particular /// UnlockCode value can be accessed for up to 360 days after the associated /// job has been created. /// /// /// /// The UnlockCode value is a 29-character code with 25 alphanumeric characters /// and 4 hyphens. This code is used to decrypt the manifest file when it is passed along /// with the manifest to the Snow device through the Snowball client when the client is /// started for the first time. The only valid status for calling this API is WithCustomer /// as the manifest and Unlock code values are used for securing your device /// and should only be used when you have the device. /// /// /// /// As a best practice, we recommend that you don't save a copy of the UnlockCode /// in the same location as the manifest file for that job. Saving these separately helps /// prevent unauthorized parties from gaining access to the Snow device associated with /// that job. /// /// /// Container for the necessary parameters to execute the GetJobUnlockCode service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetJobUnlockCode service method, as returned by Snowball. /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for GetJobUnlockCode Operation public virtual Task GetJobUnlockCodeAsync(GetJobUnlockCodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetJobUnlockCodeRequestMarshaller.Instance; options.ResponseUnmarshaller = GetJobUnlockCodeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSnowballUsage internal virtual GetSnowballUsageResponse GetSnowballUsage(GetSnowballUsageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSnowballUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSnowballUsageResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns information about the Snow Family service limit for your account, and also /// the number of Snow devices your account has in use. /// /// /// /// The default service limit for the number of Snow devices that you can have at one /// time is 1. If you want to increase your service limit, contact Amazon Web Services /// Support. /// /// /// Container for the necessary parameters to execute the GetSnowballUsage service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSnowballUsage service method, as returned by Snowball. /// REST API Reference for GetSnowballUsage Operation public virtual Task GetSnowballUsageAsync(GetSnowballUsageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSnowballUsageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSnowballUsageResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetSoftwareUpdates internal virtual GetSoftwareUpdatesResponse GetSoftwareUpdates(GetSoftwareUpdatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSoftwareUpdatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSoftwareUpdatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns an Amazon S3 presigned URL for an update file associated with a specified /// JobId. /// /// Container for the necessary parameters to execute the GetSoftwareUpdates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetSoftwareUpdates service method, as returned by Snowball. /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for GetSoftwareUpdates Operation public virtual Task GetSoftwareUpdatesAsync(GetSoftwareUpdatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetSoftwareUpdatesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSoftwareUpdatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListClusterJobs internal virtual ListClusterJobsResponse ListClusterJobs(ListClusterJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClusterJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClusterJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns an array of JobListEntry objects of the specified length. Each /// JobListEntry object is for a job in the specified cluster and contains /// a job's state, a job's ID, and other information. /// /// Container for the necessary parameters to execute the ListClusterJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListClusterJobs service method, as returned by Snowball. /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for ListClusterJobs Operation public virtual Task ListClusterJobsAsync(ListClusterJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListClusterJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClusterJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListClusters internal virtual ListClustersResponse ListClusters(ListClustersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListClustersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClustersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns an array of ClusterListEntry objects of the specified length. /// Each ClusterListEntry object contains a cluster's state, a cluster's /// ID, and other important status information. /// /// Container for the necessary parameters to execute the ListClusters service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListClusters service method, as returned by Snowball. /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// REST API Reference for ListClusters Operation public virtual Task ListClustersAsync(ListClustersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListClustersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListClustersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListCompatibleImages internal virtual ListCompatibleImagesResponse ListCompatibleImages(ListCompatibleImagesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCompatibleImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCompatibleImagesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This action returns a list of the different Amazon EC2-compatible Amazon Machine Images /// (AMIs) that are owned by your Amazon Web Services accountthat would be supported for /// use on a Snow device. Currently, supported AMIs are based on the Amazon Linux-2, Ubuntu /// 20.04 LTS - Focal, or Ubuntu 22.04 LTS - Jammy images, available on the Amazon Web /// Services Marketplace. Ubuntu 16.04 LTS - Xenial (HVM) images are no longer supported /// in the Market, but still supported for use on devices through Amazon EC2 VM Import/Export /// and running locally in AMIs. /// /// Container for the necessary parameters to execute the ListCompatibleImages service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListCompatibleImages service method, as returned by Snowball. /// /// Your user lacks the necessary Amazon EC2 permissions to perform the attempted action. /// /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// REST API Reference for ListCompatibleImages Operation public virtual Task ListCompatibleImagesAsync(ListCompatibleImagesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListCompatibleImagesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCompatibleImagesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListJobs internal virtual ListJobsResponse ListJobs(ListJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns an array of JobListEntry objects of the specified length. Each /// JobListEntry object contains a job's state, a job's ID, and a value that /// indicates whether the job is a job part, in the case of export jobs. Calling this /// API action in one of the US regions will return jobs from the list of all jobs associated /// with this account in all US regions. /// /// Container for the necessary parameters to execute the ListJobs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListJobs service method, as returned by Snowball. /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// REST API Reference for ListJobs Operation public virtual Task ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLongTermPricing internal virtual ListLongTermPricingResponse ListLongTermPricing(ListLongTermPricingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLongTermPricingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLongTermPricingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all long-term pricing types. /// /// Container for the necessary parameters to execute the ListLongTermPricing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLongTermPricing service method, as returned by Snowball. /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for ListLongTermPricing Operation public virtual Task ListLongTermPricingAsync(ListLongTermPricingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLongTermPricingRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLongTermPricingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPickupLocations internal virtual ListPickupLocationsResponse ListPickupLocations(ListPickupLocationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPickupLocationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPickupLocationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// A list of locations from which the customer can choose to pickup a device. /// /// Container for the necessary parameters to execute the ListPickupLocations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPickupLocations service method, as returned by Snowball. /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for ListPickupLocations Operation public virtual Task ListPickupLocationsAsync(ListPickupLocationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPickupLocationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPickupLocationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListServiceVersions internal virtual ListServiceVersionsResponse ListServiceVersions(ListServiceVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListServiceVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListServiceVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all supported versions for Snow on-device services. Returns an array of ServiceVersion /// object containing the supported versions for a particular service. /// /// Container for the necessary parameters to execute the ListServiceVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListServiceVersions service method, as returned by Snowball. /// /// The NextToken string was altered unexpectedly, and the operation has /// stopped. Run the operation without changing the NextToken string, and /// try again. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for ListServiceVersions Operation public virtual Task ListServiceVersionsAsync(ListServiceVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListServiceVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListServiceVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateCluster internal virtual UpdateClusterResponse UpdateCluster(UpdateClusterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClusterResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// While a cluster's ClusterState value is in the AwaitingQuorum /// state, you can update some of the information associated with a cluster. Once the /// cluster changes to a different job state, usually 60 minutes after the cluster being /// created, this action is no longer available. /// /// Container for the necessary parameters to execute the UpdateCluster service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateCluster service method, as returned by Snowball. /// /// Your user lacks the necessary Amazon EC2 permissions to perform the attempted action. /// /// /// Job or cluster creation failed. One or more inputs were invalid. Confirm that the /// CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, /// and try again. /// /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// The provided Key Management Service key lacks the permissions to perform the specified /// CreateJob or UpdateJob action. /// /// REST API Reference for UpdateCluster Operation public virtual Task UpdateClusterAsync(UpdateClusterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateClusterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateClusterResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateJob internal virtual UpdateJobResponse UpdateJob(UpdateJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// While a job's JobState value is New, you can update some /// of the information associated with a job. Once the job changes to a different job /// state, usually within 60 minutes of the job being created, this action is no longer /// available. /// /// Container for the necessary parameters to execute the UpdateJob service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateJob service method, as returned by Snowball. /// /// Job creation failed. Currently, clusters support five nodes. If you have fewer than /// five nodes for your cluster and you have more nodes to create for this cluster, try /// again and create jobs until your cluster has exactly five nodes. /// /// /// Your user lacks the necessary Amazon EC2 permissions to perform the attempted action. /// /// /// Job or cluster creation failed. One or more inputs were invalid. Confirm that the /// CreateClusterRequest$SnowballType value supports your CreateJobRequest$JobType, /// and try again. /// /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// /// The provided Key Management Service key lacks the permissions to perform the specified /// CreateJob or UpdateJob action. /// /// REST API Reference for UpdateJob Operation public virtual Task UpdateJobAsync(UpdateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateJobShipmentState internal virtual UpdateJobShipmentStateResponse UpdateJobShipmentState(UpdateJobShipmentStateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobShipmentStateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobShipmentStateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the state when a shipment state changes to a different state. /// /// Container for the necessary parameters to execute the UpdateJobShipmentState service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateJobShipmentState service method, as returned by Snowball. /// /// The action can't be performed because the job's current state doesn't allow that action /// to be performed. /// /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for UpdateJobShipmentState Operation public virtual Task UpdateJobShipmentStateAsync(UpdateJobShipmentStateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateJobShipmentStateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateJobShipmentStateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateLongTermPricing internal virtual UpdateLongTermPricingResponse UpdateLongTermPricing(UpdateLongTermPricingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLongTermPricingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLongTermPricingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the long-term pricing type. /// /// Container for the necessary parameters to execute the UpdateLongTermPricing service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateLongTermPricing service method, as returned by Snowball. /// /// The specified resource can't be found. Check the information you provided in your /// last request, and try again. /// /// REST API Reference for UpdateLongTermPricing Operation public virtual Task UpdateLongTermPricingAsync(UpdateLongTermPricingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLongTermPricingRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLongTermPricingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }