Struct aws_sdk_applicationdiscovery::operation::start_data_collection_by_agent_ids::StartDataCollectionByAgentIdsInput
source · #[non_exhaustive]pub struct StartDataCollectionByAgentIdsInput {
pub agent_ids: Option<Vec<String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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 Failed in the Description field.
Implementations§
source§impl StartDataCollectionByAgentIdsInput
impl StartDataCollectionByAgentIdsInput
sourcepub fn agent_ids(&self) -> &[String]
pub fn agent_ids(&self) -> &[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 Failed in the Description field.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_ids.is_none().
source§impl StartDataCollectionByAgentIdsInput
impl StartDataCollectionByAgentIdsInput
sourcepub fn builder() -> StartDataCollectionByAgentIdsInputBuilder
pub fn builder() -> StartDataCollectionByAgentIdsInputBuilder
Creates a new builder-style object to manufacture StartDataCollectionByAgentIdsInput.
Trait Implementations§
source§impl Clone for StartDataCollectionByAgentIdsInput
impl Clone for StartDataCollectionByAgentIdsInput
source§fn clone(&self) -> StartDataCollectionByAgentIdsInput
fn clone(&self) -> StartDataCollectionByAgentIdsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for StartDataCollectionByAgentIdsInput
impl PartialEq for StartDataCollectionByAgentIdsInput
source§fn eq(&self, other: &StartDataCollectionByAgentIdsInput) -> bool
fn eq(&self, other: &StartDataCollectionByAgentIdsInput) -> bool
self and other values to be equal, and is used
by ==.