#[non_exhaustive]pub struct ListNetworkProfilesInput { /* private fields */ }Implementations§
source§impl ListNetworkProfilesInput
impl ListNetworkProfilesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListNetworkProfiles, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListNetworkProfiles, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListNetworkProfiles>
Examples found in repository?
src/client.rs (line 5123)
5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListNetworkProfiles,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ListNetworkProfilesError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::ListNetworkProfilesOutput,
aws_smithy_http::result::SdkError<crate::error::ListNetworkProfilesError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListNetworkProfilesInput.
source§impl ListNetworkProfilesInput
impl ListNetworkProfilesInput
sourcepub fn arn(&self) -> Option<&str>
pub fn arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the project for which you want to list network profiles.
sourcepub fn type(&self) -> Option<&NetworkProfileType>
pub fn type(&self) -> Option<&NetworkProfileType>
The type of network profile to return information about. Valid values are listed here.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Trait Implementations§
source§impl Clone for ListNetworkProfilesInput
impl Clone for ListNetworkProfilesInput
source§fn clone(&self) -> ListNetworkProfilesInput
fn clone(&self) -> ListNetworkProfilesInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more