All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.signer.SignerClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Signer module holds the client classes that are used for communicating with Signer.

There is a newer version: 2.29.15
Show newest version
/*
 * 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.
 */

package software.amazon.awssdk.services.signer;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.signer.model.AccessDeniedException;
import software.amazon.awssdk.services.signer.model.AddProfilePermissionRequest;
import software.amazon.awssdk.services.signer.model.AddProfilePermissionResponse;
import software.amazon.awssdk.services.signer.model.BadRequestException;
import software.amazon.awssdk.services.signer.model.CancelSigningProfileRequest;
import software.amazon.awssdk.services.signer.model.CancelSigningProfileResponse;
import software.amazon.awssdk.services.signer.model.ConflictException;
import software.amazon.awssdk.services.signer.model.DescribeSigningJobRequest;
import software.amazon.awssdk.services.signer.model.DescribeSigningJobResponse;
import software.amazon.awssdk.services.signer.model.GetRevocationStatusRequest;
import software.amazon.awssdk.services.signer.model.GetRevocationStatusResponse;
import software.amazon.awssdk.services.signer.model.GetSigningPlatformRequest;
import software.amazon.awssdk.services.signer.model.GetSigningPlatformResponse;
import software.amazon.awssdk.services.signer.model.GetSigningProfileRequest;
import software.amazon.awssdk.services.signer.model.GetSigningProfileResponse;
import software.amazon.awssdk.services.signer.model.InternalServiceErrorException;
import software.amazon.awssdk.services.signer.model.ListProfilePermissionsRequest;
import software.amazon.awssdk.services.signer.model.ListProfilePermissionsResponse;
import software.amazon.awssdk.services.signer.model.ListSigningJobsRequest;
import software.amazon.awssdk.services.signer.model.ListSigningJobsResponse;
import software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest;
import software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse;
import software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest;
import software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse;
import software.amazon.awssdk.services.signer.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.signer.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.signer.model.NotFoundException;
import software.amazon.awssdk.services.signer.model.PutSigningProfileRequest;
import software.amazon.awssdk.services.signer.model.PutSigningProfileResponse;
import software.amazon.awssdk.services.signer.model.RemoveProfilePermissionRequest;
import software.amazon.awssdk.services.signer.model.RemoveProfilePermissionResponse;
import software.amazon.awssdk.services.signer.model.ResourceNotFoundException;
import software.amazon.awssdk.services.signer.model.RevokeSignatureRequest;
import software.amazon.awssdk.services.signer.model.RevokeSignatureResponse;
import software.amazon.awssdk.services.signer.model.RevokeSigningProfileRequest;
import software.amazon.awssdk.services.signer.model.RevokeSigningProfileResponse;
import software.amazon.awssdk.services.signer.model.ServiceLimitExceededException;
import software.amazon.awssdk.services.signer.model.SignPayloadRequest;
import software.amazon.awssdk.services.signer.model.SignPayloadResponse;
import software.amazon.awssdk.services.signer.model.SignerException;
import software.amazon.awssdk.services.signer.model.StartSigningJobRequest;
import software.amazon.awssdk.services.signer.model.StartSigningJobResponse;
import software.amazon.awssdk.services.signer.model.TagResourceRequest;
import software.amazon.awssdk.services.signer.model.TagResourceResponse;
import software.amazon.awssdk.services.signer.model.ThrottlingException;
import software.amazon.awssdk.services.signer.model.TooManyRequestsException;
import software.amazon.awssdk.services.signer.model.UntagResourceRequest;
import software.amazon.awssdk.services.signer.model.UntagResourceResponse;
import software.amazon.awssdk.services.signer.model.ValidationException;
import software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable;
import software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable;
import software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable;
import software.amazon.awssdk.services.signer.waiters.SignerWaiter;

