#[non_exhaustive]pub struct ListOrganizationServiceAccessStatusInput { /* private fields */ }Implementations§
source§impl ListOrganizationServiceAccessStatusInput
impl ListOrganizationServiceAccessStatusInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListOrganizationServiceAccessStatus, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListOrganizationServiceAccessStatus, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ListOrganizationServiceAccessStatus>
Examples found in repository?
src/client.rs (line 8588)
8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ListOrganizationServiceAccessStatus,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::ListOrganizationServiceAccessStatusError,
>,
> {
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::ListOrganizationServiceAccessStatusOutput,
aws_smithy_http::result::SdkError<
crate::error::ListOrganizationServiceAccessStatusError,
>,
> {
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 ListOrganizationServiceAccessStatusInput.
source§impl ListOrganizationServiceAccessStatusInput
impl ListOrganizationServiceAccessStatusInput
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next page of results.
Trait Implementations§
source§impl Clone for ListOrganizationServiceAccessStatusInput
impl Clone for ListOrganizationServiceAccessStatusInput
source§fn clone(&self) -> ListOrganizationServiceAccessStatusInput
fn clone(&self) -> ListOrganizationServiceAccessStatusInput
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