Struct aws_sdk_applicationdiscovery::client::Client
source · pub struct Client { /* private fields */ }Expand description
Client for AWS Application Discovery Service
Client for invoking operations on AWS Application Discovery Service. Each operation on AWS Application Discovery Service is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Constructing a Client
A Config is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env(), since this will resolve an SdkConfig which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env() instead, which returns a ConfigLoader that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_applicationdiscovery::Client::new(&config);Occasionally, SDKs may have additional service-specific that can be set on the Config that
is absent from SdkConfig, or slightly different settings for a specific client may be desired.
The Config struct implements From<&SdkConfig>, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_applicationdiscovery::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();See the aws-config docs and Config for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
Using the Client
A client has a function for every operation that can be performed by the service.
For example, the AssociateConfigurationItemsToApplication operation has
a Client::associate_configuration_items_to_application, function which returns a builder for that operation.
The fluent builder ultimately has a send() function that returns an async future that
returns a result, as illustrated below:
let result = client.associate_configuration_items_to_application()
.application_configuration_id("example")
.send()
.await;The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn associate_configuration_items_to_application(
&self
) -> AssociateConfigurationItemsToApplicationFluentBuilder
pub fn associate_configuration_items_to_application( &self ) -> AssociateConfigurationItemsToApplicationFluentBuilder
Constructs a fluent builder for the AssociateConfigurationItemsToApplication operation.
- The fluent builder is configurable:
application_configuration_id(impl ::std::convert::Into<String>)/set_application_configuration_id(Option<String>):The configuration ID of an application with which items are to be associated.
configuration_ids(Vec<String>)/set_configuration_ids(Option<Vec<String>>):The ID of each configuration item to be associated with an application.
- On success, responds with
AssociateConfigurationItemsToApplicationOutput - On failure, responds with
SdkError<AssociateConfigurationItemsToApplicationError>
source§impl Client
impl Client
sourcepub fn batch_delete_import_data(&self) -> BatchDeleteImportDataFluentBuilder
pub fn batch_delete_import_data(&self) -> BatchDeleteImportDataFluentBuilder
Constructs a fluent builder for the BatchDeleteImportData operation.
- The fluent builder is configurable:
import_task_ids(Vec<String>)/set_import_task_ids(Option<Vec<String>>):The IDs for the import tasks that you want to delete.
- On success, responds with
BatchDeleteImportDataOutputwith field(s):errors(Option<Vec<BatchDeleteImportDataError>>):Error messages returned for each import task that you deleted as a response for this command.
- On failure, responds with
SdkError<BatchDeleteImportDataError>
source§impl Client
impl Client
sourcepub fn create_application(&self) -> CreateApplicationFluentBuilder
pub fn create_application(&self) -> CreateApplicationFluentBuilder
Constructs a fluent builder for the CreateApplication operation.
- The fluent builder is configurable:
name(impl ::std::convert::Into<String>)/set_name(Option<String>):Name of the application to be created.
description(impl ::std::convert::Into<String>)/set_description(Option<String>):Description of the application to be created.
- On success, responds with
CreateApplicationOutputwith field(s):configuration_id(Option<String>):Configuration ID of an application to be created.
- On failure, responds with
SdkError<CreateApplicationError>
source§impl Client
impl Client
Constructs a fluent builder for the CreateTags operation.
- The fluent builder is configurable:
configuration_ids(Vec<String>)/set_configuration_ids(Option<Vec<String>>):A list of configuration items that you want to tag.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{“key”: “serverType”, “value”: “webServer”}
- On success, responds with
CreateTagsOutput - On failure, responds with
SdkError<CreateTagsError>
source§impl Client
impl Client
sourcepub fn delete_applications(&self) -> DeleteApplicationsFluentBuilder
pub fn delete_applications(&self) -> DeleteApplicationsFluentBuilder
Constructs a fluent builder for the DeleteApplications operation.
- The fluent builder is configurable:
configuration_ids(Vec<String>)/set_configuration_ids(Option<Vec<String>>):Configuration ID of an application to be deleted.
- On success, responds with
DeleteApplicationsOutput - On failure, responds with
SdkError<DeleteApplicationsError>
source§impl Client
impl Client
Constructs a fluent builder for the DeleteTags operation.
- The fluent builder is configurable:
configuration_ids(Vec<String>)/set_configuration_ids(Option<Vec<String>>):A list of configuration items with tags that you want to delete.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):Tags that you want to delete from one or more configuration items. Specify the tags that you want to delete in a key-value format. For example:
{“key”: “serverType”, “value”: “webServer”}
- On success, responds with
DeleteTagsOutput - On failure, responds with
SdkError<DeleteTagsError>
source§impl Client
impl Client
sourcepub fn describe_agents(&self) -> DescribeAgentsFluentBuilder
pub fn describe_agents(&self) -> DescribeAgentsFluentBuilder
Constructs a fluent builder for the DescribeAgents operation.
- The fluent builder is configurable:
agent_ids(Vec<String>)/set_agent_ids(Option<Vec<String>>):The agent or the collector IDs for which you want information. If you specify no IDs, the system returns information about all agents/collectors associated with your user.
filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):You can filter the request using various logical operators and a key-value format. For example:
{“key”: “collectionStatus”, “value”: “STARTED”}max_results(i32)/set_max_results(Option<i32>):The total number of agents/collectors to return in a single page of output. The maximum value is 100.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
DescribeAgentsRequest$agentIdsbut setDescribeAgentsRequest$maxResultsto 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
- On success, responds with
DescribeAgentsOutputwith field(s):agents_info(Option<Vec<AgentInfo>>):Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.
next_token(Option<String>):Token to retrieve the next set of results. For example, if you specified 100 IDs for
DescribeAgentsRequest$agentIdsbut setDescribeAgentsRequest$maxResultsto 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
- On failure, responds with
SdkError<DescribeAgentsError>
source§impl Client
impl Client
sourcepub fn describe_configurations(&self) -> DescribeConfigurationsFluentBuilder
pub fn describe_configurations(&self) -> DescribeConfigurationsFluentBuilder
Constructs a fluent builder for the DescribeConfigurations operation.
- The fluent builder is configurable:
configuration_ids(Vec<String>)/set_configuration_ids(Option<Vec<String>>):One or more configuration IDs.
- On success, responds with
DescribeConfigurationsOutputwith field(s):configurations(Option<Vec<HashMap<String, String>>>):A key in the response map. The value is an array of data.
- On failure, responds with
SdkError<DescribeConfigurationsError>
source§impl Client
impl Client
sourcepub fn describe_continuous_exports(
&self
) -> DescribeContinuousExportsFluentBuilder
pub fn describe_continuous_exports( &self ) -> DescribeContinuousExportsFluentBuilder
Constructs a fluent builder for the DescribeContinuousExports operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
export_ids(Vec<String>)/set_export_ids(Option<Vec<String>>):The unique IDs assigned to the exports.
max_results(i32)/set_max_results(Option<i32>):A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):The token from the previous call to
DescribeExportTasks.
- On success, responds with
DescribeContinuousExportsOutputwith field(s):descriptions(Option<Vec<ContinuousExportDescription>>):A list of continuous export descriptions.
next_token(Option<String>):The token from the previous call to
DescribeExportTasks.
- On failure, responds with
SdkError<DescribeContinuousExportsError>
source§impl Client
impl Client
sourcepub fn describe_export_configurations(
&self
) -> DescribeExportConfigurationsFluentBuilder
👎Deprecated
pub fn describe_export_configurations( &self ) -> DescribeExportConfigurationsFluentBuilder
Constructs a fluent builder for the DescribeExportConfigurations operation.
- The fluent builder is configurable:
export_ids(Vec<String>)/set_export_ids(Option<Vec<String>>):A list of continuous export IDs to search for.
max_results(i32)/set_max_results(Option<i32>):A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):The token from the previous call to describe-export-tasks.
- On success, responds with
DescribeExportConfigurationsOutputwith field(s):exports_info(Option<Vec<ExportInfo>>):next_token(Option<String>):The token from the previous call to describe-export-tasks.
- On failure, responds with
SdkError<DescribeExportConfigurationsError>
source§impl Client
impl Client
sourcepub fn describe_export_tasks(&self) -> DescribeExportTasksFluentBuilder
pub fn describe_export_tasks(&self) -> DescribeExportTasksFluentBuilder
Constructs a fluent builder for the DescribeExportTasks operation.
- The fluent builder is configurable:
export_ids(Vec<String>)/set_export_ids(Option<Vec<String>>):One or more unique identifiers used to query the status of an export request.
filters(Vec<ExportFilter>)/set_filters(Option<Vec<ExportFilter>>):One or more filters.
-
AgentId- ID of the agent whose collected data will be exported
-
max_results(i32)/set_max_results(Option<i32>):The maximum number of volume results returned by
DescribeExportTasksin paginated output. When this parameter is used,DescribeExportTasksonly returnsmaxResultsresults in a single page along with anextTokenresponse element.next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):The
nextTokenvalue returned from a previous paginatedDescribeExportTasksrequest 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 is null when there are no more results to return.
- On success, responds with
DescribeExportTasksOutputwith field(s):exports_info(Option<Vec<ExportInfo>>):Contains one or more sets of export request details. When the status of a request is
SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.next_token(Option<String>):The
nextTokenvalue to include in a futureDescribeExportTasksrequest. When the results of aDescribeExportTasksrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
- On failure, responds with
SdkError<DescribeExportTasksError>
source§impl Client
impl Client
sourcepub fn describe_import_tasks(&self) -> DescribeImportTasksFluentBuilder
pub fn describe_import_tasks(&self) -> DescribeImportTasksFluentBuilder
Constructs a fluent builder for the DescribeImportTasks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filters(Vec<ImportTaskFilter>)/set_filters(Option<Vec<ImportTaskFilter>>):An array of name-value pairs that you provide to filter the results for the
DescribeImportTaskrequest to a specific subset of results. Currently, wildcard values aren’t supported for filters.max_results(i32)/set_max_results(Option<i32>):The maximum number of results that you want this request to return, up to 100.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):The token to request a specific page of results.
- On success, responds with
DescribeImportTasksOutputwith field(s):next_token(Option<String>):The token to request the next page of results.
tasks(Option<Vec<ImportTask>>):A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
- On failure, responds with
SdkError<DescribeImportTasksError>
source§impl Client
impl Client
Constructs a fluent builder for the DescribeTags operation.
- The fluent builder is configurable:
filters(Vec<TagFilter>)/set_filters(Option<Vec<TagFilter>>):You can filter the list using a key-value format. You can separate these items by using logical operators. Allowed filters include
tagKey,tagValue, andconfigurationId.max_results(i32)/set_max_results(Option<i32>):The total number of items to return in a single page of output. The maximum value is 100.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):A token to start the list. Use this token to get the next set of results.
- On success, responds with
DescribeTagsOutputwith field(s):tags(Option<Vec<ConfigurationTag>>):Depending on the input, this is a list of configuration items tagged with a specific tag, or a list of tags for a specific configuration item.
next_token(Option<String>):The call returns a token. Use this token to get the next set of results.
- On failure, responds with
SdkError<DescribeTagsError>
source§impl Client
impl Client
sourcepub fn disassociate_configuration_items_from_application(
&self
) -> DisassociateConfigurationItemsFromApplicationFluentBuilder
pub fn disassociate_configuration_items_from_application( &self ) -> DisassociateConfigurationItemsFromApplicationFluentBuilder
Constructs a fluent builder for the DisassociateConfigurationItemsFromApplication operation.
- The fluent builder is configurable:
application_configuration_id(impl ::std::convert::Into<String>)/set_application_configuration_id(Option<String>):Configuration ID of an application from which each item is disassociated.
configuration_ids(Vec<String>)/set_configuration_ids(Option<Vec<String>>):Configuration ID of each item to be disassociated from an application.
- On success, responds with
DisassociateConfigurationItemsFromApplicationOutput - On failure, responds with
SdkError<DisassociateConfigurationItemsFromApplicationError>
source§impl Client
impl Client
sourcepub fn export_configurations(&self) -> ExportConfigurationsFluentBuilder
👎Deprecated
pub fn export_configurations(&self) -> ExportConfigurationsFluentBuilder
Constructs a fluent builder for the ExportConfigurations operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
ExportConfigurationsOutputwith field(s):export_id(Option<String>):A unique identifier that you can use to query the export status.
- On failure, responds with
SdkError<ExportConfigurationsError>
source§impl Client
impl Client
sourcepub fn get_discovery_summary(&self) -> GetDiscoverySummaryFluentBuilder
pub fn get_discovery_summary(&self) -> GetDiscoverySummaryFluentBuilder
Constructs a fluent builder for the GetDiscoverySummary operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetDiscoverySummaryOutputwith field(s):servers(i64):The number of servers discovered.
applications(i64):The number of applications discovered.
servers_mapped_to_applications(i64):The number of servers mapped to applications.
servers_mappedto_tags(i64):The number of servers mapped to tags.
agent_summary(Option<CustomerAgentInfo>):Details about discovered agents, including agent status and health.
connector_summary(Option<CustomerConnectorInfo>):Details about discovered connectors, including connector status and health.
me_collector_summary(Option<CustomerMeCollectorInfo>):Details about Migration Evaluator collectors, including collector status and health.
agentless_collector_summary(Option<CustomerAgentlessCollectorInfo>):Details about Agentless Collector collectors, including status.
- On failure, responds with
SdkError<GetDiscoverySummaryError>
source§impl Client
impl Client
sourcepub fn list_configurations(&self) -> ListConfigurationsFluentBuilder
pub fn list_configurations(&self) -> ListConfigurationsFluentBuilder
Constructs a fluent builder for the ListConfigurations operation.
- The fluent builder is configurable:
configuration_type(ConfigurationItemType)/set_configuration_type(Option<ConfigurationItemType>):A valid configuration identified by Application Discovery Service.
filters(Vec<Filter>)/set_filters(Option<Vec<Filter>>):You can filter the request using various logical operators and a key-value format. For example:
{“key”: “serverType”, “value”: “webServer”}For a complete list of filter options and guidance about using them with this action, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
max_results(i32)/set_max_results(Option<i32>):The total number of items to return. The maximum value is 100.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):Token to retrieve the next set of results. For example, if a previous call to ListConfigurations returned 100 items, but you set
ListConfigurationsRequest$maxResultsto 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.order_by(Vec<OrderByElement>)/set_order_by(Option<Vec<OrderByElement>>):Certain filter criteria return output that can be sorted in ascending or descending order. For a list of output characteristics for each filter, see Using the ListConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.
- On success, responds with
ListConfigurationsOutputwith field(s):configurations(Option<Vec<HashMap<String, String>>>):Returns configuration details, including the configuration ID, attribute names, and attribute values.
next_token(Option<String>):Token to retrieve the next set of results. For example, if your call to ListConfigurations returned 100 items, but you set
ListConfigurationsRequest$maxResultsto 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.
- On failure, responds with
SdkError<ListConfigurationsError>
source§impl Client
impl Client
sourcepub fn list_server_neighbors(&self) -> ListServerNeighborsFluentBuilder
pub fn list_server_neighbors(&self) -> ListServerNeighborsFluentBuilder
Constructs a fluent builder for the ListServerNeighbors operation.
- The fluent builder is configurable:
configuration_id(impl ::std::convert::Into<String>)/set_configuration_id(Option<String>):Configuration ID of the server for which neighbors are being listed.
port_information_needed(bool)/set_port_information_needed(Option<bool>):Flag to indicate if port and protocol information is needed as part of the response.
neighbor_configuration_ids(Vec<String>)/set_neighbor_configuration_ids(Option<Vec<String>>):List of configuration IDs to test for one-hop-away.
max_results(i32)/set_max_results(Option<i32>):Maximum number of results to return in a single page of output.
next_token(impl ::std::convert::Into<String>)/set_next_token(Option<String>):Token to retrieve the next set of results. For example, if you previously specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIdsbut setListServerNeighborsRequest$maxResultsto 10, you received a set of 10 results along with a token. Use that token in this query to get the next set of 10.
- On success, responds with
ListServerNeighborsOutputwith field(s):neighbors(Option<Vec<NeighborConnectionDetail>>):List of distinct servers that are one hop away from the given server.
next_token(Option<String>):Token to retrieve the next set of results. For example, if you specified 100 IDs for
ListServerNeighborsRequest$neighborConfigurationIdsbut setListServerNeighborsRequest$maxResultsto 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.known_dependency_count(i64):Count of distinct servers that are one hop away from the given server.
- On failure, responds with
SdkError<ListServerNeighborsError>
source§impl Client
impl Client
sourcepub fn start_continuous_export(&self) -> StartContinuousExportFluentBuilder
pub fn start_continuous_export(&self) -> StartContinuousExportFluentBuilder
Constructs a fluent builder for the StartContinuousExport operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
StartContinuousExportOutputwith field(s):export_id(Option<String>):The unique ID assigned to this export.
s3_bucket(Option<String>):The name of the s3 bucket where the export data parquet files are stored.
start_time(Option<DateTime>):The timestamp representing when the continuous export was started.
data_source(Option<DataSource>):The type of data collector used to gather this data (currently only offered for AGENT).
schema_storage_config(Option<HashMap<String, String>>):A dictionary which describes how the data is stored.
-
databaseName- the name of the Glue database used to store the schema.
-
- On failure, responds with
SdkError<StartContinuousExportError>
source§impl Client
impl Client
sourcepub fn start_data_collection_by_agent_ids(
&self
) -> StartDataCollectionByAgentIdsFluentBuilder
pub fn start_data_collection_by_agent_ids( &self ) -> StartDataCollectionByAgentIdsFluentBuilder
Constructs a fluent builder for the StartDataCollectionByAgentIds operation.
- The fluent builder is configurable:
agent_ids(Vec<String>)/set_agent_ids(Option<Vec<String>>):The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the Description field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows
Failedin the Description field.
- On success, responds with
StartDataCollectionByAgentIdsOutputwith field(s):agents_configuration_status(Option<Vec<AgentConfigurationStatus>>):Information about agents that were instructed to start collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
- On failure, responds with
SdkError<StartDataCollectionByAgentIdsError>
source§impl Client
impl Client
sourcepub fn start_export_task(&self) -> StartExportTaskFluentBuilder
pub fn start_export_task(&self) -> StartExportTaskFluentBuilder
Constructs a fluent builder for the StartExportTask operation.
- The fluent builder is configurable:
export_data_format(Vec<ExportDataFormat>)/set_export_data_format(Option<Vec<ExportDataFormat>>):The file format for the returned export data. Default value is
CSV. Note: TheGRAPHMLoption has been deprecated.filters(Vec<ExportFilter>)/set_filters(Option<Vec<ExportFilter>>):If a filter is present, it selects the single
agentIdof the Application Discovery Agent for which data is exported. TheagentIdcan be found in the results of theDescribeAgentsAPI or CLI. If no filter is present,startTimeandendTimeare ignored and exported data includes both Amazon Web Services Application Discovery Service Agentless Collector collectors data and summary data from Application Discovery Agent agents.start_time(DateTime)/set_start_time(Option<DateTime>):The start timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, data is exported starting from the first data collected by the agent.
end_time(DateTime)/set_end_time(Option<DateTime>):The end timestamp for exported data from the single Application Discovery Agent selected in the filters. If no value is specified, exported data includes the most recent data collected by the agent.
preferences(ExportPreferences)/set_preferences(Option<ExportPreferences>):Indicates the type of data that needs to be exported. Only one ExportPreferences can be enabled at any time.
- On success, responds with
StartExportTaskOutputwith field(s):export_id(Option<String>):A unique identifier used to query the status of an export request.
- On failure, responds with
SdkError<StartExportTaskError>
source§impl Client
impl Client
sourcepub fn start_import_task(&self) -> StartImportTaskFluentBuilder
pub fn start_import_task(&self) -> StartImportTaskFluentBuilder
Constructs a fluent builder for the StartImportTask operation.
- The fluent builder is configurable:
client_request_token(impl ::std::convert::Into<String>)/set_client_request_token(Option<String>):Optional. A unique token that you can provide to prevent the same import request from occurring more than once. If you don’t provide a token, a token is automatically generated.
Sending more than one
StartImportTaskrequest with the same client request token will return information about the original import task with that client request token.name(impl ::std::convert::Into<String>)/set_name(Option<String>):A descriptive name for this request. You can use this name to filter future requests related to this import task, such as identifying applications and servers that were included in this import task. We recommend that you use a meaningful name for each import task.
import_url(impl ::std::convert::Into<String>)/set_import_url(Option<String>):The URL for your import file that you’ve uploaded to Amazon S3.
If you’re using the Amazon Web Services CLI, this URL is structured as follows:
s3://BucketName/ImportFileName.CSV
- On success, responds with
StartImportTaskOutputwith field(s):task(Option<ImportTask>):An array of information related to the import task request including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
- On failure, responds with
SdkError<StartImportTaskError>
source§impl Client
impl Client
sourcepub fn stop_continuous_export(&self) -> StopContinuousExportFluentBuilder
pub fn stop_continuous_export(&self) -> StopContinuousExportFluentBuilder
Constructs a fluent builder for the StopContinuousExport operation.
- The fluent builder is configurable:
export_id(impl ::std::convert::Into<String>)/set_export_id(Option<String>):The unique ID assigned to this export.
- On success, responds with
StopContinuousExportOutputwith field(s):start_time(Option<DateTime>):Timestamp that represents when this continuous export started collecting data.
stop_time(Option<DateTime>):Timestamp that represents when this continuous export was stopped.
- On failure, responds with
SdkError<StopContinuousExportError>
source§impl Client
impl Client
sourcepub fn stop_data_collection_by_agent_ids(
&self
) -> StopDataCollectionByAgentIdsFluentBuilder
pub fn stop_data_collection_by_agent_ids( &self ) -> StopDataCollectionByAgentIdsFluentBuilder
Constructs a fluent builder for the StopDataCollectionByAgentIds operation.
- The fluent builder is configurable:
agent_ids(Vec<String>)/set_agent_ids(Option<Vec<String>>):The IDs of the agents from which to stop collecting data.
- On success, responds with
StopDataCollectionByAgentIdsOutputwith field(s):agents_configuration_status(Option<Vec<AgentConfigurationStatus>>):Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
- On failure, responds with
SdkError<StopDataCollectionByAgentIdsError>
source§impl Client
impl Client
sourcepub fn update_application(&self) -> UpdateApplicationFluentBuilder
pub fn update_application(&self) -> UpdateApplicationFluentBuilder
Constructs a fluent builder for the UpdateApplication operation.
- The fluent builder is configurable:
configuration_id(impl ::std::convert::Into<String>)/set_configuration_id(Option<String>):Configuration ID of the application to be updated.
name(impl ::std::convert::Into<String>)/set_name(Option<String>):New name of the application to be updated.
description(impl ::std::convert::Into<String>)/set_description(Option<String>):New description of the application to be updated.
- On success, responds with
UpdateApplicationOutput - On failure, responds with
SdkError<UpdateApplicationError>
source§impl Client
impl Client
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
Panics
- This method will panic if the
confis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
confis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.