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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AddProfilePermissionResponseaddProfilePermission(Consumer<AddProfilePermissionRequest.Builder> addProfilePermissionRequest) Adds cross-account permissions to a signing profile.default AddProfilePermissionResponseaddProfilePermission(AddProfilePermissionRequest addProfilePermissionRequest) Adds cross-account permissions to a signing profile.static SignerClientBuilderbuilder()Create a builder that can be used to configure and create aSignerClient.default CancelSigningProfileResponsecancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest) Changes the state of anACTIVEsigning profile toCANCELED.default CancelSigningProfileResponsecancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest) Changes the state of anACTIVEsigning profile toCANCELED.static SignerClientcreate()Create aSignerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default DescribeSigningJobResponsedescribeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest) Returns information about a specific code signing job.default DescribeSigningJobResponsedescribeSigningJob(DescribeSigningJobRequest describeSigningJobRequest) Returns information about a specific code signing job.default GetRevocationStatusResponsegetRevocationStatus(Consumer<GetRevocationStatusRequest.Builder> getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.default GetRevocationStatusResponsegetRevocationStatus(GetRevocationStatusRequest getRevocationStatusRequest) Retrieves the revocation status of one or more of the signing profile, signing job, and signing certificate.default GetSigningPlatformResponsegetSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest) Returns information on a specific signing platform.default GetSigningPlatformResponsegetSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest) Returns information on a specific signing platform.default GetSigningProfileResponsegetSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest) Returns information on a specific signing profile.default GetSigningProfileResponsegetSigningProfile(GetSigningProfileRequest getSigningProfileRequest) Returns information on a specific signing profile.default ListProfilePermissionsResponselistProfilePermissions(Consumer<ListProfilePermissionsRequest.Builder> listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.default ListProfilePermissionsResponselistProfilePermissions(ListProfilePermissionsRequest listProfilePermissionsRequest) Lists the cross-account permissions associated with a signing profile.default ListSigningJobsResponseLists all your signing jobs.default ListSigningJobsResponselistSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) Lists all your signing jobs.default ListSigningJobsResponselistSigningJobs(ListSigningJobsRequest listSigningJobsRequest) Lists all your signing jobs.default ListSigningJobsIterableThis is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)operation.default ListSigningJobsIterablelistSigningJobsPaginator(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)operation.default ListSigningJobsIterablelistSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest) This is a variant oflistSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)operation.default ListSigningPlatformsResponseLists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsResponselistSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsResponselistSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest) Lists all signing platforms available in AWS Signer that match the request parameters.default ListSigningPlatformsIterableThis is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)operation.default ListSigningPlatformsIterablelistSigningPlatformsPaginator(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)operation.default ListSigningPlatformsIterablelistSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest) This is a variant oflistSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)operation.default ListSigningProfilesResponseLists all available signing profiles in your AWS account.default ListSigningProfilesResponselistSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) Lists all available signing profiles in your AWS account.default ListSigningProfilesResponselistSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest) Lists all available signing profiles in your AWS account.default ListSigningProfilesIterableThis is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)operation.default ListSigningProfilesIterablelistSigningProfilesPaginator(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)operation.default ListSigningProfilesIterablelistSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest) This is a variant oflistSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of the tags associated with a signing profile resource.default PutSigningProfileResponseputSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest) Creates a signing profile.default PutSigningProfileResponseputSigningProfile(PutSigningProfileRequest putSigningProfileRequest) Creates a signing profile.default RemoveProfilePermissionResponseremoveProfilePermission(Consumer<RemoveProfilePermissionRequest.Builder> removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.default RemoveProfilePermissionResponseremoveProfilePermission(RemoveProfilePermissionRequest removeProfilePermissionRequest) Removes cross-account permissions from a signing profile.default RevokeSignatureResponserevokeSignature(Consumer<RevokeSignatureRequest.Builder> revokeSignatureRequest) Changes the state of a signing job to REVOKED.default RevokeSignatureResponserevokeSignature(RevokeSignatureRequest revokeSignatureRequest) Changes the state of a signing job to REVOKED.default RevokeSigningProfileResponserevokeSigningProfile(Consumer<RevokeSigningProfileRequest.Builder> revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED.default RevokeSigningProfileResponserevokeSigningProfile(RevokeSigningProfileRequest revokeSigningProfileRequest) Changes the state of a signing profile to REVOKED.default SignerServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault SignPayloadResponsesignPayload(Consumer<SignPayloadRequest.Builder> signPayloadRequest) Signs a binary payload and returns a signature envelope.default SignPayloadResponsesignPayload(SignPayloadRequest signPayloadRequest) Signs a binary payload and returns a signature envelope.default StartSigningJobResponsestartSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest) Initiates a signing job to be performed on the code provided.default StartSigningJobResponsestartSigningJob(StartSigningJobRequest startSigningJobRequest) Initiates a signing job to be performed on the code provided.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds one or more tags to a signing profile.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds one or more tags to a signing profile.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from a signing profile.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from a signing profile.default SignerWaiterwaiter()Create an instance ofSignerWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaAddProfilePermissionRequest.builder()- Parameters:
addProfilePermissionRequest- AConsumerthat will call methods onAddProfilePermissionRequest.Builderto 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
ACTIVEsigning profile toCANCELED. A canceled profile is still viewable with theListSigningProfilesoperation, 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
ACTIVEsigning profile toCANCELED. A canceled profile is still viewable with theListSigningProfilesoperation, 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.Builderavoiding the need to create one manually viaCancelSigningProfileRequest.builder()- Parameters:
cancelSigningProfileRequest- AConsumerthat will call methods onCancelSigningProfileRequest.Builderto 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
jobIdvalue 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
jobIdvalue that is returned by the StartSigningJob operation.
This is a convenience which creates an instance of the
DescribeSigningJobRequest.Builderavoiding the need to create one manually viaDescribeSigningJobRequest.builder()- Parameters:
describeSigningJobRequest- AConsumerthat will call methods onDescribeSigningJobRequest.Builderto 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.Builderavoiding the need to create one manually viaGetRevocationStatusRequest.builder()- Parameters:
getRevocationStatusRequest- AConsumerthat will call methods onGetRevocationStatusRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSigningPlatformRequest.builder()- Parameters:
getSigningPlatformRequest- AConsumerthat will call methods onGetSigningPlatformRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSigningProfileRequest.builder()- Parameters:
getSigningProfileRequest- AConsumerthat will call methods onGetSigningProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaListProfilePermissionsRequest.builder()- Parameters:
listProfilePermissionsRequest- AConsumerthat will call methods onListProfilePermissionsRequest.Builderto 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
maxResultsparameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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
maxResultsparameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningJobsRequest.Builderavoiding the need to create one manually viaListSigningJobsRequest.builder()- Parameters:
listSigningJobsRequest- AConsumerthat will call methods onListSigningJobsRequest.Builderto 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
maxResultsparameter to limit the number of signing jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSigningJobsRequest.builder()- Parameters:
listSigningJobsRequest- AConsumerthat will call methods onListSigningJobsRequest.Builderto 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
nextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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
nextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningPlatformsRequest.Builderavoiding the need to create one manually viaListSigningPlatformsRequest.builder()- Parameters:
listSigningPlatformsRequest- AConsumerthat will call methods onListSigningPlatformsRequest.Builderto 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
nextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSigningPlatformsRequest.builder()- Parameters:
listSigningPlatformsRequest- AConsumerthat will call methods onListSigningPlatformsRequest.Builderto 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
ACTIVEstatus unless theincludeCanceledrequest field is set totrue. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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
ACTIVEstatus unless theincludeCanceledrequest field is set totrue. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the
ListSigningProfilesRequest.Builderavoiding the need to create one manually viaListSigningProfilesRequest.builder()- Parameters:
listSigningProfilesRequest- AConsumerthat will call methods onListSigningProfilesRequest.Builderto 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
ACTIVEstatus unless theincludeCanceledrequest field is set totrue. If additional jobs remain to be listed, AWS Signer returns anextTokenvalue. Use this value in subsequent calls toListSigningJobsto fetch the remaining values. You can continue callingListSigningJobswith yourmaxResultsparameter and with new values that Signer returns in thenextTokenparameter 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSigningProfilesRequest.builder()- Parameters:
listSigningProfilesRequest- AConsumerthat will call methods onListSigningProfilesRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaPutSigningProfileRequest.builder()- Parameters:
putSigningProfileRequest- AConsumerthat will call methods onPutSigningProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaRemoveProfilePermissionRequest.builder()- Parameters:
removeProfilePermissionRequest- AConsumerthat will call methods onRemoveProfilePermissionRequest.Builderto 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.Builderavoiding the need to create one manually viaRevokeSignatureRequest.builder()- Parameters:
revokeSignatureRequest- AConsumerthat will call methods onRevokeSignatureRequest.Builderto 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.Builderavoiding the need to create one manually viaRevokeSigningProfileRequest.builder()- Parameters:
revokeSigningProfileRequest- AConsumerthat will call methods onRevokeSigningProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaSignPayloadRequest.builder()- Parameters:
signPayloadRequest- AConsumerthat will call methods onSignPayloadRequest.Builderto 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
ListSigningJobsoperation 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
StartSigningJoboperation. -
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.
- 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
ListSigningJobsoperation 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
StartSigningJoboperation. -
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
StartSigningJobRequest.Builderavoiding the need to create one manually viaStartSigningJobRequest.builder()- Parameters:
startSigningJobRequest- AConsumerthat will call methods onStartSigningJobRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
waiter
Create an instance ofSignerWaiterusing 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 aSignerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSignerClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-