Interface SignerClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
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.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AddProfilePermissionResponse
addProfilePermission
(Consumer<AddProfilePermissionRequest.Builder> addProfilePermissionRequest) Adds cross-account permissions to a signing profile.default AddProfilePermissionResponse
addProfilePermission
(AddProfilePermissionRequest addProfilePermissionRequest) Adds cross-account permissions to a signing profile.static SignerClientBuilder
builder()
Create a builder that can be used to configure and create aSignerClient
.default CancelSigningProfileResponse
cancelSigningProfile
(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest) Changes the state of anACTIVE
signing profile toCANCELED
.default CancelSigningProfileResponse
cancelSigningProfile
(CancelSigningProfileRequest cancelSigningProfileRequest) Changes the state of anACTIVE
signing profile toCANCELED
.static SignerClient
create()
Create aSignerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default DescribeSigningJobResponse
describeSigningJob
(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest) Returns information about a specific code signing job.default DescribeSigningJobResponse
describeSigningJob
(DescribeSigningJobRequest describeSigningJobRequest) Returns information about a specific code signing job.default GetRevocationStatusResponse
getRevocationStatus
(Consumer<GetRevocationStatusRequest.Builder> getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.default GetRevocationStatusResponse
getRevocationStatus
(GetRevocationStatusRequest getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.default GetSigningPlatformResponse
getSigningPlatform
(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest) Returns information on a specific signing platform.default GetSigningPlatformResponse
getSigningPlatform
(GetSigningPlatformRequest getSigningPlatformRequest) Returns information on a specific signing platform.default GetSigningProfileResponse
getSigningProfile
(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest) Returns information on a specific signing profile.default GetSigningProfileResponse
getSigningProfile
(GetSigningProfileRequest getSigningProfileRequest) Returns information on a specific signing profile.default ListProfilePermissionsResponse
listProfilePermissions
(Consumer<ListProfilePermissionsRequest.Builder> listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.default ListProfilePermissionsResponse
listProfilePermissions
(ListProfilePermissionsRequest listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.default ListSigningJobsResponse
Lists all your signing jobs.default ListSigningJobsResponse
listSigningJobs
(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) Lists all your signing jobs.default ListSigningJobsResponse
listSigningJobs
(ListSigningJobsRequest listSigningJobsRequest) Lists all your signing jobs.default ListSigningJobsIterable
This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.default ListSigningJobsIterable
listSigningJobsPaginator
(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.default ListSigningJobsIterable
listSigningJobsPaginator
(ListSigningJobsRequest listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.default ListSigningPlatformsResponse
Lists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsResponse
listSigningPlatforms
(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsResponse
listSigningPlatforms
(ListSigningPlatformsRequest listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsIterable
This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.default ListSigningPlatformsIterable
listSigningPlatformsPaginator
(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.default ListSigningPlatformsIterable
listSigningPlatformsPaginator
(ListSigningPlatformsRequest listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.default ListSigningProfilesResponse
Lists all available signing profiles in your AWS account.default ListSigningProfilesResponse
listSigningProfiles
(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) Lists all available signing profiles in your AWS account.default ListSigningProfilesResponse
listSigningProfiles
(ListSigningProfilesRequest listSigningProfilesRequest) Lists all available signing profiles in your AWS account.default ListSigningProfilesIterable
This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.default ListSigningProfilesIterable
listSigningProfilesPaginator
(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.default ListSigningProfilesIterable
listSigningProfilesPaginator
(ListSigningProfilesRequest listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.default PutSigningProfileResponse
putSigningProfile
(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest) Creates a signing profile.default PutSigningProfileResponse
putSigningProfile
(PutSigningProfileRequest putSigningProfileRequest) Creates a signing profile.default RemoveProfilePermissionResponse
removeProfilePermission
(Consumer<RemoveProfilePermissionRequest.Builder> removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.default RemoveProfilePermissionResponse
removeProfilePermission
(RemoveProfilePermissionRequest removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.default RevokeSignatureResponse
revokeSignature
(Consumer<RevokeSignatureRequest.Builder> revokeSignatureRequest) Changes the state of a signing job to REVOKED.default RevokeSignatureResponse
revokeSignature
(RevokeSignatureRequest revokeSignatureRequest) Changes the state of a signing job to REVOKED.default RevokeSigningProfileResponse
revokeSigningProfile
(Consumer<RevokeSigningProfileRequest.Builder> revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED.default RevokeSigningProfileResponse
revokeSigningProfile
(RevokeSigningProfileRequest revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED.default SignerServiceClientConfiguration
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default SignPayloadResponse
signPayload
(Consumer<SignPayloadRequest.Builder> signPayloadRequest) Signs a binary payload and returns a signature envelope.default SignPayloadResponse
signPayload
(SignPayloadRequest signPayloadRequest) Signs a binary payload and returns a signature envelope.default StartSigningJobResponse
startSigningJob
(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest) Initiates a signing job to be performed on the code provided.default StartSigningJobResponse
startSigningJob
(StartSigningJobRequest startSigningJobRequest) Initiates a signing job to be performed on the code provided.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a signing profile.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds one or more tags to a signing profile.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a signing profile.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags from a signing profile.default SignerWaiter
waiter()
Create an instance ofSignerWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
addProfilePermission
default AddProfilePermissionResponse addProfilePermission(AddProfilePermissionRequest addProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ServiceLimitExceededException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Adds cross-account permissions to a signing profile.
- Parameters:
addProfilePermissionRequest
-- Returns:
- Result of the AddProfilePermission operation returned by the service.
- See Also:
-
addProfilePermission
default AddProfilePermissionResponse addProfilePermission(Consumer<AddProfilePermissionRequest.Builder> addProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ServiceLimitExceededException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Adds cross-account permissions to a signing profile.
This is a convenience which creates an instance of the
AddProfilePermissionRequest.Builder
avoiding the need to create one manually viaAddProfilePermissionRequest.builder()
- Parameters:
addProfilePermissionRequest
- AConsumer
that will call methods onAddProfilePermissionRequest.Builder
to create a request.- Returns:
- Result of the AddProfilePermission operation returned by the service.
- See Also:
-
cancelSigningProfile
default CancelSigningProfileResponse cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Changes the state of an
ACTIVE
signing profile toCANCELED
. A canceled profile is still viewable with theListSigningProfiles
operation, but it cannot perform new signing jobs, and is deleted two years after cancelation.- Parameters:
cancelSigningProfileRequest
-- Returns:
- Result of the CancelSigningProfile operation returned by the service.
- See Also:
-
cancelSigningProfile
default CancelSigningProfileResponse cancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Changes the state of an
ACTIVE
signing profile toCANCELED
. A canceled profile is still viewable with theListSigningProfiles
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
CancelSigningProfileRequest.Builder
avoiding the need to create one manually viaCancelSigningProfileRequest.builder()
- Parameters:
cancelSigningProfileRequest
- AConsumer
that will call methods onCancelSigningProfileRequest.Builder
to create a request.- Returns:
- Result of the CancelSigningProfile operation returned by the service.
- See Also:
-
describeSigningJob
default DescribeSigningJobResponse describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Returns information about a specific code signing job. You specify the job by using the
jobId
value that is returned by the StartSigningJob operation.- Parameters:
describeSigningJobRequest
-- Returns:
- Result of the DescribeSigningJob operation returned by the service.
- See Also:
-
describeSigningJob
default DescribeSigningJobResponse describeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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
DescribeSigningJobRequest.Builder
avoiding the need to create one manually viaDescribeSigningJobRequest.builder()
- Parameters:
describeSigningJobRequest
- AConsumer
that will call methods onDescribeSigningJobRequest.Builder
to create a request.- Returns:
- Result of the DescribeSigningJob operation returned by the service.
- See Also:
-
getRevocationStatus
default GetRevocationStatusResponse getRevocationStatus(GetRevocationStatusRequest getRevocationStatusRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.
- Parameters:
getRevocationStatusRequest
-- Returns:
- Result of the GetRevocationStatus operation returned by the service.
- See Also:
-
getRevocationStatus
default GetRevocationStatusResponse getRevocationStatus(Consumer<GetRevocationStatusRequest.Builder> getRevocationStatusRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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
GetRevocationStatusRequest.Builder
avoiding the need to create one manually viaGetRevocationStatusRequest.builder()
- Parameters:
getRevocationStatusRequest
- AConsumer
that will call methods onGetRevocationStatusRequest.Builder
to create a request.- Returns:
- Result of the GetRevocationStatus operation returned by the service.
- See Also:
-
getSigningPlatform
default GetSigningPlatformResponse getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Returns information on a specific signing platform.
- Parameters:
getSigningPlatformRequest
-- Returns:
- Result of the GetSigningPlatform operation returned by the service.
- See Also:
-
getSigningPlatform
default GetSigningPlatformResponse getSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Returns information on a specific signing platform.
This is a convenience which creates an instance of the
GetSigningPlatformRequest.Builder
avoiding the need to create one manually viaGetSigningPlatformRequest.builder()
- Parameters:
getSigningPlatformRequest
- AConsumer
that will call methods onGetSigningPlatformRequest.Builder
to create a request.- Returns:
- Result of the GetSigningPlatform operation returned by the service.
- See Also:
-
getSigningProfile
default GetSigningProfileResponse getSigningProfile(GetSigningProfileRequest getSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Returns information on a specific signing profile.
- Parameters:
getSigningProfileRequest
-- Returns:
- Result of the GetSigningProfile operation returned by the service.
- See Also:
-
getSigningProfile
default GetSigningProfileResponse getSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Returns information on a specific signing profile.
This is a convenience which creates an instance of the
GetSigningProfileRequest.Builder
avoiding the need to create one manually viaGetSigningProfileRequest.builder()
- Parameters:
getSigningProfileRequest
- AConsumer
that will call methods onGetSigningProfileRequest.Builder
to create a request.- Returns:
- Result of the GetSigningProfile operation returned by the service.
- See Also:
-
listProfilePermissions
default ListProfilePermissionsResponse listProfilePermissions(ListProfilePermissionsRequest listProfilePermissionsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Lists the cross-account permissions associated with a signing profile.
- Parameters:
listProfilePermissionsRequest
-- Returns:
- Result of the ListProfilePermissions operation returned by the service.
- See Also:
-
listProfilePermissions
default ListProfilePermissionsResponse listProfilePermissions(Consumer<ListProfilePermissionsRequest.Builder> listProfilePermissionsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Lists the cross-account permissions associated with a signing profile.
This is a convenience which creates an instance of the
ListProfilePermissionsRequest.Builder
avoiding the need to create one manually viaListProfilePermissionsRequest.builder()
- Parameters:
listProfilePermissionsRequest
- AConsumer
that will call methods onListProfilePermissionsRequest.Builder
to create a request.- Returns:
- Result of the ListProfilePermissions operation returned by the service.
- See Also:
-
listSigningJobs
default ListSigningJobsResponse listSigningJobs(ListSigningJobsRequest listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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 anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Parameters:
listSigningJobsRequest
-- Returns:
- Result of the ListSigningJobs operation returned by the service.
- See Also:
-
listSigningJobs
default ListSigningJobsResponse listSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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 anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningJobsRequest.Builder
avoiding the need to create one manually viaListSigningJobsRequest.builder()
- Parameters:
listSigningJobsRequest
- AConsumer
that will call methods onListSigningJobsRequest.Builder
to create a request.- Returns:
- Result of the ListSigningJobs operation returned by the service.
- See Also:
-
listSigningJobs
default ListSigningJobsResponse listSigningJobs() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerExceptionLists 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 anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Returns:
- Result of the ListSigningJobs operation returned by the service.
- See Also:
-
listSigningJobsPaginator
default ListSigningJobsIterable listSigningJobsPaginator() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerExceptionThis is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningJobsPaginator
default ListSigningJobsIterable listSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException This is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.- Parameters:
listSigningJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningJobsPaginator
default ListSigningJobsIterable listSigningJobsPaginator(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException This is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningJobsIterable responses = client.listSigningJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.
This is a convenience which creates an instance of the
ListSigningJobsRequest.Builder
avoiding the need to create one manually viaListSigningJobsRequest.builder()
- Parameters:
listSigningJobsRequest
- AConsumer
that will call methods onListSigningJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningPlatforms
default ListSigningPlatformsResponse listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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 toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Parameters:
listSigningPlatformsRequest
-- Returns:
- Result of the ListSigningPlatforms operation returned by the service.
- See Also:
-
listSigningPlatforms
default ListSigningPlatformsResponse listSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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 toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningPlatformsRequest.Builder
avoiding the need to create one manually viaListSigningPlatformsRequest.builder()
- Parameters:
listSigningPlatformsRequest
- AConsumer
that will call methods onListSigningPlatformsRequest.Builder
to create a request.- Returns:
- Result of the ListSigningPlatforms operation returned by the service.
- See Also:
-
listSigningPlatforms
default ListSigningPlatformsResponse listSigningPlatforms() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerExceptionLists 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 toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Returns:
- Result of the ListSigningPlatforms operation returned by the service.
- See Also:
-
listSigningPlatformsPaginator
default ListSigningPlatformsIterable listSigningPlatformsPaginator() throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerExceptionThis is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningPlatformsPaginator
default ListSigningPlatformsIterable listSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException This is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.- Parameters:
listSigningPlatformsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningPlatformsPaginator
default ListSigningPlatformsIterable listSigningPlatformsPaginator(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) throws ValidationException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException This is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningPlatformsIterable responses = client.listSigningPlatformsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.
This is a convenience which creates an instance of the
ListSigningPlatformsRequest.Builder
avoiding the need to create one manually viaListSigningPlatformsRequest.builder()
- Parameters:
listSigningPlatformsRequest
- AConsumer
that will call methods onListSigningPlatformsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningProfiles
default ListSigningProfilesResponse listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Lists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVE
status unless theincludeCanceled
request field is set totrue
. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Parameters:
listSigningProfilesRequest
-- Returns:
- Result of the ListSigningProfiles operation returned by the service.
- See Also:
-
listSigningProfiles
default ListSigningProfilesResponse listSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Lists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVE
status unless theincludeCanceled
request field is set totrue
. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningProfilesRequest.Builder
avoiding the need to create one manually viaListSigningProfilesRequest.builder()
- Parameters:
listSigningProfilesRequest
- AConsumer
that will call methods onListSigningProfilesRequest.Builder
to create a request.- Returns:
- Result of the ListSigningProfiles operation returned by the service.
- See Also:
-
listSigningProfiles
default ListSigningProfilesResponse listSigningProfiles() throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerExceptionLists all available signing profiles in your AWS account. Returns only profiles with an
ACTIVE
status unless theincludeCanceled
request field is set totrue
. If additional jobs remain to be listed, AWS Signer returns anextToken
value. Use this value in subsequent calls toListSigningJobs
to fetch the remaining values. You can continue callingListSigningJobs
with yourmaxResults
parameter and with new values that Signer returns in thenextToken
parameter until all of your signing jobs have been returned.- Returns:
- Result of the ListSigningProfiles operation returned by the service.
- See Also:
-
listSigningProfilesPaginator
default ListSigningProfilesIterable listSigningProfilesPaginator() throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerExceptionThis is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningProfilesPaginator
default ListSigningProfilesIterable listSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException This is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.- Parameters:
listSigningProfilesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSigningProfilesPaginator
default ListSigningProfilesIterable listSigningProfilesPaginator(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) throws AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException This is a variant of
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 Streamsoftware.amazon.awssdk.services.signer.paginators.ListSigningProfilesIterable responses = client.listSigningProfilesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.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
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.
This is a convenience which creates an instance of the
ListSigningProfilesRequest.Builder
avoiding the need to create one manually viaListSigningProfilesRequest.builder()
- Parameters:
listSigningProfilesRequest
- AConsumer
that will call methods onListSigningProfilesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException Returns a list of the tags associated with a signing profile resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException Returns a list of the tags associated with a signing profile resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putSigningProfile
default PutSigningProfileResponse putSigningProfile(PutSigningProfileRequest putSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Creates a signing profile. A signing profile is a code-signing template that can be used to carry out a pre-defined signing job.
- Parameters:
putSigningProfileRequest
-- Returns:
- Result of the PutSigningProfile operation returned by the service.
- See Also:
-
putSigningProfile
default PutSigningProfileResponse putSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest) throws ResourceNotFoundException, AccessDeniedException, ValidationException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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
PutSigningProfileRequest.Builder
avoiding the need to create one manually viaPutSigningProfileRequest.builder()
- Parameters:
putSigningProfileRequest
- AConsumer
that will call methods onPutSigningProfileRequest.Builder
to create a request.- Returns:
- Result of the PutSigningProfile operation returned by the service.
- See Also:
-
removeProfilePermission
default RemoveProfilePermissionResponse removeProfilePermission(RemoveProfilePermissionRequest removeProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Removes cross-account permissions from a signing profile.
- Parameters:
removeProfilePermissionRequest
-- Returns:
- Result of the RemoveProfilePermission operation returned by the service.
- See Also:
-
removeProfilePermission
default RemoveProfilePermissionResponse removeProfilePermission(Consumer<RemoveProfilePermissionRequest.Builder> removeProfilePermissionRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ConflictException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Removes cross-account permissions from a signing profile.
This is a convenience which creates an instance of the
RemoveProfilePermissionRequest.Builder
avoiding the need to create one manually viaRemoveProfilePermissionRequest.builder()
- Parameters:
removeProfilePermissionRequest
- AConsumer
that will call methods onRemoveProfilePermissionRequest.Builder
to create a request.- Returns:
- Result of the RemoveProfilePermission operation returned by the service.
- See Also:
-
revokeSignature
default RevokeSignatureResponse revokeSignature(RevokeSignatureRequest revokeSignatureRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
- Parameters:
revokeSignatureRequest
-- Returns:
- Result of the RevokeSignature operation returned by the service.
- See Also:
-
revokeSignature
default RevokeSignatureResponse revokeSignature(Consumer<RevokeSignatureRequest.Builder> revokeSignatureRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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
RevokeSignatureRequest.Builder
avoiding the need to create one manually viaRevokeSignatureRequest.builder()
- Parameters:
revokeSignatureRequest
- AConsumer
that will call methods onRevokeSignatureRequest.Builder
to create a request.- Returns:
- Result of the RevokeSignature operation returned by the service.
- See Also:
-
revokeSigningProfile
default RevokeSigningProfileResponse revokeSigningProfile(RevokeSigningProfileRequest revokeSigningProfileRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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.
- Parameters:
revokeSigningProfileRequest
-- Returns:
- Result of the RevokeSigningProfile operation returned by the service.
- See Also:
-
revokeSigningProfile
default RevokeSigningProfileResponse revokeSigningProfile(Consumer<RevokeSigningProfileRequest.Builder> revokeSigningProfileRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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
RevokeSigningProfileRequest.Builder
avoiding the need to create one manually viaRevokeSigningProfileRequest.builder()
- Parameters:
revokeSigningProfileRequest
- AConsumer
that will call methods onRevokeSigningProfileRequest.Builder
to create a request.- Returns:
- Result of the RevokeSigningProfile operation returned by the service.
- See Also:
-
signPayload
default SignPayloadResponse signPayload(SignPayloadRequest signPayloadRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Signs a binary payload and returns a signature envelope.
- Parameters:
signPayloadRequest
-- Returns:
- Result of the SignPayload operation returned by the service.
- See Also:
-
signPayload
default SignPayloadResponse signPayload(Consumer<SignPayloadRequest.Builder> signPayloadRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException Signs a binary payload and returns a signature envelope.
This is a convenience which creates an instance of the
SignPayloadRequest.Builder
avoiding the need to create one manually viaSignPayloadRequest.builder()
- Parameters:
signPayloadRequest
- AConsumer
that will call methods onSignPayloadRequest.Builder
to create a request.- Returns:
- Result of the SignPayload operation returned by the service.
- See Also:
-
startSigningJob
default StartSigningJobResponse startSigningJob(StartSigningJobRequest startSigningJobRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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 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.
- Parameters:
startSigningJobRequest
-- Returns:
- Result of the StartSigningJob operation returned by the service.
- See Also:
-
-
startSigningJob
default StartSigningJobResponse startSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, TooManyRequestsException, InternalServiceErrorException, AwsServiceException, SdkClientException, SignerException 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 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
StartSigningJobRequest.Builder
avoiding the need to create one manually viaStartSigningJobRequest.builder()
- Parameters:
startSigningJobRequest
- AConsumer
that will call methods onStartSigningJobRequest.Builder
to create a request.- Returns:
- Result of the StartSigningJob operation returned by the service.
- See Also:
-
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException 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.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException 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
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServiceErrorException, BadRequestException, NotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, SignerException 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
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
waiter
Create an instance ofSignerWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
SignerWaiter
-
create
Create aSignerClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSignerClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-