Struct aws_sdk_devopsguru::client::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for Amazon DevOps Guru
Client for invoking operations on Amazon DevOps Guru. Each operation on Amazon DevOps Guru is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_devopsguru::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_devopsguru::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_devopsguru::Client::from_conf(config);Implementations
sourceimpl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
sourceimpl Client
impl Client
sourcepub fn add_notification_channel(&self) -> AddNotificationChannel
pub fn add_notification_channel(&self) -> AddNotificationChannel
Constructs a fluent builder for the AddNotificationChannel operation.
- The fluent builder is configurable:
config(NotificationChannelConfig)/set_config(Option<NotificationChannelConfig>):A
NotificationChannelConfigobject that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS).
- On success, responds with
AddNotificationChannelOutputwith field(s):id(Option<String>):The ID of the added notification channel.
- On failure, responds with
SdkError<AddNotificationChannelError>
sourcepub fn delete_insight(&self) -> DeleteInsight
pub fn delete_insight(&self) -> DeleteInsight
Constructs a fluent builder for the DeleteInsight operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the insight.
- On success, responds with
DeleteInsightOutput - On failure, responds with
SdkError<DeleteInsightError>
sourcepub fn describe_account_health(&self) -> DescribeAccountHealth
pub fn describe_account_health(&self) -> DescribeAccountHealth
Constructs a fluent builder for the DescribeAccountHealth operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
DescribeAccountHealthOutputwith field(s):open_reactive_insights(i32):An integer that specifies the number of open reactive insights in your Amazon Web Services account.
open_proactive_insights(i32):An integer that specifies the number of open proactive insights in your Amazon Web Services account.
metrics_analyzed(i32):An integer that specifies the number of metrics that have been analyzed in your Amazon Web Services account.
resource_hours(Option<i64>):The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour.
- On failure, responds with
SdkError<DescribeAccountHealthError>
sourcepub fn describe_account_overview(&self) -> DescribeAccountOverview
pub fn describe_account_overview(&self) -> DescribeAccountOverview
Constructs a fluent builder for the DescribeAccountOverview operation.
- The fluent builder is configurable:
from_time(DateTime)/set_from_time(Option<DateTime>):The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.
to_time(DateTime)/set_to_time(Option<DateTime>):The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used.
- On success, responds with
DescribeAccountOverviewOutputwith field(s):reactive_insights(i32):An integer that specifies the number of open reactive insights in your Amazon Web Services account that were created during the time range passed in.
proactive_insights(i32):An integer that specifies the number of open proactive insights in your Amazon Web Services account that were created during the time range passed in.
mean_time_to_recover_in_milliseconds(Option<i64>):The Mean Time to Recover (MTTR) for all closed insights that were created during the time range passed in.
- On failure, responds with
SdkError<DescribeAccountOverviewError>
sourcepub fn describe_anomaly(&self) -> DescribeAnomaly
pub fn describe_anomaly(&self) -> DescribeAnomaly
Constructs a fluent builder for the DescribeAnomaly operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the anomaly.
account_id(impl Into<String>)/set_account_id(Option<String>):The ID of the member account.
- On success, responds with
DescribeAnomalyOutputwith field(s):proactive_anomaly(Option<ProactiveAnomaly>):A
ProactiveAnomalyobject that represents the requested anomaly.reactive_anomaly(Option<ReactiveAnomaly>):A
ReactiveAnomalyobject that represents the requested anomaly.
- On failure, responds with
SdkError<DescribeAnomalyError>
sourcepub fn describe_event_sources_config(&self) -> DescribeEventSourcesConfig
pub fn describe_event_sources_config(&self) -> DescribeEventSourcesConfig
Constructs a fluent builder for the DescribeEventSourcesConfig operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
DescribeEventSourcesConfigOutputwith field(s):event_sources(Option<EventSourcesConfig>):Lists the event sources in the configuration.
- On failure, responds with
SdkError<DescribeEventSourcesConfigError>
sourcepub fn describe_feedback(&self) -> DescribeFeedback
pub fn describe_feedback(&self) -> DescribeFeedback
Constructs a fluent builder for the DescribeFeedback operation.
- The fluent builder is configurable:
insight_id(impl Into<String>)/set_insight_id(Option<String>):The ID of the insight for which the feedback was provided.
- On success, responds with
DescribeFeedbackOutputwith field(s):insight_feedback(Option<InsightFeedback>):Information about insight feedback received from a customer.
- On failure, responds with
SdkError<DescribeFeedbackError>
sourcepub fn describe_insight(&self) -> DescribeInsight
pub fn describe_insight(&self) -> DescribeInsight
Constructs a fluent builder for the DescribeInsight operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the insight.
account_id(impl Into<String>)/set_account_id(Option<String>):The ID of the member account in the organization.
- On success, responds with
DescribeInsightOutputwith field(s):proactive_insight(Option<ProactiveInsight>):A
ProactiveInsightobject that represents the requested insight.reactive_insight(Option<ReactiveInsight>):A
ReactiveInsightobject that represents the requested insight.
- On failure, responds with
SdkError<DescribeInsightError>
sourcepub fn describe_organization_health(&self) -> DescribeOrganizationHealth
pub fn describe_organization_health(&self) -> DescribeOrganizationHealth
Constructs a fluent builder for the DescribeOrganizationHealth operation.
- The fluent builder is configurable:
account_ids(Vec<String>)/set_account_ids(Option<Vec<String>>):The ID of the Amazon Web Services account.
organizational_unit_ids(Vec<String>)/set_organizational_unit_ids(Option<Vec<String>>):The ID of the organizational unit.
- On success, responds with
DescribeOrganizationHealthOutputwith field(s):open_reactive_insights(i32):An integer that specifies the number of open reactive insights in your Amazon Web Services account.
open_proactive_insights(i32):An integer that specifies the number of open proactive insights in your Amazon Web Services account.
metrics_analyzed(i32):An integer that specifies the number of metrics that have been analyzed in your organization.
resource_hours(Option<i64>):The number of Amazon DevOps Guru resource analysis hours billed to the current Amazon Web Services account in the last hour.
- On failure, responds with
SdkError<DescribeOrganizationHealthError>
sourcepub fn describe_organization_overview(&self) -> DescribeOrganizationOverview
pub fn describe_organization_overview(&self) -> DescribeOrganizationOverview
Constructs a fluent builder for the DescribeOrganizationOverview operation.
- The fluent builder is configurable:
from_time(DateTime)/set_from_time(Option<DateTime>):The start of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred after this day.
to_time(DateTime)/set_to_time(Option<DateTime>):The end of the time range passed in. The start time granularity is at the day level. The floor of the start time is used. Returned information occurred before this day. If this is not specified, then the current day is used.
account_ids(Vec<String>)/set_account_ids(Option<Vec<String>>):The ID of the Amazon Web Services account.
organizational_unit_ids(Vec<String>)/set_organizational_unit_ids(Option<Vec<String>>):The ID of the organizational unit.
- On success, responds with
DescribeOrganizationOverviewOutputwith field(s):reactive_insights(i32):An integer that specifies the number of open reactive insights in your Amazon Web Services account.
proactive_insights(i32):An integer that specifies the number of open proactive insights in your Amazon Web Services account.
- On failure, responds with
SdkError<DescribeOrganizationOverviewError>
sourcepub fn describe_organization_resource_collection_health(
&self
) -> DescribeOrganizationResourceCollectionHealth
pub fn describe_organization_resource_collection_health(
&self
) -> DescribeOrganizationResourceCollectionHealth
Constructs a fluent builder for the DescribeOrganizationResourceCollectionHealth operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_resource_collection_type(OrganizationResourceCollectionType)/set_organization_resource_collection_type(Option<OrganizationResourceCollectionType>):An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
account_ids(Vec<String>)/set_account_ids(Option<Vec<String>>):The ID of the Amazon Web Services account.
organizational_unit_ids(Vec<String>)/set_organizational_unit_ids(Option<Vec<String>>):The ID of the organizational unit.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
- On success, responds with
DescribeOrganizationResourceCollectionHealthOutputwith field(s):cloud_formation(Option<Vec<CloudFormationHealth>>):The returned
CloudFormationHealthOverviewobject that contains anInsightHealthOverviewobject with the requested system health information.service(Option<Vec<ServiceHealth>>):An array of
ServiceHealthobjects that describes the health of the Amazon Web Services services associated with the resources in the collection.account(Option<Vec<AccountHealth>>):The name of the organization’s account.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
tags(Option<Vec<TagHealth>>):Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter,Environment,Project, orSecret). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333,Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-. The tag key might beDevops-guru-deployment-applicationorDevops-guru-rds-application. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rdsand a key namedDevOps-Guru-RDS. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.-
- On failure, responds with
SdkError<DescribeOrganizationResourceCollectionHealthError>
sourcepub fn describe_resource_collection_health(
&self
) -> DescribeResourceCollectionHealth
pub fn describe_resource_collection_health(
&self
) -> DescribeResourceCollectionHealth
Constructs a fluent builder for the DescribeResourceCollectionHealth operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_collection_type(ResourceCollectionType)/set_resource_collection_type(Option<ResourceCollectionType>):An Amazon Web Services resource collection type. This type specifies how analyzed Amazon Web Services resources are defined. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- On success, responds with
DescribeResourceCollectionHealthOutputwith field(s):cloud_formation(Option<Vec<CloudFormationHealth>>):The returned
CloudFormationHealthOverviewobject that contains anInsightHealthOverviewobject with the requested system health information.service(Option<Vec<ServiceHealth>>):An array of
ServiceHealthobjects that describes the health of the Amazon Web Services services associated with the resources in the collection.next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
tags(Option<Vec<TagHealth>>):The Amazon Web Services tags that are used by resources in the resource collection.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter,Environment,Project, orSecret). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333,Production, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix
Devops-guru-. The tag key might beDevops-guru-deployment-applicationorDevops-guru-rds-application. While keys are case-sensitive, the case of key characters don’t matter to DevOps Guru. For example, DevOps Guru works with a key nameddevops-guru-rdsand a key namedDevOps-Guru-RDS. Possible key/value pairs in your application might beDevops-Guru-production-application/RDSorDevops-Guru-production-application/containers.-
- On failure, responds with
SdkError<DescribeResourceCollectionHealthError>
sourcepub fn describe_service_integration(&self) -> DescribeServiceIntegration
pub fn describe_service_integration(&self) -> DescribeServiceIntegration
Constructs a fluent builder for the DescribeServiceIntegration operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
DescribeServiceIntegrationOutputwith field(s):service_integration(Option<ServiceIntegrationConfig>):Information about the integration of DevOps Guru with another Amazon Web Services service, such as Amazon Web Services Systems Manager.
- On failure, responds with
SdkError<DescribeServiceIntegrationError>
sourcepub fn get_cost_estimation(&self) -> GetCostEstimation
pub fn get_cost_estimation(&self) -> GetCostEstimation
Constructs a fluent builder for the GetCostEstimation operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- On success, responds with
GetCostEstimationOutputwith field(s):resource_collection(Option<CostEstimationResourceCollectionFilter>):The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
status(Option<CostEstimationStatus>):The status of creating this cost estimate. If it’s still in progress, the status
ONGOINGis returned. If it is finished, the statusCOMPLETEDis returned.costs(Option<Vec<ServiceResourceCost>>):An array of
ResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.time_range(Option<CostEstimationTimeRange>):The start and end time of the cost estimation.
total_cost(f64):The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated costs to analyze each resource in the
Costsobject in this response.next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<GetCostEstimationError>
sourcepub fn get_resource_collection(&self) -> GetResourceCollection
pub fn get_resource_collection(&self) -> GetResourceCollection
Constructs a fluent builder for the GetResourceCollection operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_collection_type(ResourceCollectionType)/set_resource_collection_type(Option<ResourceCollectionType>):The type of Amazon Web Services resource collections to return. The one valid value is
CLOUD_FORMATIONfor Amazon Web Services CloudFormation stacks.next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- On success, responds with
GetResourceCollectionOutputwith field(s):resource_collection(Option<ResourceCollectionFilter>):The requested list of Amazon Web Services resource collections. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<GetResourceCollectionError>
sourcepub fn list_anomalies_for_insight(&self) -> ListAnomaliesForInsight
pub fn list_anomalies_for_insight(&self) -> ListAnomaliesForInsight
Constructs a fluent builder for the ListAnomaliesForInsight operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
insight_id(impl Into<String>)/set_insight_id(Option<String>):The ID of the insight. The returned anomalies belong to this insight.
start_time_range(StartTimeRange)/set_start_time_range(Option<StartTimeRange>):A time range used to specify when the requested anomalies started. All returned anomalies started during this time range.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
account_id(impl Into<String>)/set_account_id(Option<String>):The ID of the Amazon Web Services account.
- On success, responds with
ListAnomaliesForInsightOutputwith field(s):proactive_anomalies(Option<Vec<ProactiveAnomalySummary>>):An array of
ProactiveAnomalySummaryobjects that represent the requested anomaliesreactive_anomalies(Option<Vec<ReactiveAnomalySummary>>):An array of
ReactiveAnomalySummaryobjects that represent the requested anomaliesnext_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<ListAnomaliesForInsightError>
sourcepub fn list_events(&self) -> ListEvents
pub fn list_events(&self) -> ListEvents
Constructs a fluent builder for the ListEvents operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filters(ListEventsFilters)/set_filters(Option<ListEventsFilters>):A
ListEventsFiltersobject used to specify which events to return.max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
account_id(impl Into<String>)/set_account_id(Option<String>):The ID of the Amazon Web Services account.
- On success, responds with
ListEventsOutputwith field(s):events(Option<Vec<Event>>):A list of the requested events.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<ListEventsError>
sourcepub fn list_insights(&self) -> ListInsights
pub fn list_insights(&self) -> ListInsights
Constructs a fluent builder for the ListInsights operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
status_filter(ListInsightsStatusFilter)/set_status_filter(Option<ListInsightsStatusFilter>):A filter used to filter the returned insights by their status. You can specify one status filter.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- On success, responds with
ListInsightsOutputwith field(s):proactive_insights(Option<Vec<ProactiveInsightSummary>>):The returned list of proactive insights.
reactive_insights(Option<Vec<ReactiveInsightSummary>>):The returned list of reactive insights.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<ListInsightsError>
sourcepub fn list_notification_channels(&self) -> ListNotificationChannels
pub fn list_notification_channels(&self) -> ListNotificationChannels
Constructs a fluent builder for the ListNotificationChannels operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- On success, responds with
ListNotificationChannelsOutputwith field(s):channels(Option<Vec<NotificationChannel>>):An array that contains the requested notification channels.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<ListNotificationChannelsError>
sourcepub fn list_organization_insights(&self) -> ListOrganizationInsights
pub fn list_organization_insights(&self) -> ListOrganizationInsights
Constructs a fluent builder for the ListOrganizationInsights operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
status_filter(ListInsightsStatusFilter)/set_status_filter(Option<ListInsightsStatusFilter>):A filter used by
ListInsightsto specify which insights to return.max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.account_ids(Vec<String>)/set_account_ids(Option<Vec<String>>):The ID of the Amazon Web Services account.
organizational_unit_ids(Vec<String>)/set_organizational_unit_ids(Option<Vec<String>>):The ID of the organizational unit.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
- On success, responds with
ListOrganizationInsightsOutputwith field(s):proactive_insights(Option<Vec<ProactiveOrganizationInsightSummary>>):An integer that specifies the number of open proactive insights in your Amazon Web Services account.
reactive_insights(Option<Vec<ReactiveOrganizationInsightSummary>>):An integer that specifies the number of open reactive insights in your Amazon Web Services account.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<ListOrganizationInsightsError>
sourcepub fn list_recommendations(&self) -> ListRecommendations
pub fn list_recommendations(&self) -> ListRecommendations
Constructs a fluent builder for the ListRecommendations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
insight_id(impl Into<String>)/set_insight_id(Option<String>):The ID of the requested insight.
next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
locale(Locale)/set_locale(Option<Locale>):A locale that specifies the language to use for recommendations.
account_id(impl Into<String>)/set_account_id(Option<String>):The ID of the Amazon Web Services account.
- On success, responds with
ListRecommendationsOutputwith field(s):recommendations(Option<Vec<Recommendation>>):An array of the requested recommendations.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<ListRecommendationsError>
sourcepub fn put_feedback(&self) -> PutFeedback
pub fn put_feedback(&self) -> PutFeedback
Constructs a fluent builder for the PutFeedback operation.
- The fluent builder is configurable:
insight_feedback(InsightFeedback)/set_insight_feedback(Option<InsightFeedback>):The feedback from customers is about the recommendations in this insight.
- On success, responds with
PutFeedbackOutput - On failure, responds with
SdkError<PutFeedbackError>
sourcepub fn remove_notification_channel(&self) -> RemoveNotificationChannel
pub fn remove_notification_channel(&self) -> RemoveNotificationChannel
Constructs a fluent builder for the RemoveNotificationChannel operation.
- The fluent builder is configurable:
id(impl Into<String>)/set_id(Option<String>):The ID of the notification channel to be removed.
- On success, responds with
RemoveNotificationChannelOutput - On failure, responds with
SdkError<RemoveNotificationChannelError>
sourcepub fn search_insights(&self) -> SearchInsights
pub fn search_insights(&self) -> SearchInsights
Constructs a fluent builder for the SearchInsights operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
start_time_range(StartTimeRange)/set_start_time_range(Option<StartTimeRange>):The start of the time range passed in. Returned insights occurred after this time.
filters(SearchInsightsFilters)/set_filters(Option<SearchInsightsFilters>):A
SearchInsightsFiltersobject that is used to set the severity and status filters on your insight search.max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
r#type(InsightType)/set_type(Option<InsightType>):The type of insights you are searching for (
REACTIVEorPROACTIVE).
- On success, responds with
SearchInsightsOutputwith field(s):proactive_insights(Option<Vec<ProactiveInsightSummary>>):The returned proactive insights.
reactive_insights(Option<Vec<ReactiveInsightSummary>>):The returned reactive insights.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<SearchInsightsError>
sourcepub fn search_organization_insights(&self) -> SearchOrganizationInsights
pub fn search_organization_insights(&self) -> SearchOrganizationInsights
Constructs a fluent builder for the SearchOrganizationInsights operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
account_ids(Vec<String>)/set_account_ids(Option<Vec<String>>):The ID of the Amazon Web Services account.
start_time_range(StartTimeRange)/set_start_time_range(Option<StartTimeRange>):A time range used to specify when the behavior of an insight or anomaly started.
filters(SearchOrganizationInsightsFilters)/set_filters(Option<SearchOrganizationInsightsFilters>):A
SearchOrganizationInsightsFiltersobject that is used to set the severity and status filters on your insight search.max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.next_token(impl Into<String>)/set_next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
r#type(InsightType)/set_type(Option<InsightType>):The type of insights you are searching for (
REACTIVEorPROACTIVE).
- On success, responds with
SearchOrganizationInsightsOutputwith field(s):proactive_insights(Option<Vec<ProactiveInsightSummary>>):An integer that specifies the number of open proactive insights in your Amazon Web Services account.
reactive_insights(Option<Vec<ReactiveInsightSummary>>):An integer that specifies the number of open reactive insights in your Amazon Web Services account.
next_token(Option<String>):The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- On failure, responds with
SdkError<SearchOrganizationInsightsError>
sourcepub fn start_cost_estimation(&self) -> StartCostEstimation
pub fn start_cost_estimation(&self) -> StartCostEstimation
Constructs a fluent builder for the StartCostEstimation operation.
- The fluent builder is configurable:
resource_collection(CostEstimationResourceCollectionFilter)/set_resource_collection(Option<CostEstimationResourceCollectionFilter>):The collection of Amazon Web Services resources used to create a monthly DevOps Guru cost estimate.
client_token(impl Into<String>)/set_client_token(Option<String>):The idempotency token used to identify each cost estimate request.
- On success, responds with
StartCostEstimationOutput - On failure, responds with
SdkError<StartCostEstimationError>
sourcepub fn update_event_sources_config(&self) -> UpdateEventSourcesConfig
pub fn update_event_sources_config(&self) -> UpdateEventSourcesConfig
Constructs a fluent builder for the UpdateEventSourcesConfig operation.
- The fluent builder is configurable:
event_sources(EventSourcesConfig)/set_event_sources(Option<EventSourcesConfig>):Configuration information about the integration of DevOps Guru as the Consumer via EventBridge with another AWS Service.
- On success, responds with
UpdateEventSourcesConfigOutput - On failure, responds with
SdkError<UpdateEventSourcesConfigError>
sourcepub fn update_resource_collection(&self) -> UpdateResourceCollection
pub fn update_resource_collection(&self) -> UpdateResourceCollection
Constructs a fluent builder for the UpdateResourceCollection operation.
- The fluent builder is configurable:
action(UpdateResourceCollectionAction)/set_action(Option<UpdateResourceCollectionAction>):Specifies if the resource collection in the request is added or deleted to the resource collection.
resource_collection(UpdateResourceCollectionFilter)/set_resource_collection(Option<UpdateResourceCollectionFilter>):Contains information used to update a collection of Amazon Web Services resources.
- On success, responds with
UpdateResourceCollectionOutput - On failure, responds with
SdkError<UpdateResourceCollectionError>
sourcepub fn update_service_integration(&self) -> UpdateServiceIntegration
pub fn update_service_integration(&self) -> UpdateServiceIntegration
Constructs a fluent builder for the UpdateServiceIntegration operation.
- The fluent builder is configurable:
service_integration(UpdateServiceIntegrationConfig)/set_service_integration(Option<UpdateServiceIntegrationConfig>):An
IntegratedServiceConfigobject used to specify the integrated service you want to update, and whether you want to update it to enabled or disabled.
- On success, responds with
UpdateServiceIntegrationOutput - On failure, responds with
SdkError<UpdateServiceIntegrationError>
sourceimpl Client
impl Client
sourcepub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
pub fn from_conf_conn<C, E>(conf: Config, conn: C) -> Self where
C: SmithyConnector<Error = E> + Send + 'static,
E: Into<ConnectorError>,
Creates a client with the given service config and connector override.
Trait Implementations
sourceimpl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
impl From<Client<DynConnector, DynMiddleware<DynConnector>, Standard>> for Client
sourcefn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
fn from(client: Client<DynConnector, DynMiddleware<DynConnector>>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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> 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