/* * 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.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(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private ISignerPaginatorFactory _paginators; /// /// Paginators for the service /// public ISignerPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new SignerPaginatorFactory(this); } return this._paginators; } } #endif #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); } /// /// Initiates the asynchronous execution of the AddProfilePermission operation. /// /// /// Container for the necessary parameters to execute the AddProfilePermission operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAddProfilePermission /// operation. /// REST API Reference for AddProfilePermission Operation public virtual IAsyncResult BeginAddProfilePermission(AddProfilePermissionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AddProfilePermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = AddProfilePermissionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AddProfilePermission operation. /// /// /// The IAsyncResult returned by the call to BeginAddProfilePermission. /// /// Returns a AddProfilePermissionResult from Signer. /// REST API Reference for AddProfilePermission Operation public virtual AddProfilePermissionResponse EndAddProfilePermission(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the CancelSigningProfile operation. /// /// /// Container for the necessary parameters to execute the CancelSigningProfile operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelSigningProfile /// operation. /// REST API Reference for CancelSigningProfile Operation public virtual IAsyncResult BeginCancelSigningProfile(CancelSigningProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CancelSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CancelSigningProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CancelSigningProfile operation. /// /// /// The IAsyncResult returned by the call to BeginCancelSigningProfile. /// /// Returns a CancelSigningProfileResult from Signer. /// REST API Reference for CancelSigningProfile Operation public virtual CancelSigningProfileResponse EndCancelSigningProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the DescribeSigningJob operation. /// /// /// Container for the necessary parameters to execute the DescribeSigningJob operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSigningJob /// operation. /// REST API Reference for DescribeSigningJob Operation public virtual IAsyncResult BeginDescribeSigningJob(DescribeSigningJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSigningJobRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSigningJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSigningJob operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSigningJob. /// /// Returns a DescribeSigningJobResult from Signer. /// REST API Reference for DescribeSigningJob Operation public virtual DescribeSigningJobResponse EndDescribeSigningJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetRevocationStatus operation. /// /// /// Container for the necessary parameters to execute the GetRevocationStatus operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetRevocationStatus /// operation. /// REST API Reference for GetRevocationStatus Operation public virtual IAsyncResult BeginGetRevocationStatus(GetRevocationStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetRevocationStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetRevocationStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetRevocationStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetRevocationStatus. /// /// Returns a GetRevocationStatusResult from Signer. /// REST API Reference for GetRevocationStatus Operation public virtual GetRevocationStatusResponse EndGetRevocationStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetSigningPlatform operation. /// /// /// Container for the necessary parameters to execute the GetSigningPlatform operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSigningPlatform /// operation. /// REST API Reference for GetSigningPlatform Operation public virtual IAsyncResult BeginGetSigningPlatform(GetSigningPlatformRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSigningPlatformRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSigningPlatformResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSigningPlatform operation. /// /// /// The IAsyncResult returned by the call to BeginGetSigningPlatform. /// /// Returns a GetSigningPlatformResult from Signer. /// REST API Reference for GetSigningPlatform Operation public virtual GetSigningPlatformResponse EndGetSigningPlatform(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the GetSigningProfile operation. /// /// /// Container for the necessary parameters to execute the GetSigningProfile operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSigningProfile /// operation. /// REST API Reference for GetSigningProfile Operation public virtual IAsyncResult BeginGetSigningProfile(GetSigningProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSigningProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSigningProfile operation. /// /// /// The IAsyncResult returned by the call to BeginGetSigningProfile. /// /// Returns a GetSigningProfileResult from Signer. /// REST API Reference for GetSigningProfile Operation public virtual GetSigningProfileResponse EndGetSigningProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListProfilePermissions operation. /// /// /// Container for the necessary parameters to execute the ListProfilePermissions operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListProfilePermissions /// operation. /// REST API Reference for ListProfilePermissions Operation public virtual IAsyncResult BeginListProfilePermissions(ListProfilePermissionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListProfilePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListProfilePermissionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListProfilePermissions operation. /// /// /// The IAsyncResult returned by the call to BeginListProfilePermissions. /// /// Returns a ListProfilePermissionsResult from Signer. /// REST API Reference for ListProfilePermissions Operation public virtual ListProfilePermissionsResponse EndListProfilePermissions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSigningJobs operation. /// /// /// Container for the necessary parameters to execute the ListSigningJobs operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSigningJobs /// operation. /// REST API Reference for ListSigningJobs Operation public virtual IAsyncResult BeginListSigningJobs(ListSigningJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSigningJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSigningJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSigningJobs operation. /// /// /// The IAsyncResult returned by the call to BeginListSigningJobs. /// /// Returns a ListSigningJobsResult from Signer. /// REST API Reference for ListSigningJobs Operation public virtual ListSigningJobsResponse EndListSigningJobs(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSigningPlatforms operation. /// /// /// Container for the necessary parameters to execute the ListSigningPlatforms operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSigningPlatforms /// operation. /// REST API Reference for ListSigningPlatforms Operation public virtual IAsyncResult BeginListSigningPlatforms(ListSigningPlatformsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSigningPlatformsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSigningPlatformsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSigningPlatforms operation. /// /// /// The IAsyncResult returned by the call to BeginListSigningPlatforms. /// /// Returns a ListSigningPlatformsResult from Signer. /// REST API Reference for ListSigningPlatforms Operation public virtual ListSigningPlatformsResponse EndListSigningPlatforms(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListSigningProfiles operation. /// /// /// Container for the necessary parameters to execute the ListSigningProfiles operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSigningProfiles /// operation. /// REST API Reference for ListSigningProfiles Operation public virtual IAsyncResult BeginListSigningProfiles(ListSigningProfilesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSigningProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSigningProfilesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSigningProfiles operation. /// /// /// The IAsyncResult returned by the call to BeginListSigningProfiles. /// /// Returns a ListSigningProfilesResult from Signer. /// REST API Reference for ListSigningProfiles Operation public virtual ListSigningProfilesResponse EndListSigningProfiles(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from Signer. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the PutSigningProfile operation. /// /// /// Container for the necessary parameters to execute the PutSigningProfile operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutSigningProfile /// operation. /// REST API Reference for PutSigningProfile Operation public virtual IAsyncResult BeginPutSigningProfile(PutSigningProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = PutSigningProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutSigningProfile operation. /// /// /// The IAsyncResult returned by the call to BeginPutSigningProfile. /// /// Returns a PutSigningProfileResult from Signer. /// REST API Reference for PutSigningProfile Operation public virtual PutSigningProfileResponse EndPutSigningProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the RemoveProfilePermission operation. /// /// /// Container for the necessary parameters to execute the RemoveProfilePermission operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRemoveProfilePermission /// operation. /// REST API Reference for RemoveProfilePermission Operation public virtual IAsyncResult BeginRemoveProfilePermission(RemoveProfilePermissionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveProfilePermissionRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveProfilePermissionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RemoveProfilePermission operation. /// /// /// The IAsyncResult returned by the call to BeginRemoveProfilePermission. /// /// Returns a RemoveProfilePermissionResult from Signer. /// REST API Reference for RemoveProfilePermission Operation public virtual RemoveProfilePermissionResponse EndRemoveProfilePermission(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the RevokeSignature operation. /// /// /// Container for the necessary parameters to execute the RevokeSignature operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRevokeSignature /// operation. /// REST API Reference for RevokeSignature Operation public virtual IAsyncResult BeginRevokeSignature(RevokeSignatureRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeSignatureRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeSignatureResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RevokeSignature operation. /// /// /// The IAsyncResult returned by the call to BeginRevokeSignature. /// /// Returns a RevokeSignatureResult from Signer. /// REST API Reference for RevokeSignature Operation public virtual RevokeSignatureResponse EndRevokeSignature(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the RevokeSigningProfile operation. /// /// /// Container for the necessary parameters to execute the RevokeSigningProfile operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRevokeSigningProfile /// operation. /// REST API Reference for RevokeSigningProfile Operation public virtual IAsyncResult BeginRevokeSigningProfile(RevokeSigningProfileRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RevokeSigningProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = RevokeSigningProfileResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RevokeSigningProfile operation. /// /// /// The IAsyncResult returned by the call to BeginRevokeSigningProfile. /// /// Returns a RevokeSigningProfileResult from Signer. /// REST API Reference for RevokeSigningProfile Operation public virtual RevokeSigningProfileResponse EndRevokeSigningProfile(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the SignPayload operation. /// /// /// Container for the necessary parameters to execute the SignPayload operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSignPayload /// operation. /// REST API Reference for SignPayload Operation public virtual IAsyncResult BeginSignPayload(SignPayloadRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SignPayloadRequestMarshaller.Instance; options.ResponseUnmarshaller = SignPayloadResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SignPayload operation. /// /// /// The IAsyncResult returned by the call to BeginSignPayload. /// /// Returns a SignPayloadResult from Signer. /// REST API Reference for SignPayload Operation public virtual SignPayloadResponse EndSignPayload(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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 the asynchronous execution of the StartSigningJob operation. /// /// /// Container for the necessary parameters to execute the StartSigningJob operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartSigningJob /// operation. /// REST API Reference for StartSigningJob Operation public virtual IAsyncResult BeginStartSigningJob(StartSigningJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartSigningJobRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSigningJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartSigningJob operation. /// /// /// The IAsyncResult returned by the call to BeginStartSigningJob. /// /// Returns a StartSigningJobResult from Signer. /// REST API Reference for StartSigningJob Operation public virtual StartSigningJobResponse EndStartSigningJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from Signer. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #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); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonSignerClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from Signer. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }