@Generated(value="software.amazon.awssdk:codegen") public interface SignerAsyncClient extends SdkClient
builder()
method.
You can use Code Signing for Amazon FreeRTOS (AWS Signer) to sign code that you created for any of the IoT devices that Amazon Web Services supports. AWS Signer is integrated with Amazon FreeRTOS, AWS Certificate Manager, and AWS CloudTrail. Amazon FreeRTOS customers can use AWS Signer to sign code images before making them available for microcontrollers. You can use ACM to import third-party certificates to be used by AWS Signer. For general information about using AWS Signer, see the Code Signing for Amazon FreeRTOS Developer Guide.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static SignerAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
SignerAsyncClient . |
default CompletableFuture<CancelSigningProfileResponse> |
cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest)
Changes the state of an
ACTIVE signing profile to CANCELED . |
default CompletableFuture<CancelSigningProfileResponse> |
cancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest)
Changes the state of an
ACTIVE signing profile to CANCELED . |
static SignerAsyncClient |
create()
Create a
SignerAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<DescribeSigningJobResponse> |
describeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest)
Returns information about a specific code signing job.
|
default CompletableFuture<DescribeSigningJobResponse> |
describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest)
Returns information about a specific code signing job.
|
default CompletableFuture<GetSigningPlatformResponse> |
getSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest)
Returns information on a specific signing platform.
|
default CompletableFuture<GetSigningPlatformResponse> |
getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest)
Returns information on a specific signing platform.
|
default CompletableFuture<GetSigningProfileResponse> |
getSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest)
Returns information on a specific signing profile.
|
default CompletableFuture<GetSigningProfileResponse> |
getSigningProfile(GetSigningProfileRequest getSigningProfileRequest)
Returns information on a specific signing profile.
|
default CompletableFuture<ListSigningJobsResponse> |
listSigningJobs()
Lists all your signing jobs.
|
default CompletableFuture<ListSigningJobsResponse> |
listSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest)
Lists all your signing jobs.
|
default CompletableFuture<ListSigningJobsResponse> |
listSigningJobs(ListSigningJobsRequest listSigningJobsRequest)
Lists all your signing jobs.
|
default ListSigningJobsPublisher |
listSigningJobsPaginator()
Lists all your signing jobs.
|
default ListSigningJobsPublisher |
listSigningJobsPaginator(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest)
Lists all your signing jobs.
|
default ListSigningJobsPublisher |
listSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest)
Lists all your signing jobs.
|
default CompletableFuture<ListSigningPlatformsResponse> |
listSigningPlatforms()
Lists all signing platforms available in AWS Signer that match the request parameters.
|
default CompletableFuture<ListSigningPlatformsResponse> |
listSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters.
|
default CompletableFuture<ListSigningPlatformsResponse> |
listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters.
|
default ListSigningPlatformsPublisher |
listSigningPlatformsPaginator()
Lists all signing platforms available in AWS Signer that match the request parameters.
|
default ListSigningPlatformsPublisher |
listSigningPlatformsPaginator(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters.
|
default ListSigningPlatformsPublisher |
listSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters.
|
default CompletableFuture<ListSigningProfilesResponse> |
listSigningProfiles()
Lists all available signing profiles in your AWS account.
|
default CompletableFuture<ListSigningProfilesResponse> |
listSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest)
Lists all available signing profiles in your AWS account.
|
default CompletableFuture<ListSigningProfilesResponse> |
listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest)
Lists all available signing profiles in your AWS account.
|
default ListSigningProfilesPublisher |
listSigningProfilesPaginator()
Lists all available signing profiles in your AWS account.
|
default ListSigningProfilesPublisher |
listSigningProfilesPaginator(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest)
Lists all available signing profiles in your AWS account.
|
default ListSigningProfilesPublisher |
listSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest)
Lists all available signing profiles in your AWS account.
|
default CompletableFuture<PutSigningProfileResponse> |
putSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest)
Creates a signing profile.
|
default CompletableFuture<PutSigningProfileResponse> |
putSigningProfile(PutSigningProfileRequest putSigningProfileRequest)
Creates a signing profile.
|
default CompletableFuture<StartSigningJobResponse> |
startSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest)
Initiates a signing job to be performed on the code provided.
|
default CompletableFuture<StartSigningJobResponse> |
startSigningJob(StartSigningJobRequest startSigningJobRequest)
Initiates a signing job to be performed on the code provided.
|
serviceName
close
static final String SERVICE_NAME
static SignerAsyncClient create()
SignerAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static SignerAsyncClientBuilder builder()
SignerAsyncClient
.default CompletableFuture<CancelSigningProfileResponse> cancelSigningProfile(CancelSigningProfileRequest cancelSigningProfileRequest)
Changes the state of an ACTIVE
signing profile to CANCELED
. A canceled profile is still
viewable with the ListSigningProfiles
operation, but it cannot perform new signing jobs, and is
deleted two years after cancelation.
cancelSigningProfileRequest
- default CompletableFuture<CancelSigningProfileResponse> cancelSigningProfile(Consumer<CancelSigningProfileRequest.Builder> cancelSigningProfileRequest)
Changes the state of an ACTIVE
signing profile to CANCELED
. A canceled profile is still
viewable with the ListSigningProfiles
operation, but it cannot perform new signing jobs, and is
deleted two years after cancelation.
This is a convenience which creates an instance of the CancelSigningProfileRequest.Builder
avoiding the
need to create one manually via CancelSigningProfileRequest.builder()
cancelSigningProfileRequest
- A Consumer
that will call methods on CancelSigningProfileRequest.Builder
to create a
request.default CompletableFuture<DescribeSigningJobResponse> describeSigningJob(DescribeSigningJobRequest describeSigningJobRequest)
Returns information about a specific code signing job. You specify the job by using the jobId
value
that is returned by the StartSigningJob operation.
describeSigningJobRequest
- default CompletableFuture<DescribeSigningJobResponse> describeSigningJob(Consumer<DescribeSigningJobRequest.Builder> describeSigningJobRequest)
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 via DescribeSigningJobRequest.builder()
describeSigningJobRequest
- A Consumer
that will call methods on DescribeSigningJobRequest.Builder
to create a
request.default CompletableFuture<GetSigningPlatformResponse> getSigningPlatform(GetSigningPlatformRequest getSigningPlatformRequest)
Returns information on a specific signing platform.
getSigningPlatformRequest
- default CompletableFuture<GetSigningPlatformResponse> getSigningPlatform(Consumer<GetSigningPlatformRequest.Builder> getSigningPlatformRequest)
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 via GetSigningPlatformRequest.builder()
getSigningPlatformRequest
- A Consumer
that will call methods on GetSigningPlatformRequest.Builder
to create a
request.default CompletableFuture<GetSigningProfileResponse> getSigningProfile(GetSigningProfileRequest getSigningProfileRequest)
Returns information on a specific signing profile.
getSigningProfileRequest
- default CompletableFuture<GetSigningProfileResponse> getSigningProfile(Consumer<GetSigningProfileRequest.Builder> getSigningProfileRequest)
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 via GetSigningProfileRequest.builder()
getSigningProfileRequest
- A Consumer
that will call methods on GetSigningProfileRequest.Builder
to create a request.default CompletableFuture<ListSigningJobsResponse> listSigningJobs(ListSigningJobsRequest listSigningJobsRequest)
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
listSigningJobsRequest
- default CompletableFuture<ListSigningJobsResponse> listSigningJobs(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest)
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
This is a convenience which creates an instance of the ListSigningJobsRequest.Builder
avoiding the need
to create one manually via ListSigningJobsRequest.builder()
listSigningJobsRequest
- A Consumer
that will call methods on ListSigningJobsRequest.Builder
to create a request.default CompletableFuture<ListSigningJobsResponse> listSigningJobs()
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
default ListSigningJobsPublisher listSigningJobsPaginator()
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
This is a variant of
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.
default ListSigningJobsPublisher listSigningJobsPaginator(ListSigningJobsRequest listSigningJobsRequest)
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
This is a variant of
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation.
listSigningJobsRequest
- default ListSigningJobsPublisher listSigningJobsPaginator(Consumer<ListSigningJobsRequest.Builder> listSigningJobsRequest)
Lists all your signing jobs. You can use the maxResults
parameter to limit the number of signing
jobs that are returned in the response. If additional jobs remain to be listed, AWS Signer returns a
nextToken
value. Use this value in subsequent calls to ListSigningJobs
to fetch the
remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the nextToken
parameter until all of your
signing jobs have been returned.
This is a variant of
listSigningJobs(software.amazon.awssdk.services.signer.model.ListSigningJobsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningJobsPublisher publisher = client.listSigningJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via ListSigningJobsRequest.builder()
listSigningJobsRequest
- A Consumer
that will call methods on ListSigningJobsRequest.Builder
to create a request.default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms(ListSigningPlatformsRequest listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
listSigningPlatformsRequest
- default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the ListSigningPlatformsRequest.Builder
avoiding the
need to create one manually via ListSigningPlatformsRequest.builder()
listSigningPlatformsRequest
- A Consumer
that will call methods on ListSigningPlatformsRequest.Builder
to create a
request.default CompletableFuture<ListSigningPlatformsResponse> listSigningPlatforms()
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
default ListSigningPlatformsPublisher listSigningPlatformsPaginator()
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a variant of
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.
default ListSigningPlatformsPublisher listSigningPlatformsPaginator(ListSigningPlatformsRequest listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a variant of
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation.
listSigningPlatformsRequest
- default ListSigningPlatformsPublisher listSigningPlatformsPaginator(Consumer<ListSigningPlatformsRequest.Builder> listSigningPlatformsRequest)
Lists all signing platforms available in AWS Signer that match the request parameters. If additional jobs remain
to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a variant of
listSigningPlatforms(software.amazon.awssdk.services.signer.model.ListSigningPlatformsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningPlatformsPublisher publisher = client.listSigningPlatformsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningPlatformsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via ListSigningPlatformsRequest.builder()
listSigningPlatformsRequest
- A Consumer
that will call methods on ListSigningPlatformsRequest.Builder
to create a
request.default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles(ListSigningProfilesRequest listSigningProfilesRequest)
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
listSigningProfilesRequest
- default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest)
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a convenience which creates an instance of the ListSigningProfilesRequest.Builder
avoiding the
need to create one manually via ListSigningProfilesRequest.builder()
listSigningProfilesRequest
- A Consumer
that will call methods on ListSigningProfilesRequest.Builder
to create a
request.default CompletableFuture<ListSigningProfilesResponse> listSigningProfiles()
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
default ListSigningProfilesPublisher listSigningProfilesPaginator()
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a variant of
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.
default ListSigningProfilesPublisher listSigningProfilesPaginator(ListSigningProfilesRequest listSigningProfilesRequest)
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a variant of
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.
listSigningProfilesRequest
- default ListSigningProfilesPublisher listSigningProfilesPaginator(Consumer<ListSigningProfilesRequest.Builder> listSigningProfilesRequest)
Lists all available signing profiles in your AWS account. Returns only profiles with an ACTIVE
status unless the includeCanceled
request field is set to true
. If additional jobs
remain to be listed, AWS Signer returns a nextToken
value. Use this value in subsequent calls to
ListSigningJobs
to fetch the remaining values. You can continue calling ListSigningJobs
with your maxResults
parameter and with new values that AWS Signer returns in the
nextToken
parameter until all of your signing jobs have been returned.
This is a variant of
listSigningProfiles(software.amazon.awssdk.services.signer.model.ListSigningProfilesRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.signer.paginators.ListSigningProfilesPublisher publisher = client.listSigningProfilesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.signer.model.ListSigningProfilesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 via ListSigningProfilesRequest.builder()
listSigningProfilesRequest
- A Consumer
that will call methods on ListSigningProfilesRequest.Builder
to create a
request.default CompletableFuture<PutSigningProfileResponse> putSigningProfile(PutSigningProfileRequest putSigningProfileRequest)
Creates a signing profile. A signing profile is an AWS Signer template that can be used to carry out a pre-defined signing job. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
putSigningProfileRequest
- default CompletableFuture<PutSigningProfileResponse> putSigningProfile(Consumer<PutSigningProfileRequest.Builder> putSigningProfileRequest)
Creates a signing profile. A signing profile is an AWS Signer template that can be used to carry out a pre-defined signing job. For more information, see http://docs.aws.amazon.com/signer/latest/developerguide/gs-profile.html
This is a convenience which creates an instance of the PutSigningProfileRequest.Builder
avoiding the need
to create one manually via PutSigningProfileRequest.builder()
putSigningProfileRequest
- A Consumer
that will call methods on PutSigningProfileRequest.Builder
to create a request.default CompletableFuture<StartSigningJobResponse> startSigningJob(StartSigningJobRequest startSigningJobRequest)
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 Create 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 AWS 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 http://docs.aws.amazon.com/acm/latest/userguide/
startSigningJobRequest
- default CompletableFuture<StartSigningJobResponse> startSigningJob(Consumer<StartSigningJobRequest.Builder> startSigningJobRequest)
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 Create 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 AWS 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 http://docs.aws.amazon.com/acm/latest/userguide/
This is a convenience which creates an instance of the StartSigningJobRequest.Builder
avoiding the need
to create one manually via StartSigningJobRequest.builder()
startSigningJobRequest
- A Consumer
that will call methods on StartSigningJobRequest.Builder
to create a request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.