/**
 * Service client for accessing signer. This can be created using the static {@link #builder()} method.
 *
 * 

* AWS Signer is a fully managed code-signing service to help you ensure the trust and integrity of your code. *

*

* 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 * Project, you can sign container images stored in a container registry such as Amazon Elastic Container Registry * (ECR). The signatures are stored in the registry alongside the images, where they are available for verifying image * authenticity and integrity. *

*

* For more information about Signer, see the AWS Signer Developer Guide. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface SignerClient extends AwsClient { String SERVICE_NAME = "signer"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "signer"; /** *

* Adds cross-account permissions to a signing profile. *

* * @param addProfilePermissionRequest * @return Result of the AddProfilePermission operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ServiceLimitExceededException * The client is making a request that exceeds service limits. * @throws ConflictException * The resource encountered a conflicting state. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.AddProfilePermission * @see AWS * API Documentation */ default AddProfilePermissionResponse addProfilePermission(AddProfilePermissionRequest addProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ServiceLimitExceededException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Adds cross-account permissions to a signing profile. *

*
*

* This is a convenience which creates an instance of the {@link AddProfilePermissionRequest.Builder} avoiding the * need to create one manually via {@link AddProfilePermissionRequest#builder()} *

* * @param addProfilePermissionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.AddProfilePermissionRequest.Builder} to create a * request. * @return Result of the AddProfilePermission operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ServiceLimitExceededException * The client is making a request that exceeds service limits. * @throws ConflictException * The resource encountered a conflicting state. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.AddProfilePermission * @see AWS * API Documentation */ default AddProfilePermissionResponse addProfilePermission( Consumer addProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ServiceLimitExceededException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return addProfilePermission(AddProfilePermissionRequest.builder().applyMutation(addProfilePermissionRequest).build()); } /** *

* 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. *

* * @param cancelSigningProfileRequest * @return Result of the CancelSigningProfile operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.CancelSigningProfile * @see AWS * API Documentation */ default CancelSigningProfileResponse cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link CancelSigningProfileRequest.Builder} avoiding the * need to create one manually via {@link CancelSigningProfileRequest#builder()} *

* * @param cancelSigningProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.CancelSigningProfileRequest.Builder} to create a * request. * @return Result of the CancelSigningProfile operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.CancelSigningProfile * @see AWS * API Documentation */ default CancelSigningProfileResponse cancelSigningProfile( Consumer cancelSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return cancelSigningProfile(CancelSigningProfileRequest.builder().applyMutation(cancelSigningProfileRequest).build()); } /** *

* Returns information about a specific code signing job. You specify the job by using the jobId value * that is returned by the StartSigningJob operation. *

* * @param describeSigningJobRequest * @return Result of the DescribeSigningJob operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.DescribeSigningJob * @see AWS API * Documentation */ default DescribeSigningJobResponse describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Returns information about a specific code signing job. You specify the job by using the jobId value * that is returned by the StartSigningJob operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeSigningJobRequest.Builder} avoiding the * need to create one manually via {@link DescribeSigningJobRequest#builder()} *

* * @param describeSigningJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.DescribeSigningJobRequest.Builder} to create a * request. * @return Result of the DescribeSigningJob operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.DescribeSigningJob * @see AWS API * Documentation */ default DescribeSigningJobResponse describeSigningJob(Consumer describeSigningJobRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return describeSigningJob(DescribeSigningJobRequest.builder().applyMutation(describeSigningJobRequest).build()); } /** *

* Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate. *

* * @param getRevocationStatusRequest * @return Result of the GetRevocationStatus operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.GetRevocationStatus * @see AWS * API Documentation */ default GetRevocationStatusResponse getRevocationStatus(GetRevocationStatusRequest getRevocationStatusRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate. *

*
*

* This is a convenience which creates an instance of the {@link GetRevocationStatusRequest.Builder} avoiding the * need to create one manually via {@link GetRevocationStatusRequest#builder()} *

* * @param getRevocationStatusRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.GetRevocationStatusRequest.Builder} to create a * request. * @return Result of the GetRevocationStatus operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.GetRevocationStatus * @see AWS * API Documentation */ default GetRevocationStatusResponse getRevocationStatus( Consumer getRevocationStatusRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return getRevocationStatus(GetRevocationStatusRequest.builder().applyMutation(getRevocationStatusRequest).build()); } /** *

* Returns information on a specific signing platform. *

* * @param getSigningPlatformRequest * @return Result of the GetSigningPlatform operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.GetSigningPlatform * @see AWS API * Documentation */ default GetSigningPlatformResponse getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Returns information on a specific signing platform. *

*
*

* This is a convenience which creates an instance of the {@link GetSigningPlatformRequest.Builder} avoiding the * need to create one manually via {@link GetSigningPlatformRequest#builder()} *

* * @param getSigningPlatformRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.GetSigningPlatformRequest.Builder} to create a * request. * @return Result of the GetSigningPlatform operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.GetSigningPlatform * @see AWS API * Documentation */ default GetSigningPlatformResponse getSigningPlatform(Consumer getSigningPlatformRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return getSigningPlatform(GetSigningPlatformRequest.builder().applyMutation(getSigningPlatformRequest).build()); } /** *

* Returns information on a specific signing profile. *

* * @param getSigningProfileRequest * @return Result of the GetSigningProfile operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.GetSigningProfile * @see AWS API * Documentation */ default GetSigningProfileResponse getSigningProfile(GetSigningProfileRequest getSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Returns information on a specific signing profile. *

*
*

* This is a convenience which creates an instance of the {@link GetSigningProfileRequest.Builder} avoiding the need * to create one manually via {@link GetSigningProfileRequest#builder()} *

* * @param getSigningProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.GetSigningProfileRequest.Builder} to create a request. * @return Result of the GetSigningProfile operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.GetSigningProfile * @see AWS API * Documentation */ default GetSigningProfileResponse getSigningProfile(Consumer getSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return getSigningProfile(GetSigningProfileRequest.builder().applyMutation(getSigningProfileRequest).build()); } /** *

* Lists the cross-account permissions associated with a signing profile. *

* * @param listProfilePermissionsRequest * @return Result of the ListProfilePermissions operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListProfilePermissions * @see AWS * API Documentation */ default ListProfilePermissionsResponse listProfilePermissions(ListProfilePermissionsRequest listProfilePermissionsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Lists the cross-account permissions associated with a signing profile. *

*
*

* This is a convenience which creates an instance of the {@link ListProfilePermissionsRequest.Builder} avoiding the * need to create one manually via {@link ListProfilePermissionsRequest#builder()} *

* * @param listProfilePermissionsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListProfilePermissionsRequest.Builder} to create a * request. * @return Result of the ListProfilePermissions operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListProfilePermissions * @see AWS * API Documentation */ default ListProfilePermissionsResponse listProfilePermissions( Consumer listProfilePermissionsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listProfilePermissions(ListProfilePermissionsRequest.builder().applyMutation(listProfilePermissionsRequest) .build()); } /** *

* 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, AWS Signer 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 Signer returns in the nextToken parameter until all of your * signing jobs have been returned. *

* * @param listSigningJobsRequest * @return Result of the ListSigningJobs operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningJobs * @see AWS API * Documentation */ default ListSigningJobsResponse listSigningJobs(ListSigningJobsRequest listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* 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, AWS Signer 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 Signer returns in the nextToken parameter until all of your * signing jobs have been returned. *

*
*

* This is a convenience which creates an instance of the {@link ListSigningJobsRequest.Builder} avoiding the need * to create one manually via {@link ListSigningJobsRequest#builder()} *

* * @param listSigningJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListSigningJobsRequest.Builder} to create a request. * @return Result of the ListSigningJobs operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningJobs * @see AWS API * Documentation */ default ListSigningJobsResponse listSigningJobs(Consumer listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningJobs(ListSigningJobsRequest.builder().applyMutation(listSigningJobsRequest).build()); } /** *

* 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, AWS Signer 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 Signer returns in the nextToken parameter until all of your * signing jobs have been returned. *

* * @return Result of the ListSigningJobs operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningJobs * @see #listSigningJobs(ListSigningJobsRequest) * @see AWS API * Documentation */ default ListSigningJobsResponse listSigningJobs() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningJobs(ListSigningJobsRequest.builder().build()); } /** *

* This is a variant of * {@link #listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client
     *             .listSigningJobsPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)} operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningJobs * @see #listSigningJobsPaginator(ListSigningJobsRequest) * @see AWS API * Documentation */ default ListSigningJobsIterable listSigningJobsPaginator() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningJobsPaginator(ListSigningJobsRequest.builder().build()); } /** *

* This is a variant of * {@link #listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client
     *             .listSigningJobsPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)} operation. *

* * @param listSigningJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningJobs * @see AWS API * Documentation */ default ListSigningJobsIterable listSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return new ListSigningJobsIterable(this, listSigningJobsRequest); } /** *

* This is a variant of * {@link #listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client
     *             .listSigningJobsPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSigningJobsRequest.Builder} avoiding the need * to create one manually via {@link ListSigningJobsRequest#builder()} *

* * @param listSigningJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListSigningJobsRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningJobs * @see AWS API * Documentation */ default ListSigningJobsIterable listSigningJobsPaginator(Consumer listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningJobsPaginator(ListSigningJobsRequest.builder().applyMutation(listSigningJobsRequest).build()); } /** *

* Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain * to be listed, Signer 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 Signer returns in the nextToken * parameter until all of your signing jobs have been returned. *

* * @param listSigningPlatformsRequest * @return Result of the ListSigningPlatforms operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningPlatforms * @see AWS * API Documentation */ default ListSigningPlatformsResponse listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain * to be listed, Signer 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 Signer returns in the nextToken * parameter until all of your signing jobs have been returned. *

*
*

* This is a convenience which creates an instance of the {@link ListSigningPlatformsRequest.Builder} avoiding the * need to create one manually via {@link ListSigningPlatformsRequest#builder()} *

* * @param listSigningPlatformsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest.Builder} to create a * request. * @return Result of the ListSigningPlatforms operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningPlatforms * @see AWS * API Documentation */ default ListSigningPlatformsResponse listSigningPlatforms( Consumer listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningPlatforms(ListSigningPlatformsRequest.builder().applyMutation(listSigningPlatformsRequest).build()); } /** *

* Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain * to be listed, Signer 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 Signer returns in the nextToken * parameter until all of your signing jobs have been returned. *

* * @return Result of the ListSigningPlatforms operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningPlatforms * @see #listSigningPlatforms(ListSigningPlatformsRequest) * @see AWS * API Documentation */ default ListSigningPlatformsResponse listSigningPlatforms() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningPlatforms(ListSigningPlatformsRequest.builder().build()); } /** *

* This is a variant of * {@link #listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client
     *             .listSigningPlatformsPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)} * operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningPlatforms * @see #listSigningPlatformsPaginator(ListSigningPlatformsRequest) * @see AWS * API Documentation */ default ListSigningPlatformsIterable listSigningPlatformsPaginator() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningPlatformsPaginator(ListSigningPlatformsRequest.builder().build()); } /** *

* This is a variant of * {@link #listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client
     *             .listSigningPlatformsPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)} * operation. *

* * @param listSigningPlatformsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningPlatforms * @see AWS * API Documentation */ default ListSigningPlatformsIterable listSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return new ListSigningPlatformsIterable(this, listSigningPlatformsRequest); } /** *

* This is a variant of * {@link #listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client
     *             .listSigningPlatformsPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSigningPlatformsRequest.Builder} avoiding the * need to create one manually via {@link ListSigningPlatformsRequest#builder()} *

* * @param listSigningPlatformsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningPlatforms * @see AWS * API Documentation */ default ListSigningPlatformsIterable listSigningPlatformsPaginator( Consumer listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningPlatformsPaginator(ListSigningPlatformsRequest.builder().applyMutation(listSigningPlatformsRequest) .build()); } /** *

* 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, AWS Signer 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 Signer returns in the nextToken * parameter until all of your signing jobs have been returned. *

* * @param listSigningProfilesRequest * @return Result of the ListSigningProfiles operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningProfiles * @see AWS * API Documentation */ default ListSigningProfilesResponse listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* 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, AWS Signer 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 Signer returns in the nextToken * parameter until all of your signing jobs have been returned. *

