pub struct ServerlessRepoClient { /* private fields */ }Expand description
A client for the AWSServerlessApplicationRepository API.
Implementations§
Source§impl 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,
) -> ServerlessRepoClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> ServerlessRepoClient
Trait Implementations§
Source§impl Clone for ServerlessRepoClient
impl Clone for ServerlessRepoClient
Source§fn clone(&self) -> ServerlessRepoClient
fn clone(&self) -> ServerlessRepoClient
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl ServerlessRepo for ServerlessRepoClient
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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,
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 .
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,
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.