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::retry::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§

Creates a client with the given service configuration.

Returns the client’s configuration.

Constructs a fluent builder for the AddNotificationChannel operation.

Constructs a fluent builder for the DeleteInsight operation.

Constructs a fluent builder for the DescribeAccountHealth operation.

Constructs a fluent builder for the DescribeAccountOverview operation.

Constructs a fluent builder for the DescribeAnomaly operation.

Constructs a fluent builder for the DescribeEventSourcesConfig operation.

Constructs a fluent builder for the DescribeFeedback operation.

Constructs a fluent builder for the DescribeInsight operation.

Constructs a fluent builder for the DescribeOrganizationHealth operation.

Constructs a fluent builder for the DescribeOrganizationOverview operation.

Constructs a fluent builder for the DescribeOrganizationResourceCollectionHealth operation. This operation supports pagination; See into_paginator().

  • The fluent builder is configurable:
  • On success, responds with DescribeOrganizationResourceCollectionHealthOutput with field(s):
    • cloud_formation(Option<Vec<CloudFormationHealth>>):

      The returned CloudFormationHealthOverview object that contains an InsightHealthOverview object with the requested system health information.

    • service(Option<Vec<ServiceHealth>>):

      An array of ServiceHealth objects 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, or Secret). 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 be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.

  • On failure, responds with SdkError<DescribeOrganizationResourceCollectionHealthError>

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 DescribeResourceCollectionHealthOutput with field(s):
    • cloud_formation(Option<Vec<CloudFormationHealth>>):

      The returned CloudFormationHealthOverview object that contains an InsightHealthOverview object with the requested system health information.

    • service(Option<Vec<ServiceHealth>>):

      An array of ServiceHealth objects 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, or Secret). 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 be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.

  • On failure, responds with SdkError<DescribeResourceCollectionHealthError>

Constructs a fluent builder for the DescribeServiceIntegration operation.

Constructs a fluent builder for the GetCostEstimation operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the GetResourceCollection operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListAnomaliesForInsight operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListAnomalousLogGroups operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListEvents operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListInsights operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListMonitoredResources operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListNotificationChannels operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListOrganizationInsights operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the ListRecommendations operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the PutFeedback operation.

Constructs a fluent builder for the RemoveNotificationChannel operation.

Constructs a fluent builder for the SearchInsights operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the SearchOrganizationInsights operation. This operation supports pagination; See into_paginator().

Constructs a fluent builder for the StartCostEstimation operation.

Constructs a fluent builder for the UpdateEventSourcesConfig operation.

Constructs a fluent builder for the UpdateResourceCollection operation.

Constructs a fluent builder for the UpdateServiceIntegration operation.

Creates a new client from an SDK Config.

Panics
  • This method will panic if the sdk_config is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the sdk_config is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Creates a new client from the service Config.

Panics
  • This method will panic if the conf is missing an async sleep implementation. If you experience this panic, set the sleep_impl on the Config passed into this function to fix it.
  • This method will panic if the conf is missing an HTTP connector. If you experience this panic, set the http_connector on the Config passed into this function to fix it.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more