Struct rusoto_signer::SignerClient
source · [−]pub struct SignerClient { /* private fields */ }
Expand description
A client for the signer API.
Implementations
sourceimpl SignerClient
impl SignerClient
sourcepub fn new(region: Region) -> SignerClient
pub fn new(region: Region) -> SignerClient
Creates a client backed by the default tokio event loop.
The client will use the default credentials provider and tls client.
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> SignerClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> SignerClient
Trait Implementations
sourceimpl Clone for SignerClient
impl Clone for SignerClient
sourcefn clone(&self) -> SignerClient
fn clone(&self) -> SignerClient
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
sourceimpl Signer for SignerClient
impl Signer for SignerClient
sourcefn add_profile_permission<'life0, 'async_trait>(
&'life0 self,
input: AddProfilePermissionRequest
) -> Pin<Box<dyn Future<Output = Result<AddProfilePermissionResponse, RusotoError<AddProfilePermissionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn add_profile_permission<'life0, 'async_trait>(
&'life0 self,
input: AddProfilePermissionRequest
) -> Pin<Box<dyn Future<Output = Result<AddProfilePermissionResponse, RusotoError<AddProfilePermissionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Adds cross-account permissions to a signing profile.
sourcefn cancel_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: CancelSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CancelSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn cancel_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: CancelSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<CancelSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn describe_signing_job<'life0, 'async_trait>(
&'life0 self,
input: DescribeSigningJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSigningJobResponse, RusotoError<DescribeSigningJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_signing_job<'life0, 'async_trait>(
&'life0 self,
input: DescribeSigningJobRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSigningJobResponse, RusotoError<DescribeSigningJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information about a specific code signing job. You specify the job by using the jobId
value that is returned by the StartSigningJob operation.
sourcefn get_signing_platform<'life0, 'async_trait>(
&'life0 self,
input: GetSigningPlatformRequest
) -> Pin<Box<dyn Future<Output = Result<GetSigningPlatformResponse, RusotoError<GetSigningPlatformError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_signing_platform<'life0, 'async_trait>(
&'life0 self,
input: GetSigningPlatformRequest
) -> Pin<Box<dyn Future<Output = Result<GetSigningPlatformResponse, RusotoError<GetSigningPlatformError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information on a specific signing platform.
sourcefn get_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: GetSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<GetSigningProfileResponse, RusotoError<GetSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: GetSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<GetSigningProfileResponse, RusotoError<GetSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Returns information on a specific signing profile.
sourcefn list_profile_permissions<'life0, 'async_trait>(
&'life0 self,
input: ListProfilePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListProfilePermissionsResponse, RusotoError<ListProfilePermissionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_profile_permissions<'life0, 'async_trait>(
&'life0 self,
input: ListProfilePermissionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListProfilePermissionsResponse, RusotoError<ListProfilePermissionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the cross-account permissions associated with a signing profile.
sourcefn list_signing_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListSigningJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSigningJobsResponse, RusotoError<ListSigningJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_signing_jobs<'life0, 'async_trait>(
&'life0 self,
input: ListSigningJobsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSigningJobsResponse, RusotoError<ListSigningJobsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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, code signing 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 code signing returns in the nextToken
parameter until all of your signing jobs have been returned.
sourcefn list_signing_platforms<'life0, 'async_trait>(
&'life0 self,
input: ListSigningPlatformsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSigningPlatformsResponse, RusotoError<ListSigningPlatformsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_signing_platforms<'life0, 'async_trait>(
&'life0 self,
input: ListSigningPlatformsRequest
) -> Pin<Box<dyn Future<Output = Result<ListSigningPlatformsResponse, RusotoError<ListSigningPlatformsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists all signing platforms available in code signing that match the request parameters. If additional jobs remain to be listed, code signing 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 code signing returns in the nextToken
parameter until all of your signing jobs have been returned.
sourcefn list_signing_profiles<'life0, 'async_trait>(
&'life0 self,
input: ListSigningProfilesRequest
) -> Pin<Box<dyn Future<Output = Result<ListSigningProfilesResponse, RusotoError<ListSigningProfilesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_signing_profiles<'life0, 'async_trait>(
&'life0 self,
input: ListSigningProfilesRequest
) -> Pin<Box<dyn Future<Output = Result<ListSigningProfilesResponse, RusotoError<ListSigningProfilesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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, code signing 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 code signing returns in the nextToken
parameter until all of your signing jobs have been returned.
Returns a list of the tags associated with a signing profile resource.
sourcefn put_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: PutSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<PutSigningProfileResponse, RusotoError<PutSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: PutSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<PutSigningProfileResponse, RusotoError<PutSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a signing profile. A signing profile is a code signing 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
sourcefn remove_profile_permission<'life0, 'async_trait>(
&'life0 self,
input: RemoveProfilePermissionRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveProfilePermissionResponse, RusotoError<RemoveProfilePermissionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn remove_profile_permission<'life0, 'async_trait>(
&'life0 self,
input: RemoveProfilePermissionRequest
) -> Pin<Box<dyn Future<Output = Result<RemoveProfilePermissionResponse, RusotoError<RemoveProfilePermissionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes cross-account permissions from a signing profile.
sourcefn revoke_signature<'life0, 'async_trait>(
&'life0 self,
input: RevokeSignatureRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RevokeSignatureError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn revoke_signature<'life0, 'async_trait>(
&'life0 self,
input: RevokeSignatureRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RevokeSignatureError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Changes the state of a signing job to REVOKED. This indicates that the signature is no longer valid.
sourcefn revoke_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: RevokeSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RevokeSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn revoke_signing_profile<'life0, 'async_trait>(
&'life0 self,
input: RevokeSigningProfileRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<RevokeSigningProfileError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn start_signing_job<'life0, 'async_trait>(
&'life0 self,
input: StartSigningJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartSigningJobResponse, RusotoError<StartSigningJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn start_signing_job<'life0, 'async_trait>(
&'life0 self,
input: StartSigningJobRequest
) -> Pin<Box<dyn Future<Output = Result<StartSigningJobResponse, RusotoError<StartSigningJobError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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/
sourcefn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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.
sourcefn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Removes one or more tags from a signing profile. To remove the tags, specify a list of tag keys.
Auto Trait Implementations
impl !RefUnwindSafe for SignerClient
impl Send for SignerClient
impl Sync for SignerClient
impl Unpin for SignerClient
impl !UnwindSafe for SignerClient
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