pub struct StartSigningJobFluentBuilder { /* private fields */ }
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 Creating a Bucket in the Amazon S3 Getting Started Guide.
-
Your S3 source bucket must be version enabled.
-
You must create an S3 destination bucket. AWS Signer uses your S3 destination bucket to write your signed code.
-
You specify the name of the source and destination buckets when calling the
StartSigningJob
operation. -
You must ensure the S3 buckets are from the same Region as the signing profile. Cross-Region signing isn't supported.
-
You must also specify a request token that identifies your request to Signer.
You can call the DescribeSigningJob
and the ListSigningJobs
actions after you call StartSigningJob
.
For a Java example that shows how to use this action, see StartSigningJob.
Implementations§
source§impl StartSigningJobFluentBuilder
impl StartSigningJobFluentBuilder
sourcepub fn as_input(&self) -> &StartSigningJobInputBuilder
pub fn as_input(&self) -> &StartSigningJobInputBuilder
Access the StartSigningJob as a reference.
sourcepub async fn send(
self
) -> Result<StartSigningJobOutput, SdkError<StartSigningJobError, HttpResponse>>
pub async fn send( self ) -> Result<StartSigningJobOutput, SdkError<StartSigningJobError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<StartSigningJobOutput, StartSigningJobError, Self>
pub fn customize( self ) -> CustomizableOperation<StartSigningJobOutput, StartSigningJobError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn source(self, input: Source) -> Self
pub fn source(self, input: Source) -> Self
The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
sourcepub fn set_source(self, input: Option<Source>) -> Self
pub fn set_source(self, input: Option<Source>) -> Self
The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
sourcepub fn get_source(&self) -> &Option<Source>
pub fn get_source(&self) -> &Option<Source>
The S3 bucket that contains the object to sign or a BLOB that contains your raw code.
sourcepub fn destination(self, input: Destination) -> Self
pub fn destination(self, input: Destination) -> Self
The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
sourcepub fn set_destination(self, input: Option<Destination>) -> Self
pub fn set_destination(self, input: Option<Destination>) -> Self
The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
sourcepub fn get_destination(&self) -> &Option<Destination>
pub fn get_destination(&self) -> &Option<Destination>
The S3 bucket in which to save your signed object. The destination contains the name of your bucket and an optional prefix.
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The name of the signing profile.
sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The name of the signing profile.
sourcepub fn get_profile_name(&self) -> &Option<String>
pub fn get_profile_name(&self) -> &Option<String>
The name of the signing profile.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
String that identifies the signing request. All calls after the first that use this token return the same response as the first call.
sourcepub fn profile_owner(self, input: impl Into<String>) -> Self
pub fn profile_owner(self, input: impl Into<String>) -> Self
The AWS account ID of the signing profile owner.
sourcepub fn set_profile_owner(self, input: Option<String>) -> Self
pub fn set_profile_owner(self, input: Option<String>) -> Self
The AWS account ID of the signing profile owner.
sourcepub fn get_profile_owner(&self) -> &Option<String>
pub fn get_profile_owner(&self) -> &Option<String>
The AWS account ID of the signing profile owner.
Trait Implementations§
source§impl Clone for StartSigningJobFluentBuilder
impl Clone for StartSigningJobFluentBuilder
source§fn clone(&self) -> StartSigningJobFluentBuilder
fn clone(&self) -> StartSigningJobFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartSigningJobFluentBuilder
impl !RefUnwindSafe for StartSigningJobFluentBuilder
impl Send for StartSigningJobFluentBuilder
impl Sync for StartSigningJobFluentBuilder
impl Unpin for StartSigningJobFluentBuilder
impl !UnwindSafe for StartSigningJobFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more