*
*

* This is a convenience which creates an instance of the {@link ListSigningProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListSigningProfilesRequest#builder()} *

* * @param listSigningProfilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest.Builder} to create a * request. * @return Result of the ListSigningProfiles operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningProfiles * @see AWS * API Documentation */ default ListSigningProfilesResponse listSigningProfiles( Consumer listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningProfiles(ListSigningProfilesRequest.builder().applyMutation(listSigningProfilesRequest).build()); } /** *

* 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, AWS Signer 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 Signer returns in the nextToken * parameter until all of your signing jobs have been returned. *

* * @return Result of the ListSigningProfiles operation returned by the service. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningProfiles * @see #listSigningProfiles(ListSigningProfilesRequest) * @see AWS * API Documentation */ default ListSigningProfilesResponse listSigningProfiles() throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningProfiles(ListSigningProfilesRequest.builder().build()); } /** *

* This is a variant of * {@link #listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client
     *             .listSigningProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)} * operation. *

* * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningProfiles * @see #listSigningProfilesPaginator(ListSigningProfilesRequest) * @see AWS * API Documentation */ default ListSigningProfilesIterable listSigningProfilesPaginator() throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningProfilesPaginator(ListSigningProfilesRequest.builder().build()); } /** *

* This is a variant of * {@link #listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client
     *             .listSigningProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)} * operation. *

* * @param listSigningProfilesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningProfiles * @see AWS * API Documentation */ default ListSigningProfilesIterable listSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return new ListSigningProfilesIterable(this, listSigningProfilesRequest); } /** *

* This is a variant of * {@link #listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client
     *             .listSigningProfilesPaginator(request);
     *     for (software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSigningProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListSigningProfilesRequest#builder()} *

* * @param listSigningProfilesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListSigningProfiles * @see AWS * API Documentation */ default ListSigningProfilesIterable listSigningProfilesPaginator( Consumer listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return listSigningProfilesPaginator(ListSigningProfilesRequest.builder().applyMutation(listSigningProfilesRequest) .build()); } /** *

* Returns a list of the tags associated with a signing profile resource. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServiceErrorException * An internal error occurred. * @throws BadRequestException * 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. * @throws NotFoundException * The signing profile was not found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Returns a list of the tags associated with a signing profile resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws InternalServiceErrorException * An internal error occurred. * @throws BadRequestException * 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. * @throws NotFoundException * The signing profile was not found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.ListTagsForResource * @see AWS * API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a * pre-defined signing job. *

* * @param putSigningProfileRequest * @return Result of the PutSigningProfile operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ValidationException * You signing certificate could not be validated. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.PutSigningProfile * @see AWS API * Documentation */ default PutSigningProfileResponse putSigningProfile(PutSigningProfileRequest putSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a * pre-defined signing job. *

*
*

* This is a convenience which creates an instance of the {@link PutSigningProfileRequest.Builder} avoiding the need * to create one manually via {@link PutSigningProfileRequest#builder()} *

* * @param putSigningProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.PutSigningProfileRequest.Builder} to create a request. * @return Result of the PutSigningProfile operation returned by the service. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ValidationException * You signing certificate could not be validated. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.PutSigningProfile * @see AWS API * Documentation */ default PutSigningProfileResponse putSigningProfile(Consumer putSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return putSigningProfile(PutSigningProfileRequest.builder().applyMutation(putSigningProfileRequest).build()); } /** *

* Removes cross-account permissions from a signing profile. *

* * @param removeProfilePermissionRequest * @return Result of the RemoveProfilePermission operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConflictException * The resource encountered a conflicting state. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.RemoveProfilePermission * @see AWS API Documentation */ default RemoveProfilePermissionResponse removeProfilePermission(RemoveProfilePermissionRequest removeProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Removes cross-account permissions from a signing profile. *

*
*

* This is a convenience which creates an instance of the {@link RemoveProfilePermissionRequest.Builder} avoiding * the need to create one manually via {@link RemoveProfilePermissionRequest#builder()} *

* * @param removeProfilePermissionRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.RemoveProfilePermissionRequest.Builder} to create a * request. * @return Result of the RemoveProfilePermission operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ConflictException * The resource encountered a conflicting state. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.RemoveProfilePermission * @see AWS API Documentation */ default RemoveProfilePermissionResponse removeProfilePermission( Consumer removeProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return removeProfilePermission(RemoveProfilePermissionRequest.builder().applyMutation(removeProfilePermissionRequest) .build()); } /** *

* Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid. *

* * @param revokeSignatureRequest * @return Result of the RevokeSignature operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.RevokeSignature * @see AWS API * Documentation */ default RevokeSignatureResponse revokeSignature(RevokeSignatureRequest revokeSignatureRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid. *

*
*

* This is a convenience which creates an instance of the {@link RevokeSignatureRequest.Builder} avoiding the need * to create one manually via {@link RevokeSignatureRequest#builder()} *

* * @param revokeSignatureRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.RevokeSignatureRequest.Builder} to create a request. * @return Result of the RevokeSignature operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.RevokeSignature * @see AWS API * Documentation */ default RevokeSignatureResponse revokeSignature(Consumer revokeSignatureRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return revokeSignature(RevokeSignatureRequest.builder().applyMutation(revokeSignatureRequest).build()); } /** *

* 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. *

* * @param revokeSigningProfileRequest * @return Result of the RevokeSigningProfile operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.RevokeSigningProfile * @see AWS * API Documentation */ default RevokeSigningProfileResponse revokeSigningProfile(RevokeSigningProfileRequest revokeSigningProfileRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link RevokeSigningProfileRequest.Builder} avoiding the * need to create one manually via {@link RevokeSigningProfileRequest#builder()} *

* * @param revokeSigningProfileRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.RevokeSigningProfileRequest.Builder} to create a * request. * @return Result of the RevokeSigningProfile operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.RevokeSigningProfile * @see AWS * API Documentation */ default RevokeSigningProfileResponse revokeSigningProfile( Consumer revokeSigningProfileRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return revokeSigningProfile(RevokeSigningProfileRequest.builder().applyMutation(revokeSigningProfileRequest).build()); } /** *

* Signs a binary payload and returns a signature envelope. *

* * @param signPayloadRequest * @return Result of the SignPayload operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.SignPayload * @see AWS API * Documentation */ default SignPayloadResponse signPayload(SignPayloadRequest signPayloadRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Signs a binary payload and returns a signature envelope. *

*
*

* This is a convenience which creates an instance of the {@link SignPayloadRequest.Builder} avoiding the need to * create one manually via {@link SignPayloadRequest#builder()} *

* * @param signPayloadRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.SignPayloadRequest.Builder} to create a request. * @return Result of the SignPayload operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.SignPayload * @see AWS API * Documentation */ default SignPayloadResponse signPayload(Consumer signPayloadRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return signPayload(SignPayloadRequest.builder().applyMutation(signPayloadRequest).build()); } /** *

* 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. AWS Signer 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 ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't * supported. *

    *
  • *
  • *

    * You must also specify a request token that identifies your request to Signer. *

    *
  • *
*

* 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. *

* * @param startSigningJobRequest * @return Result of the StartSigningJob operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling.

*

* Instead of this error, TooManyRequestsException should be used. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded. *

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.StartSigningJob * @see AWS API * Documentation */ default StartSigningJobResponse startSigningJob(StartSigningJobRequest startSigningJobRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* 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. AWS Signer 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 ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't * supported. *

    *
  • *
  • *

    * You must also specify a request token that identifies your request to Signer. *

    *
  • *
*

* 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. *

*
*

* This is a convenience which creates an instance of the {@link StartSigningJobRequest.Builder} avoiding the need * to create one manually via {@link StartSigningJobRequest#builder()} *

* * @param startSigningJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.StartSigningJobRequest.Builder} to create a request. * @return Result of the StartSigningJob operation returned by the service. * @throws ValidationException * You signing certificate could not be validated. * @throws ResourceNotFoundException * A specified resource could not be found. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ThrottlingException * The request was denied due to request throttling.

*

* Instead of this error, TooManyRequestsException should be used. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded. *

*

* This error supersedes the error ThrottlingException. * @throws InternalServiceErrorException * An internal error occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.StartSigningJob * @see AWS API * Documentation */ default StartSigningJobResponse startSigningJob(Consumer startSigningJobRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException { return startSigningJob(StartSigningJobRequest.builder().applyMutation(startSigningJobRequest).build()); } /** *

* 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. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws InternalServiceErrorException * An internal error occurred. * @throws BadRequestException * 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. * @throws NotFoundException * The signing profile was not found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* 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. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws InternalServiceErrorException * An internal error occurred. * @throws BadRequestException * 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. * @throws NotFoundException * The signing profile was not found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws InternalServiceErrorException * An internal error occurred. * @throws BadRequestException * 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. * @throws NotFoundException * The signing profile was not found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException { throw new UnsupportedOperationException(); } /** *

* Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.signer.model.UntagResourceRequest.Builder} to create a request. * @return Result of the UntagResource operation returned by the service. * @throws InternalServiceErrorException * An internal error occurred. * @throws BadRequestException * 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. * @throws NotFoundException * The signing profile was not found. * @throws TooManyRequestsException * The allowed number of job-signing requests has been exceeded.

*

* This error supersedes the error ThrottlingException. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws SignerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample SignerClient.UntagResource * @see AWS API * Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** * Create an instance of {@link SignerWaiter} using this client. *

* Waiters created via this method are managed by the SDK and resources will be released when the service client is * closed. * * @return an instance of {@link SignerWaiter} */ default SignerWaiter waiter() { throw new UnsupportedOperationException(); } /** * Create a {@link SignerClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static SignerClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link SignerClient}. */ static SignerClientBuilder builder() { return new DefaultSignerClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default SignerServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy