Struct aws_sdk_signer::client::fluent_builders::StartSigningJob
source · [−]pub struct StartSigningJob { /* 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 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
sourceimpl StartSigningJob
impl StartSigningJob
sourcepub async fn send(
self
) -> Result<StartSigningJobOutput, SdkError<StartSigningJobError>>
pub async fn send(
self
) -> Result<StartSigningJobOutput, SdkError<StartSigningJobError>>
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 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 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 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 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 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.
Trait Implementations
sourceimpl Clone for StartSigningJob
impl Clone for StartSigningJob
sourcefn clone(&self) -> StartSigningJob
fn clone(&self) -> StartSigningJob
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for StartSigningJob
impl Send for StartSigningJob
impl Sync for StartSigningJob
impl Unpin for StartSigningJob
impl !UnwindSafe for StartSigningJob
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more