/*
* 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 signer-2017-08-25.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.Signer.Model;
using Amazon.Signer.Model.Internal.MarshallTransformations;
using Amazon.Signer.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Signer
{
///
/// Implementation for accessing Signer
///
/// AWS Signer is a fully managed code signing service to help you ensure the trust and
/// integrity of your code.
///
///
///
/// AWS Signer supports the following applications:
///
///
///
/// With code signing for AWS Lambda, you can sign AWS
/// Lambda deployment packages. Integrated support is provided for Amazon
/// S3, Amazon
/// CloudWatch, and AWS
/// CloudTrail. In order to sign code, you create a signing profile and then use Signer
/// to sign Lambda zip files in S3.
///
///
///
/// With code signing for IoT, you can sign code for any IoT device that is supported
/// by AWS. IoT code signing is available for Amazon
/// FreeRTOS and AWS
/// IoT Device Management, and is integrated with AWS
/// Certificate Manager (ACM). In order to sign code, you import a third-party code
/// signing certificate using ACM, and use that to sign updates in Amazon FreeRTOS and
/// AWS IoT Device Management.
///
///
///
/// With code signing for containers …(TBD)
///
///
///
/// For more information about AWS Signer, see the AWS
/// Signer Developer Guide.
///
///
public partial class AmazonSignerClient : AmazonServiceClient, IAmazonSigner
{
private static IServiceMetadata serviceMetadata = new AmazonSignerMetadata();
private ISignerPaginatorFactory _paginators;
///
/// Paginators for the service
///
public ISignerPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new SignerPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
///
/// Constructs AmazonSignerClient 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 AmazonSignerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSignerConfig()) { }
///
/// Constructs AmazonSignerClient 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 AmazonSignerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonSignerConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonSignerClient 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 AmazonSignerClient Configuration Object
public AmazonSignerClient(AmazonSignerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonSignerClient with AWS Credentials
///
/// AWS Credentials
public AmazonSignerClient(AWSCredentials credentials)
: this(credentials, new AmazonSignerConfig())
{
}
///
/// Constructs AmazonSignerClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonSignerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonSignerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSignerClient with AWS Credentials and an
/// AmazonSignerClient Configuration object.
///
/// AWS Credentials
/// The AmazonSignerClient Configuration Object
public AmazonSignerClient(AWSCredentials credentials, AmazonSignerConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonSignerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonSignerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSignerConfig())
{
}
///
/// Constructs AmazonSignerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonSignerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonSignerConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonSignerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSignerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonSignerClient Configuration Object
public AmazonSignerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonSignerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonSignerClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonSignerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSignerConfig())
{
}
///
/// Constructs AmazonSignerClient 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 AmazonSignerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonSignerConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonSignerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonSignerClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonSignerClient Configuration Object
public AmazonSignerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonSignerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonSignerEndpointResolver());
}
///
/// 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 AddProfilePermission
///
/// Adds cross-account permissions to a signing profile.
///
/// Container for the necessary parameters to execute the AddProfilePermission service method.
///
/// The response from the AddProfilePermission service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource encountered a conflicting state.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The client is making a request that exceeds service limits.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for AddProfilePermission Operation
public virtual AddProfilePermissionResponse AddProfilePermission(AddProfilePermissionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AddProfilePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddProfilePermissionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds cross-account permissions to a signing profile.
///
/// Container for the necessary parameters to execute the AddProfilePermission service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AddProfilePermission service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource encountered a conflicting state.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The client is making a request that exceeds service limits.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for AddProfilePermission Operation
public virtual Task AddProfilePermissionAsync(AddProfilePermissionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AddProfilePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = AddProfilePermissionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CancelSigningProfile
///
/// Changes the state of an ACTIVE
signing profile to CANCELED
.
/// A canceled profile is still viewable with the ListSigningProfiles
operation,
/// but it cannot perform new signing jobs, and is deleted two years after cancelation.
///
/// Container for the necessary parameters to execute the CancelSigningProfile service method.
///
/// The response from the CancelSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for CancelSigningProfile Operation
public virtual CancelSigningProfileResponse CancelSigningProfile(CancelSigningProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelSigningProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Changes the state of an ACTIVE
signing profile to CANCELED
.
/// A canceled profile is still viewable with the ListSigningProfiles
operation,
/// but it cannot perform new signing jobs, and is deleted two years after cancelation.
///
/// Container for the necessary parameters to execute the CancelSigningProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for CancelSigningProfile Operation
public virtual Task CancelSigningProfileAsync(CancelSigningProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelSigningProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSigningJob
///
/// Returns information about a specific code signing job. You specify the job by using
/// the jobId
value that is returned by the StartSigningJob operation.
///
/// Container for the necessary parameters to execute the DescribeSigningJob service method.
///
/// The response from the DescribeSigningJob service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for DescribeSigningJob Operation
public virtual DescribeSigningJobResponse DescribeSigningJob(DescribeSigningJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSigningJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSigningJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information about a specific code signing job. You specify the job by using
/// the jobId
value that is returned by the StartSigningJob operation.
///
/// Container for the necessary parameters to execute the DescribeSigningJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeSigningJob service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for DescribeSigningJob Operation
public virtual Task DescribeSigningJobAsync(DescribeSigningJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSigningJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSigningJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetRevocationStatus
///
/// Retrieves the revocation status of one or more of the signing profile, signing job,
/// and signing certificate.
///
/// Container for the necessary parameters to execute the GetRevocationStatus service method.
///
/// The response from the GetRevocationStatus service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for GetRevocationStatus Operation
public virtual GetRevocationStatusResponse GetRevocationStatus(GetRevocationStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRevocationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRevocationStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves the revocation status of one or more of the signing profile, signing job,
/// and signing certificate.
///
/// Container for the necessary parameters to execute the GetRevocationStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetRevocationStatus service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for GetRevocationStatus Operation
public virtual Task GetRevocationStatusAsync(GetRevocationStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetRevocationStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetRevocationStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSigningPlatform
///
/// Returns information on a specific signing platform.
///
/// Container for the necessary parameters to execute the GetSigningPlatform service method.
///
/// The response from the GetSigningPlatform service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for GetSigningPlatform Operation
public virtual GetSigningPlatformResponse GetSigningPlatform(GetSigningPlatformRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSigningPlatformRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSigningPlatformResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information on a specific signing platform.
///
/// Container for the necessary parameters to execute the GetSigningPlatform service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSigningPlatform service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for GetSigningPlatform Operation
public virtual Task GetSigningPlatformAsync(GetSigningPlatformRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSigningPlatformRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSigningPlatformResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSigningProfile
///
/// Returns information on a specific signing profile.
///
/// Container for the necessary parameters to execute the GetSigningProfile service method.
///
/// The response from the GetSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for GetSigningProfile Operation
public virtual GetSigningProfileResponse GetSigningProfile(GetSigningProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSigningProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns information on a specific signing profile.
///
/// Container for the necessary parameters to execute the GetSigningProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for GetSigningProfile Operation
public virtual Task GetSigningProfileAsync(GetSigningProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSigningProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListProfilePermissions
///
/// Lists the cross-account permissions associated with a signing profile.
///
/// Container for the necessary parameters to execute the ListProfilePermissions service method.
///
/// The response from the ListProfilePermissions service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for ListProfilePermissions Operation
public virtual ListProfilePermissionsResponse ListProfilePermissions(ListProfilePermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProfilePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProfilePermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the cross-account permissions associated with a signing profile.
///
/// Container for the necessary parameters to execute the ListProfilePermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListProfilePermissions service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for ListProfilePermissions Operation
public virtual Task ListProfilePermissionsAsync(ListProfilePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListProfilePermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListProfilePermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSigningJobs
///
/// Lists all your signing jobs. You can use the maxResults
parameter to
/// limit the number of signing jobs that are returned in the response. If additional
/// jobs remain to be listed, code signing returns a nextToken
value. Use
/// this value in subsequent calls to ListSigningJobs
to fetch the remaining
/// values. You can continue calling ListSigningJobs
with your maxResults
/// parameter and with new values that code signing returns in the nextToken
/// parameter until all of your signing jobs have been returned.
///
/// Container for the necessary parameters to execute the ListSigningJobs service method.
///
/// The response from the ListSigningJobs service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for ListSigningJobs Operation
public virtual ListSigningJobsResponse ListSigningJobs(ListSigningJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSigningJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSigningJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all your signing jobs. You can use the maxResults
parameter to
/// limit the number of signing jobs that are returned in the response. If additional
/// jobs remain to be listed, code signing returns a nextToken
value. Use
/// this value in subsequent calls to ListSigningJobs
to fetch the remaining
/// values. You can continue calling ListSigningJobs
with your maxResults
/// parameter and with new values that code signing returns in the nextToken
/// parameter until all of your signing jobs have been returned.
///
/// Container for the necessary parameters to execute the ListSigningJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSigningJobs service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for ListSigningJobs Operation
public virtual Task ListSigningJobsAsync(ListSigningJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSigningJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSigningJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSigningPlatforms
///
/// Lists all signing platforms available in code signing that match the request parameters.
/// If additional jobs remain to be listed, code signing returns a nextToken
/// value. Use this value in subsequent calls to ListSigningJobs
to fetch
/// the remaining values. You can continue calling ListSigningJobs
with your
/// maxResults
parameter and with new values that code signing returns in
/// the nextToken
parameter until all of your signing jobs have been returned.
///
/// Container for the necessary parameters to execute the ListSigningPlatforms service method.
///
/// The response from the ListSigningPlatforms service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for ListSigningPlatforms Operation
public virtual ListSigningPlatformsResponse ListSigningPlatforms(ListSigningPlatformsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSigningPlatformsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSigningPlatformsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all signing platforms available in code signing that match the request parameters.
/// If additional jobs remain to be listed, code signing returns a nextToken
/// value. Use this value in subsequent calls to ListSigningJobs
to fetch
/// the remaining values. You can continue calling ListSigningJobs
with your
/// maxResults
parameter and with new values that code signing returns in
/// the nextToken
parameter until all of your signing jobs have been returned.
///
/// Container for the necessary parameters to execute the ListSigningPlatforms service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSigningPlatforms service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for ListSigningPlatforms Operation
public virtual Task ListSigningPlatformsAsync(ListSigningPlatformsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSigningPlatformsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSigningPlatformsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListSigningProfiles
///
/// Lists all available signing profiles in your AWS account. Returns only profiles with
/// an ACTIVE
status unless the includeCanceled
request field
/// is set to true
. If additional jobs remain to be listed, code signing
/// returns a nextToken
value. Use this value in subsequent calls to ListSigningJobs
/// to fetch the remaining values. You can continue calling ListSigningJobs
/// with your maxResults
parameter and with new values that code signing
/// returns in the nextToken
parameter until all of your signing jobs have
/// been returned.
///
/// Container for the necessary parameters to execute the ListSigningProfiles service method.
///
/// The response from the ListSigningProfiles service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for ListSigningProfiles Operation
public virtual ListSigningProfilesResponse ListSigningProfiles(ListSigningProfilesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSigningProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSigningProfilesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all available signing profiles in your AWS account. Returns only profiles with
/// an ACTIVE
status unless the includeCanceled
request field
/// is set to true
. If additional jobs remain to be listed, code signing
/// returns a nextToken
value. Use this value in subsequent calls to ListSigningJobs
/// to fetch the remaining values. You can continue calling ListSigningJobs
/// with your maxResults
parameter and with new values that code signing
/// returns in the nextToken
parameter until all of your signing jobs have
/// been returned.
///
/// Container for the necessary parameters to execute the ListSigningProfiles service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListSigningProfiles service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for ListSigningProfiles Operation
public virtual Task ListSigningProfilesAsync(ListSigningProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSigningProfilesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSigningProfilesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
///
/// Returns a list of the tags associated with a signing profile resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Signer.
///
/// The request contains invalid parameters for the ARN or tags. This exception also occurs
/// when you call a tagging API on a cancelled signing profile.
///
///
/// An internal error occurred.
///
///
/// The signing profile was not found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns a list of the tags associated with a signing profile resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by Signer.
///
/// The request contains invalid parameters for the ARN or tags. This exception also occurs
/// when you call a tagging API on a cancelled signing profile.
///
///
/// An internal error occurred.
///
///
/// The signing profile was not found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutSigningProfile
///
/// Creates a signing profile. A signing profile is a code signing template that can be
/// used to carry out a pre-defined signing job.
///
/// Container for the necessary parameters to execute the PutSigningProfile service method.
///
/// The response from the PutSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for PutSigningProfile Operation
public virtual PutSigningProfileResponse PutSigningProfile(PutSigningProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutSigningProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a signing profile. A signing profile is a code signing template that can be
/// used to carry out a pre-defined signing job.
///
/// Container for the necessary parameters to execute the PutSigningProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for PutSigningProfile Operation
public virtual Task PutSigningProfileAsync(PutSigningProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutSigningProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RemoveProfilePermission
///
/// Removes cross-account permissions from a signing profile.
///
/// Container for the necessary parameters to execute the RemoveProfilePermission service method.
///
/// The response from the RemoveProfilePermission service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource encountered a conflicting state.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for RemoveProfilePermission Operation
public virtual RemoveProfilePermissionResponse RemoveProfilePermission(RemoveProfilePermissionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveProfilePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveProfilePermissionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes cross-account permissions from a signing profile.
///
/// Container for the necessary parameters to execute the RemoveProfilePermission service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RemoveProfilePermission service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// The resource encountered a conflicting state.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for RemoveProfilePermission Operation
public virtual Task RemoveProfilePermissionAsync(RemoveProfilePermissionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveProfilePermissionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveProfilePermissionResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RevokeSignature
///
/// Changes the state of a signing job to REVOKED. This indicates that the signature is
/// no longer valid.
///
/// Container for the necessary parameters to execute the RevokeSignature service method.
///
/// The response from the RevokeSignature service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for RevokeSignature Operation
public virtual RevokeSignatureResponse RevokeSignature(RevokeSignatureRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeSignatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeSignatureResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Changes the state of a signing job to REVOKED. This indicates that the signature is
/// no longer valid.
///
/// Container for the necessary parameters to execute the RevokeSignature service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RevokeSignature service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for RevokeSignature Operation
public virtual Task RevokeSignatureAsync(RevokeSignatureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeSignatureRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeSignatureResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RevokeSigningProfile
///
/// Changes the state of a signing profile to REVOKED. This indicates that signatures
/// generated using the signing profile after an effective start date are no longer valid.
///
/// Container for the necessary parameters to execute the RevokeSigningProfile service method.
///
/// The response from the RevokeSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for RevokeSigningProfile Operation
public virtual RevokeSigningProfileResponse RevokeSigningProfile(RevokeSigningProfileRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeSigningProfileResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Changes the state of a signing profile to REVOKED. This indicates that signatures
/// generated using the signing profile after an effective start date are no longer valid.
///
/// Container for the necessary parameters to execute the RevokeSigningProfile service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RevokeSigningProfile service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for RevokeSigningProfile Operation
public virtual Task RevokeSigningProfileAsync(RevokeSigningProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RevokeSigningProfileRequestMarshaller.Instance;
options.ResponseUnmarshaller = RevokeSigningProfileResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SignPayload
///
/// Signs a binary payload and returns a signature envelope.
///
/// Container for the necessary parameters to execute the SignPayload service method.
///
/// The response from the SignPayload service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for SignPayload Operation
public virtual SignPayloadResponse SignPayload(SignPayloadRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SignPayloadRequestMarshaller.Instance;
options.ResponseUnmarshaller = SignPayloadResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Signs a binary payload and returns a signature envelope.
///
/// Container for the necessary parameters to execute the SignPayload service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the SignPayload service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for SignPayload Operation
public virtual Task SignPayloadAsync(SignPayloadRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SignPayloadRequestMarshaller.Instance;
options.ResponseUnmarshaller = SignPayloadResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartSigningJob
///
/// Initiates a signing job to be performed on the code provided. Signing jobs are viewable
/// by the ListSigningJobs
operation for two years after they are performed.
/// Note the following requirements:
///
/// -
///
/// You must create an Amazon S3 source bucket. For more information, see Creating
/// a Bucket in the Amazon S3 Getting Started Guide.
///
///
-
///
/// Your S3 source bucket must be version enabled.
///
///
-
///
/// You must create an S3 destination bucket. Code signing uses your S3 destination bucket
/// to write your signed code.
///
///
-
///
/// You specify the name of the source and destination buckets when calling the
StartSigningJob
/// operation.
///
/// -
///
/// You must also specify a request token that identifies your request to code signing.
///
///
///
/// You can call the DescribeSigningJob and the ListSigningJobs actions
/// after you call StartSigningJob
.
///
///
///
/// For a Java example that shows how to use this action, see StartSigningJob.
///
///
/// Container for the necessary parameters to execute the StartSigningJob service method.
///
/// The response from the StartSigningJob service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The request was denied due to request throttling.
///
///
///
/// Instead of this error, TooManyRequestsException
should be used.
///
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for StartSigningJob Operation
public virtual StartSigningJobResponse StartSigningJob(StartSigningJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSigningJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSigningJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates a signing job to be performed on the code provided. Signing jobs are viewable
/// by the ListSigningJobs
operation for two years after they are performed.
/// Note the following requirements:
///
/// -
///
/// You must create an Amazon S3 source bucket. For more information, see Creating
/// a Bucket in the Amazon S3 Getting Started Guide.
///
///
-
///
/// Your S3 source bucket must be version enabled.
///
///
-
///
/// You must create an S3 destination bucket. Code signing uses your S3 destination bucket
/// to write your signed code.
///
///
-
///
/// You specify the name of the source and destination buckets when calling the
StartSigningJob
/// operation.
///
/// -
///
/// You must also specify a request token that identifies your request to code signing.
///
///
///
/// You can call the DescribeSigningJob and the ListSigningJobs actions
/// after you call StartSigningJob
.
///
///
///
/// For a Java example that shows how to use this action, see StartSigningJob.
///
///
/// Container for the necessary parameters to execute the StartSigningJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartSigningJob service method, as returned by Signer.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error occurred.
///
///
/// A specified resource could not be found.
///
///
/// The request was denied due to request throttling.
///
///
///
/// Instead of this error, TooManyRequestsException
should be used.
///
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
///
/// You signing certificate could not be validated.
///
/// REST API Reference for StartSigningJob Operation
public virtual Task StartSigningJobAsync(StartSigningJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSigningJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSigningJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
///
/// Adds one or more tags to a signing profile. Tags are labels that you can use to identify
/// and organize your AWS resources. Each tag consists of a key and an optional value.
/// To specify the signing profile, use its Amazon Resource Name (ARN). To specify the
/// tag, use a key-value pair.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Signer.
///
/// The request contains invalid parameters for the ARN or tags. This exception also occurs
/// when you call a tagging API on a cancelled signing profile.
///
///
/// An internal error occurred.
///
///
/// The signing profile was not found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds one or more tags to a signing profile. Tags are labels that you can use to identify
/// and organize your AWS resources. Each tag consists of a key and an optional value.
/// To specify the signing profile, use its Amazon Resource Name (ARN). To specify the
/// tag, use a key-value pair.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by Signer.
///
/// The request contains invalid parameters for the ARN or tags. This exception also occurs
/// when you call a tagging API on a cancelled signing profile.
///
///
/// An internal error occurred.
///
///
/// The signing profile was not found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
///
/// Removes one or more tags from a signing profile. To remove the tags, specify a list
/// of tag keys.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Signer.
///
/// The request contains invalid parameters for the ARN or tags. This exception also occurs
/// when you call a tagging API on a cancelled signing profile.
///
///
/// An internal error occurred.
///
///
/// The signing profile was not found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes one or more tags from a signing profile. To remove the tags, specify a list
/// of tag keys.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by Signer.
///
/// The request contains invalid parameters for the ARN or tags. This exception also occurs
/// when you call a tagging API on a cancelled signing profile.
///
///
/// An internal error occurred.
///
///
/// The signing profile was not found.
///
///
/// The allowed number of job-signing requests has been exceeded.
///
///
///
/// This error supersedes the error ThrottlingException
.
///
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}