Struct rusoto_cur::CostAndUsageReportClient [−][src]
pub struct CostAndUsageReportClient { /* fields omitted */ }
Expand description
A client for the AWS Cost and Usage Report Service API.
Implementations
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
) -> CostAndUsageReportClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
Trait Implementations
fn delete_report_definition<'life0, 'async_trait>(
&'life0 self,
input: DeleteReportDefinitionRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteReportDefinitionResponse, RusotoError<DeleteReportDefinitionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_report_definition<'life0, 'async_trait>(
&'life0 self,
input: DeleteReportDefinitionRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteReportDefinitionResponse, RusotoError<DeleteReportDefinitionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the specified report.
fn describe_report_definitions<'life0, 'async_trait>(
&'life0 self,
input: DescribeReportDefinitionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeReportDefinitionsResponse, RusotoError<DescribeReportDefinitionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_report_definitions<'life0, 'async_trait>(
&'life0 self,
input: DescribeReportDefinitionsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeReportDefinitionsResponse, RusotoError<DescribeReportDefinitionsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the AWS Cost and Usage reports available to this account.
fn modify_report_definition<'life0, 'async_trait>(
&'life0 self,
input: ModifyReportDefinitionRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyReportDefinitionResponse, RusotoError<ModifyReportDefinitionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_report_definition<'life0, 'async_trait>(
&'life0 self,
input: ModifyReportDefinitionRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyReportDefinitionResponse, RusotoError<ModifyReportDefinitionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Allows you to programatically update your report preferences.
fn put_report_definition<'life0, 'async_trait>(
&'life0 self,
input: PutReportDefinitionRequest
) -> Pin<Box<dyn Future<Output = Result<PutReportDefinitionResponse, RusotoError<PutReportDefinitionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn put_report_definition<'life0, 'async_trait>(
&'life0 self,
input: PutReportDefinitionRequest
) -> Pin<Box<dyn Future<Output = Result<PutReportDefinitionResponse, RusotoError<PutReportDefinitionError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Creates a new report using the description that you provide.
Auto Trait Implementations
impl !RefUnwindSafe for CostAndUsageReportClient
impl Send for CostAndUsageReportClient
impl Sync for CostAndUsageReportClient
impl Unpin for CostAndUsageReportClient
impl !UnwindSafe for CostAndUsageReportClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self