Struct aws_sdk_signer::client::fluent_builders::StartSigningJob [−][src]
pub struct StartSigningJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartSigningJob
.
Initiates a signing job to be performed on the code provided. Signing jobs are
viewable by the ListSigningJobs
operation for two years after they are
performed. Note the following requirements:
-
You must create an Amazon S3 source bucket. For more information, see 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. Code signing uses your S3 destination bucket to write your signed code.
-
You specify the name of the source and destination buckets when calling the
StartSigningJob
operation. -
You must also specify a request token that identifies your request to code signing.
You can call the DescribeSigningJob and the ListSigningJobs actions after you call
StartSigningJob
.
For a Java example that shows how to use this action, see http://docs.aws.amazon.com/acm/latest/userguide/
Implementations
impl<C, M, R> StartSigningJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartSigningJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartSigningJobOutput, SdkError<StartSigningJobError>> where
R::Policy: SmithyRetryPolicy<StartSigningJobInputOperationOutputAlias, StartSigningJobOutput, StartSigningJobError, StartSigningJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartSigningJobOutput, SdkError<StartSigningJobError>> where
R::Policy: SmithyRetryPolicy<StartSigningJobInputOperationOutputAlias, StartSigningJobOutput, StartSigningJobError, StartSigningJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
The name of the signing profile.
The name of the signing profile.
String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
The AWS account ID of the signing profile owner.
The AWS account ID of the signing profile owner.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartSigningJob<C, M, R>
impl<C, M, R> Send for StartSigningJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartSigningJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartSigningJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartSigningJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more