ServerlessRepoClient

Struct ServerlessRepoClient 

Source
pub struct ServerlessRepoClient { /* private fields */ }
Expand description

A client for the AWSServerlessApplicationRepository API.

Implementations§

Source§

impl ServerlessRepoClient

Source

pub fn new(region: Region) -> ServerlessRepoClient

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

Source

pub fn new_with<P, D>( request_dispatcher: D, credentials_provider: P, region: Region, ) -> ServerlessRepoClient
where P: ProvideAwsCredentials + Send + Sync + 'static, D: DispatchSignedRequest + Send + Sync + 'static,

Source

pub fn new_with_client(client: Client, region: Region) -> ServerlessRepoClient

Trait Implementations§

Source§

impl Clone for ServerlessRepoClient

Source§

fn clone(&self) -> ServerlessRepoClient

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl ServerlessRepo for ServerlessRepoClient

Source§

fn create_application<'life0, 'async_trait>( &'life0 self, input: CreateApplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateApplicationResponse, RusotoError<CreateApplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an application, optionally including an AWS SAM file to create the first application version in the same call.

Source§

fn create_application_version<'life0, 'async_trait>( &'life0 self, input: CreateApplicationVersionRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateApplicationVersionResponse, RusotoError<CreateApplicationVersionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an application version.

Source§

fn create_cloud_formation_change_set<'life0, 'async_trait>( &'life0 self, input: CreateCloudFormationChangeSetRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateCloudFormationChangeSetResponse, RusotoError<CreateCloudFormationChangeSetError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an AWS CloudFormation change set for the given application.

Source§

fn create_cloud_formation_template<'life0, 'async_trait>( &'life0 self, input: CreateCloudFormationTemplateRequest, ) -> Pin<Box<dyn Future<Output = Result<CreateCloudFormationTemplateResponse, RusotoError<CreateCloudFormationTemplateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Creates an AWS CloudFormation template.

Source§

fn delete_application<'life0, 'async_trait>( &'life0 self, input: DeleteApplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteApplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Deletes the specified application.

Source§

fn get_application<'life0, 'async_trait>( &'life0 self, input: GetApplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<GetApplicationResponse, RusotoError<GetApplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the specified application.

Source§

fn get_application_policy<'life0, 'async_trait>( &'life0 self, input: GetApplicationPolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<GetApplicationPolicyResponse, RusotoError<GetApplicationPolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieves the policy for the application.

Source§

fn get_cloud_formation_template<'life0, 'async_trait>( &'life0 self, input: GetCloudFormationTemplateRequest, ) -> Pin<Box<dyn Future<Output = Result<GetCloudFormationTemplateResponse, RusotoError<GetCloudFormationTemplateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Gets the specified AWS CloudFormation template.

Source§

fn list_application_dependencies<'life0, 'async_trait>( &'life0 self, input: ListApplicationDependenciesRequest, ) -> Pin<Box<dyn Future<Output = Result<ListApplicationDependenciesResponse, RusotoError<ListApplicationDependenciesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Retrieves the list of applications nested in the containing application.

Source§

fn list_application_versions<'life0, 'async_trait>( &'life0 self, input: ListApplicationVersionsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListApplicationVersionsResponse, RusotoError<ListApplicationVersionsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists versions for the specified application.

Source§

fn list_applications<'life0, 'async_trait>( &'life0 self, input: ListApplicationsRequest, ) -> Pin<Box<dyn Future<Output = Result<ListApplicationsResponse, RusotoError<ListApplicationsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Lists applications owned by the requester.

Source§

fn put_application_policy<'life0, 'async_trait>( &'life0 self, input: PutApplicationPolicyRequest, ) -> Pin<Box<dyn Future<Output = Result<PutApplicationPolicyResponse, RusotoError<PutApplicationPolicyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .

Source§

fn unshare_application<'life0, 'async_trait>( &'life0 self, input: UnshareApplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UnshareApplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Unshares an application from an AWS Organization.

This operation can be called only from the organization's master account.

Source§

fn update_application<'life0, 'async_trait>( &'life0 self, input: UpdateApplicationRequest, ) -> Pin<Box<dyn Future<Output = Result<UpdateApplicationResponse, RusotoError<UpdateApplicationError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Updates the specified application.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more