/*
* 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 Amazon.Runtime;
using Amazon.Signer.Model;
namespace Amazon.Signer
{
///
/// Interface 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 interface IAmazonSigner : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
ISignerPaginatorFactory Paginators { get; }
#endif
#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
AddProfilePermissionResponse AddProfilePermission(AddProfilePermissionRequest request);
///
/// 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
IAsyncResult BeginAddProfilePermission(AddProfilePermissionRequest request, AsyncCallback callback, object 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
AddProfilePermissionResponse EndAddProfilePermission(IAsyncResult 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
CancelSigningProfileResponse CancelSigningProfile(CancelSigningProfileRequest request);
///
/// 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
IAsyncResult BeginCancelSigningProfile(CancelSigningProfileRequest request, AsyncCallback callback, object 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
CancelSigningProfileResponse EndCancelSigningProfile(IAsyncResult 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
DescribeSigningJobResponse DescribeSigningJob(DescribeSigningJobRequest request);
///
/// 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
IAsyncResult BeginDescribeSigningJob(DescribeSigningJobRequest request, AsyncCallback callback, object 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
DescribeSigningJobResponse EndDescribeSigningJob(IAsyncResult 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
GetRevocationStatusResponse GetRevocationStatus(GetRevocationStatusRequest request);
///
/// 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
IAsyncResult BeginGetRevocationStatus(GetRevocationStatusRequest request, AsyncCallback callback, object 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
GetRevocationStatusResponse EndGetRevocationStatus(IAsyncResult 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
GetSigningPlatformResponse GetSigningPlatform(GetSigningPlatformRequest request);
///
/// 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
IAsyncResult BeginGetSigningPlatform(GetSigningPlatformRequest request, AsyncCallback callback, object 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
GetSigningPlatformResponse EndGetSigningPlatform(IAsyncResult 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
GetSigningProfileResponse GetSigningProfile(GetSigningProfileRequest request);
///
/// 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
IAsyncResult BeginGetSigningProfile(GetSigningProfileRequest request, AsyncCallback callback, object 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
GetSigningProfileResponse EndGetSigningProfile(IAsyncResult 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
ListProfilePermissionsResponse ListProfilePermissions(ListProfilePermissionsRequest request);
///
/// 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
IAsyncResult BeginListProfilePermissions(ListProfilePermissionsRequest request, AsyncCallback callback, object 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
ListProfilePermissionsResponse EndListProfilePermissions(IAsyncResult 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
ListSigningJobsResponse ListSigningJobs(ListSigningJobsRequest request);
///
/// 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
IAsyncResult BeginListSigningJobs(ListSigningJobsRequest request, AsyncCallback callback, object 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
ListSigningJobsResponse EndListSigningJobs(IAsyncResult 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
ListSigningPlatformsResponse ListSigningPlatforms(ListSigningPlatformsRequest request);
///
/// 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
IAsyncResult BeginListSigningPlatforms(ListSigningPlatformsRequest request, AsyncCallback callback, object 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
ListSigningPlatformsResponse EndListSigningPlatforms(IAsyncResult 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
ListSigningProfilesResponse ListSigningProfiles(ListSigningProfilesRequest request);
///
/// 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
IAsyncResult BeginListSigningProfiles(ListSigningProfilesRequest request, AsyncCallback callback, object 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
ListSigningProfilesResponse EndListSigningProfiles(IAsyncResult 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
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
///
/// 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
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object 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
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult 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
PutSigningProfileResponse PutSigningProfile(PutSigningProfileRequest request);
///
/// 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
IAsyncResult BeginPutSigningProfile(PutSigningProfileRequest request, AsyncCallback callback, object 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
PutSigningProfileResponse EndPutSigningProfile(IAsyncResult 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
RemoveProfilePermissionResponse RemoveProfilePermission(RemoveProfilePermissionRequest request);
///
/// 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
IAsyncResult BeginRemoveProfilePermission(RemoveProfilePermissionRequest request, AsyncCallback callback, object 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
RemoveProfilePermissionResponse EndRemoveProfilePermission(IAsyncResult 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
RevokeSignatureResponse RevokeSignature(RevokeSignatureRequest request);
///
/// 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
IAsyncResult BeginRevokeSignature(RevokeSignatureRequest request, AsyncCallback callback, object 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
RevokeSignatureResponse EndRevokeSignature(IAsyncResult 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
RevokeSigningProfileResponse RevokeSigningProfile(RevokeSigningProfileRequest request);
///
/// 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
IAsyncResult BeginRevokeSigningProfile(RevokeSigningProfileRequest request, AsyncCallback callback, object 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
RevokeSigningProfileResponse EndRevokeSigningProfile(IAsyncResult 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
SignPayloadResponse SignPayload(SignPayloadRequest request);
///
/// 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
IAsyncResult BeginSignPayload(SignPayloadRequest request, AsyncCallback callback, object 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
SignPayloadResponse EndSignPayload(IAsyncResult 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
StartSigningJobResponse StartSigningJob(StartSigningJobRequest request);
///
/// 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
IAsyncResult BeginStartSigningJob(StartSigningJobRequest request, AsyncCallback callback, object 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
StartSigningJobResponse EndStartSigningJob(IAsyncResult 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
TagResourceResponse TagResource(TagResourceRequest request);
///
/// 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
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object 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
TagResourceResponse EndTagResource(IAsyncResult 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
UntagResourceResponse UntagResource(UntagResourceRequest request);
///
/// 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
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object 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
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
}
}