#[non_exhaustive]pub struct GetIntegrationResponsesInput { /* private fields */ }Implementations§
source§impl GetIntegrationResponsesInput
impl GetIntegrationResponsesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetIntegrationResponses, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetIntegrationResponses, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetIntegrationResponses>
Examples found in repository?
src/client.rs (line 6152)
6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetIntegrationResponses,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetIntegrationResponsesError>,
> {
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::GetIntegrationResponsesOutput,
aws_smithy_http::result::SdkError<crate::error::GetIntegrationResponsesError>,
> {
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 GetIntegrationResponsesInput.
source§impl GetIntegrationResponsesInput
impl GetIntegrationResponsesInput
sourcepub fn integration_id(&self) -> Option<&str>
pub fn integration_id(&self) -> Option<&str>
The integration ID.
sourcepub fn max_results(&self) -> Option<&str>
pub fn max_results(&self) -> Option<&str>
The maximum number of elements to be returned for this resource.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next page of elements from this collection. Not valid for the last element of the collection.
Trait Implementations§
source§impl Clone for GetIntegrationResponsesInput
impl Clone for GetIntegrationResponsesInput
source§fn clone(&self) -> GetIntegrationResponsesInput
fn clone(&self) -> GetIntegrationResponsesInput
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