Struct aws_sdk_applicationinsights::client::Client
source · [−]pub struct Client { /* private fields */ }Expand description
Client for Amazon CloudWatch Application Insights
Client for invoking operations on Amazon CloudWatch Application Insights. Each operation on Amazon CloudWatch Application Insights 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_applicationinsights::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_applicationinsights::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_applicationinsights::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 create_application(&self) -> CreateApplication
pub fn create_application(&self) -> CreateApplication
Constructs a fluent builder for the CreateApplication operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
ops_center_enabled(bool)/set_ops_center_enabled(Option<bool>):When set to
true, creates opsItems for any problems detected on an application.cwe_monitor_enabled(bool)/set_cwe_monitor_enabled(Option<bool>):Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated,failed deployment, and others.ops_item_sns_topic_arn(impl Into<String>)/set_ops_item_sns_topic_arn(Option<String>):The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):List of tags to add to the application. tag key (
Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.auto_config_enabled(bool)/set_auto_config_enabled(Option<bool>): (undocumented)auto_create(bool)/set_auto_create(Option<bool>): (undocumented)
- On success, responds with
CreateApplicationOutputwith field(s):application_info(Option<ApplicationInfo>):Information about the application.
- On failure, responds with
SdkError<CreateApplicationError>
sourcepub fn create_component(&self) -> CreateComponent
pub fn create_component(&self) -> CreateComponent
Constructs a fluent builder for the CreateComponent operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
resource_list(Vec<String>)/set_resource_list(Option<Vec<String>>):The list of resource ARNs that belong to the component.
- On success, responds with
CreateComponentOutput - On failure, responds with
SdkError<CreateComponentError>
sourcepub fn create_log_pattern(&self) -> CreateLogPattern
pub fn create_log_pattern(&self) -> CreateLogPattern
Constructs a fluent builder for the CreateLogPattern operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
pattern_set_name(impl Into<String>)/set_pattern_set_name(Option<String>):The name of the log pattern set.
pattern_name(impl Into<String>)/set_pattern_name(Option<String>):The name of the log pattern.
pattern(impl Into<String>)/set_pattern(Option<String>):The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
rank(i32)/set_rank(i32):Rank of the log pattern. Must be a value between
1and1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank1will be the first to get matched to a log line. A pattern of rank1,000,000will be last to get matched. When you configure custom log patterns from the console, aLowseverity pattern translates to a750,000rank. AMediumseverity pattern translates to a500,000rank. And aHighseverity pattern translates to a250,000rank. Rank values less than1or greater than1,000,000are reserved for AWS-provided patterns.
- On success, responds with
CreateLogPatternOutputwith field(s):log_pattern(Option<LogPattern>):The successfully created log pattern.
resource_group_name(Option<String>):The name of the resource group.
- On failure, responds with
SdkError<CreateLogPatternError>
sourcepub fn delete_application(&self) -> DeleteApplication
pub fn delete_application(&self) -> DeleteApplication
Constructs a fluent builder for the DeleteApplication operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
- On success, responds with
DeleteApplicationOutput - On failure, responds with
SdkError<DeleteApplicationError>
sourcepub fn delete_component(&self) -> DeleteComponent
pub fn delete_component(&self) -> DeleteComponent
Constructs a fluent builder for the DeleteComponent operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
- On success, responds with
DeleteComponentOutput - On failure, responds with
SdkError<DeleteComponentError>
sourcepub fn delete_log_pattern(&self) -> DeleteLogPattern
pub fn delete_log_pattern(&self) -> DeleteLogPattern
Constructs a fluent builder for the DeleteLogPattern operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
pattern_set_name(impl Into<String>)/set_pattern_set_name(Option<String>):The name of the log pattern set.
pattern_name(impl Into<String>)/set_pattern_name(Option<String>):The name of the log pattern.
- On success, responds with
DeleteLogPatternOutput - On failure, responds with
SdkError<DeleteLogPatternError>
sourcepub fn describe_application(&self) -> DescribeApplication
pub fn describe_application(&self) -> DescribeApplication
Constructs a fluent builder for the DescribeApplication operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
- On success, responds with
DescribeApplicationOutputwith field(s):application_info(Option<ApplicationInfo>):Information about the application.
- On failure, responds with
SdkError<DescribeApplicationError>
sourcepub fn describe_component(&self) -> DescribeComponent
pub fn describe_component(&self) -> DescribeComponent
Constructs a fluent builder for the DescribeComponent operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
- On success, responds with
DescribeComponentOutputwith field(s):application_component(Option<ApplicationComponent>):Describes a standalone resource or similarly grouped resources that the application is made up of.
resource_list(Option<Vec<String>>):The list of resource ARNs that belong to the component.
- On failure, responds with
SdkError<DescribeComponentError>
sourcepub fn describe_component_configuration(&self) -> DescribeComponentConfiguration
pub fn describe_component_configuration(&self) -> DescribeComponentConfiguration
Constructs a fluent builder for the DescribeComponentConfiguration operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
- On success, responds with
DescribeComponentConfigurationOutputwith field(s):monitor(Option<bool>):Indicates whether the application component is monitored.
tier(Option<Tier>):The tier of the application component. Supported tiers include
DOT_NET_CORE,DOT_NET_WORKER,DOT_NET_WEB,SQL_SERVER, andDEFAULTcomponent_configuration(Option<String>):The configuration settings of the component. The value is the escaped JSON of the configuration.
- On failure, responds with
SdkError<DescribeComponentConfigurationError>
sourcepub fn describe_component_configuration_recommendation(
&self
) -> DescribeComponentConfigurationRecommendation
pub fn describe_component_configuration_recommendation(
&self
) -> DescribeComponentConfigurationRecommendation
Constructs a fluent builder for the DescribeComponentConfigurationRecommendation operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
tier(Tier)/set_tier(Option<Tier>):The tier of the application component. Supported tiers include
DOT_NET_CORE,DOT_NET_WORKER,DOT_NET_WEB,SQL_SERVER, andDEFAULT.
- On success, responds with
DescribeComponentConfigurationRecommendationOutputwith field(s):component_configuration(Option<String>):The recommended configuration settings of the component. The value is the escaped JSON of the configuration.
- On failure, responds with
SdkError<DescribeComponentConfigurationRecommendationError>
sourcepub fn describe_log_pattern(&self) -> DescribeLogPattern
pub fn describe_log_pattern(&self) -> DescribeLogPattern
Constructs a fluent builder for the DescribeLogPattern operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
pattern_set_name(impl Into<String>)/set_pattern_set_name(Option<String>):The name of the log pattern set.
pattern_name(impl Into<String>)/set_pattern_name(Option<String>):The name of the log pattern.
- On success, responds with
DescribeLogPatternOutputwith field(s):resource_group_name(Option<String>):The name of the resource group.
log_pattern(Option<LogPattern>):The successfully created log pattern.
- On failure, responds with
SdkError<DescribeLogPatternError>
sourcepub fn describe_observation(&self) -> DescribeObservation
pub fn describe_observation(&self) -> DescribeObservation
Constructs a fluent builder for the DescribeObservation operation.
- The fluent builder is configurable:
observation_id(impl Into<String>)/set_observation_id(Option<String>):The ID of the observation.
- On success, responds with
DescribeObservationOutputwith field(s):observation(Option<Observation>):Information about the observation.
- On failure, responds with
SdkError<DescribeObservationError>
sourcepub fn describe_problem(&self) -> DescribeProblem
pub fn describe_problem(&self) -> DescribeProblem
Constructs a fluent builder for the DescribeProblem operation.
- The fluent builder is configurable:
problem_id(impl Into<String>)/set_problem_id(Option<String>):The ID of the problem.
- On success, responds with
DescribeProblemOutputwith field(s):problem(Option<Problem>):Information about the problem.
- On failure, responds with
SdkError<DescribeProblemError>
sourcepub fn describe_problem_observations(&self) -> DescribeProblemObservations
pub fn describe_problem_observations(&self) -> DescribeProblemObservations
Constructs a fluent builder for the DescribeProblemObservations operation.
- The fluent builder is configurable:
problem_id(impl Into<String>)/set_problem_id(Option<String>):The ID of the problem.
- On success, responds with
DescribeProblemObservationsOutputwith field(s):related_observations(Option<RelatedObservations>):Observations related to the problem.
- On failure, responds with
SdkError<DescribeProblemObservationsError>
sourcepub fn list_applications(&self) -> ListApplications
pub fn list_applications(&self) -> ListApplications
Constructs a fluent builder for the ListApplications operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return in 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 token to request the next page of results.
- On success, responds with
ListApplicationsOutputwith field(s):application_info_list(Option<Vec<ApplicationInfo>>):The list of applications.
next_token(Option<String>):The token used to retrieve the next page of results. This value is
nullwhen there are no more results to return.
- On failure, responds with
SdkError<ListApplicationsError>
sourcepub fn list_components(&self) -> ListComponents
pub fn list_components(&self) -> ListComponents
Constructs a fluent builder for the ListComponents operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return in 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 token to request the next page of results.
- On success, responds with
ListComponentsOutputwith field(s):application_component_list(Option<Vec<ApplicationComponent>>):The list of application components.
next_token(Option<String>):The token to request the next page of results.
- On failure, responds with
SdkError<ListComponentsError>
sourcepub fn list_configuration_history(&self) -> ListConfigurationHistory
pub fn list_configuration_history(&self) -> ListConfigurationHistory
Constructs a fluent builder for the ListConfigurationHistory operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):Resource group to which the application belongs.
start_time(DateTime)/set_start_time(Option<DateTime>):The start time of the event.
end_time(DateTime)/set_end_time(Option<DateTime>):The end time of the event.
event_status(ConfigurationEventStatus)/set_event_status(Option<ConfigurationEventStatus>):The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results returned by
ListConfigurationHistoryin paginated output. When this parameter is used,ListConfigurationHistoryreturns onlyMaxResultsin a single page along with aNextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListConfigurationHistoryrequest with the returnedNextTokenvalue. If this parameter is not used, thenListConfigurationHistoryreturns all results.next_token(impl Into<String>)/set_next_token(Option<String>):The
NextTokenvalue returned from a previous paginatedListConfigurationHistoryrequest whereMaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned theNextTokenvalue. This value isnullwhen there are no more results to return.
- On success, responds with
ListConfigurationHistoryOutputwith field(s):event_list(Option<Vec<ConfigurationEvent>>):The list of configuration events and their corresponding details.
next_token(Option<String>):The
NextTokenvalue to include in a futureListConfigurationHistoryrequest. When the results of aListConfigurationHistoryrequest exceedMaxResults, this value can be used to retrieve the next page of results. This value isnullwhen there are no more results to return.
- On failure, responds with
SdkError<ListConfigurationHistoryError>
sourcepub fn list_log_patterns(&self) -> ListLogPatterns
pub fn list_log_patterns(&self) -> ListLogPatterns
Constructs a fluent builder for the ListLogPatterns operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
pattern_set_name(impl Into<String>)/set_pattern_set_name(Option<String>):The name of the log pattern set.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return in 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 token to request the next page of results.
- On success, responds with
ListLogPatternsOutputwith field(s):resource_group_name(Option<String>):The name of the resource group.
log_patterns(Option<Vec<LogPattern>>):The list of log patterns.
next_token(Option<String>):The token used to retrieve the next page of results. This value is
nullwhen there are no more results to return.
- On failure, responds with
SdkError<ListLogPatternsError>
sourcepub fn list_log_pattern_sets(&self) -> ListLogPatternSets
pub fn list_log_pattern_sets(&self) -> ListLogPatternSets
Constructs a fluent builder for the ListLogPatternSets operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return in 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 token to request the next page of results.
- On success, responds with
ListLogPatternSetsOutputwith field(s):resource_group_name(Option<String>):The name of the resource group.
log_pattern_sets(Option<Vec<String>>):The list of log pattern sets.
next_token(Option<String>):The token used to retrieve the next page of results. This value is
nullwhen there are no more results to return.
- On failure, responds with
SdkError<ListLogPatternSetsError>
sourcepub fn list_problems(&self) -> ListProblems
pub fn list_problems(&self) -> ListProblems
Constructs a fluent builder for the ListProblems operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
start_time(DateTime)/set_start_time(Option<DateTime>):The time when the problem was detected, in epoch seconds. If you don’t specify a time frame for the request, problems within the past seven days are returned.
end_time(DateTime)/set_end_time(Option<DateTime>):The time when the problem ended, in epoch seconds. If not specified, problems within the past seven days are returned.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to return in 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 token to request the next page of results.
component_name(impl Into<String>)/set_component_name(Option<String>): (undocumented)
- On success, responds with
ListProblemsOutputwith field(s):problem_list(Option<Vec<Problem>>):The list of problems.
next_token(Option<String>):The token used to retrieve the next page of results. This value is
nullwhen there are no more results to return.resource_group_name(Option<String>): (undocumented)
- On failure, responds with
SdkError<ListProblemsError>
Constructs a fluent builder for the ListTagsForResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the application that you want to retrieve tag information for.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<Vec<Tag>>):An array that lists all the tags that are associated with the application. Each tag consists of a required tag key (
Key) and an associated tag value (Value).
- On failure, responds with
SdkError<ListTagsForResourceError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the application that you want to add one or more tags to.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of tags that to add to the application. A tag consists of a required tag key (
Key) and an associated tag value (Value). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) of the application that you want to remove one or more tags from.
tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):The tags (tag keys) that you want to remove from the resource. When you specify a tag key, the action removes both that key and its associated tag value.
To remove more than one tag from the application, append the
TagKeysparameter and argument for each additional tag to remove, separated by an ampersand.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
sourcepub fn update_application(&self) -> UpdateApplication
pub fn update_application(&self) -> UpdateApplication
Constructs a fluent builder for the UpdateApplication operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
ops_center_enabled(bool)/set_ops_center_enabled(Option<bool>):When set to
true, creates opsItems for any problems detected on an application.cwe_monitor_enabled(bool)/set_cwe_monitor_enabled(Option<bool>):Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as
instance terminated,failed deployment, and others.ops_item_sns_topic_arn(impl Into<String>)/set_ops_item_sns_topic_arn(Option<String>):The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
remove_sns_topic(bool)/set_remove_sns_topic(Option<bool>):Disassociates the SNS topic from the opsItem created for detected problems.
auto_config_enabled(bool)/set_auto_config_enabled(Option<bool>): (undocumented)
- On success, responds with
UpdateApplicationOutputwith field(s):application_info(Option<ApplicationInfo>):Information about the application.
- On failure, responds with
SdkError<UpdateApplicationError>
sourcepub fn update_component(&self) -> UpdateComponent
pub fn update_component(&self) -> UpdateComponent
Constructs a fluent builder for the UpdateComponent operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
new_component_name(impl Into<String>)/set_new_component_name(Option<String>):The new name of the component.
resource_list(Vec<String>)/set_resource_list(Option<Vec<String>>):The list of resource ARNs that belong to the component.
- On success, responds with
UpdateComponentOutput - On failure, responds with
SdkError<UpdateComponentError>
sourcepub fn update_component_configuration(&self) -> UpdateComponentConfiguration
pub fn update_component_configuration(&self) -> UpdateComponentConfiguration
Constructs a fluent builder for the UpdateComponentConfiguration operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
component_name(impl Into<String>)/set_component_name(Option<String>):The name of the component.
monitor(bool)/set_monitor(Option<bool>):Indicates whether the application component is monitored.
tier(Tier)/set_tier(Option<Tier>):The tier of the application component. Supported tiers include
DOT_NET_WORKER,DOT_NET_WEB,DOT_NET_CORE,SQL_SERVER, andDEFAULT.component_configuration(impl Into<String>)/set_component_configuration(Option<String>):The configuration settings of the component. The value is the escaped JSON of the configuration. For more information about the JSON format, see Working with JSON. You can send a request to
DescribeComponentConfigurationRecommendationto see the recommended configuration for a component. For the complete format of the component configuration file, see Component Configuration.auto_config_enabled(bool)/set_auto_config_enabled(Option<bool>): (undocumented)
- On success, responds with
UpdateComponentConfigurationOutput - On failure, responds with
SdkError<UpdateComponentConfigurationError>
sourcepub fn update_log_pattern(&self) -> UpdateLogPattern
pub fn update_log_pattern(&self) -> UpdateLogPattern
Constructs a fluent builder for the UpdateLogPattern operation.
- The fluent builder is configurable:
resource_group_name(impl Into<String>)/set_resource_group_name(Option<String>):The name of the resource group.
pattern_set_name(impl Into<String>)/set_pattern_set_name(Option<String>):The name of the log pattern set.
pattern_name(impl Into<String>)/set_pattern_name(Option<String>):The name of the log pattern.
pattern(impl Into<String>)/set_pattern(Option<String>):The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
rank(i32)/set_rank(i32):Rank of the log pattern. Must be a value between
1and1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank1will be the first to get matched to a log line. A pattern of rank1,000,000will be last to get matched. When you configure custom log patterns from the console, aLowseverity pattern translates to a750,000rank. AMediumseverity pattern translates to a500,000rank. And aHighseverity pattern translates to a250,000rank. Rank values less than1or greater than1,000,000are reserved for AWS-provided patterns.
- On success, responds with
UpdateLogPatternOutputwith field(s):resource_group_name(Option<String>):The name of the resource group.
log_pattern(Option<LogPattern>):The successfully created log pattern.
- On failure, responds with
SdkError<UpdateLogPatternError>
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
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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