ServerlessRepo

Trait ServerlessRepo 

Source
pub trait ServerlessRepo {
Show 14 methods // Required methods 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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; 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;
}
Expand description

Trait representing the capabilities of the AWSServerlessApplicationRepository API. AWSServerlessApplicationRepository clients implement this trait.

Required Methods§

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.

Implementors§