pub struct ServerlessRepoClient { /* private fields */ }
Expand description
A client for the AWSServerlessApplicationRepository API.
Implementations
sourceimpl ServerlessRepoClient
impl ServerlessRepoClient
sourcepub fn new(region: Region) -> ServerlessRepoClient
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.
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,
pub fn new_with_client(client: Client, region: Region) -> ServerlessRepoClient
Trait Implementations
sourceimpl Clone for ServerlessRepoClient
impl Clone for ServerlessRepoClient
sourcefn clone(&self) -> ServerlessRepoClient
fn clone(&self) -> ServerlessRepoClient
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 ServerlessRepo for ServerlessRepoClient
impl ServerlessRepo for ServerlessRepoClient
sourcefn create_application<'life0, 'async_trait>(
&'life0 self,
input: CreateApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateApplicationResponse, RusotoError<CreateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_application<'life0, 'async_trait>(
&'life0 self,
input: CreateApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateApplicationResponse, RusotoError<CreateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an application, optionally including an AWS SAM file to create the first application version in the same call.
sourcefn create_application_version<'life0, 'async_trait>(
&'life0 self,
input: CreateApplicationVersionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateApplicationVersionResponse, RusotoError<CreateApplicationVersionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_application_version<'life0, 'async_trait>(
&'life0 self,
input: CreateApplicationVersionRequest
) -> Pin<Box<dyn Future<Output = Result<CreateApplicationVersionResponse, RusotoError<CreateApplicationVersionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates an application version.
sourcefn 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
'life0: 'async_trait,
Self: 'async_trait,
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
'life0: 'async_trait,
Self: 'async_trait,
Creates an AWS CloudFormation change set for the given application.
sourcefn create_cloud_formation_template<'life0, 'async_trait>(
&'life0 self,
input: CreateCloudFormationTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<CreateCloudFormationTemplateResponse, RusotoError<CreateCloudFormationTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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
'life0: 'async_trait,
Self: 'async_trait,
Creates an AWS CloudFormation template.
sourcefn delete_application<'life0, 'async_trait>(
&'life0 self,
input: DeleteApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_application<'life0, 'async_trait>(
&'life0 self,
input: DeleteApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the specified application.
sourcefn get_application<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<GetApplicationResponse, RusotoError<GetApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_application<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<GetApplicationResponse, RusotoError<GetApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets the specified application.
sourcefn get_application_policy<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetApplicationPolicyResponse, RusotoError<GetApplicationPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_application_policy<'life0, 'async_trait>(
&'life0 self,
input: GetApplicationPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetApplicationPolicyResponse, RusotoError<GetApplicationPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the policy for the application.
sourcefn get_cloud_formation_template<'life0, 'async_trait>(
&'life0 self,
input: GetCloudFormationTemplateRequest
) -> Pin<Box<dyn Future<Output = Result<GetCloudFormationTemplateResponse, RusotoError<GetCloudFormationTemplateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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
'life0: 'async_trait,
Self: 'async_trait,
Gets the specified AWS CloudFormation template.
sourcefn list_application_dependencies<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationDependenciesRequest
) -> Pin<Box<dyn Future<Output = Result<ListApplicationDependenciesResponse, RusotoError<ListApplicationDependenciesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_application_dependencies<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationDependenciesRequest
) -> Pin<Box<dyn Future<Output = Result<ListApplicationDependenciesResponse, RusotoError<ListApplicationDependenciesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the list of applications nested in the containing application.
sourcefn list_application_versions<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListApplicationVersionsResponse, RusotoError<ListApplicationVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_application_versions<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationVersionsRequest
) -> Pin<Box<dyn Future<Output = Result<ListApplicationVersionsResponse, RusotoError<ListApplicationVersionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists versions for the specified application.
sourcefn list_applications<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListApplicationsResponse, RusotoError<ListApplicationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_applications<'life0, 'async_trait>(
&'life0 self,
input: ListApplicationsRequest
) -> Pin<Box<dyn Future<Output = Result<ListApplicationsResponse, RusotoError<ListApplicationsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists applications owned by the requester.
sourcefn put_application_policy<'life0, 'async_trait>(
&'life0 self,
input: PutApplicationPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutApplicationPolicyResponse, RusotoError<PutApplicationPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_application_policy<'life0, 'async_trait>(
&'life0 self,
input: PutApplicationPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutApplicationPolicyResponse, RusotoError<PutApplicationPolicyError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Sets the permission policy for an application. For the list of actions supported for this operation, see Application Permissions .
Unshares an application from an AWS Organization.
This operation can be called only from the organization's master account.
sourcefn update_application<'life0, 'async_trait>(
&'life0 self,
input: UpdateApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateApplicationResponse, RusotoError<UpdateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn update_application<'life0, 'async_trait>(
&'life0 self,
input: UpdateApplicationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateApplicationResponse, RusotoError<UpdateApplicationError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the specified application.
Auto Trait Implementations
impl !RefUnwindSafe for ServerlessRepoClient
impl Send for ServerlessRepoClient
impl Sync for ServerlessRepoClient
impl Unpin for ServerlessRepoClient
impl !UnwindSafe for ServerlessRepoClient
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