#[non_exhaustive]pub struct ModifyVpcEndpointServicePayerResponsibilityInput { /* private fields */ }
Implementations§
source§impl ModifyVpcEndpointServicePayerResponsibilityInput
impl ModifyVpcEndpointServicePayerResponsibilityInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpcEndpointServicePayerResponsibility, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpcEndpointServicePayerResponsibility, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyVpcEndpointServicePayerResponsibility
>
Examples found in repository?
src/client.rs (line 69880)
69864 69865 69866 69867 69868 69869 69870 69871 69872 69873 69874 69875 69876 69877 69878 69879 69880 69881 69882 69883 69884 69885 69886 69887 69888 69889 69890 69891 69892 69893 69894 69895 69896 69897 69898 69899 69900 69901 69902 69903 69904 69905 69906 69907 69908 69909 69910
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyVpcEndpointServicePayerResponsibility,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<
crate::error::ModifyVpcEndpointServicePayerResponsibilityError,
>,
> {
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::ModifyVpcEndpointServicePayerResponsibilityOutput,
aws_smithy_http::result::SdkError<
crate::error::ModifyVpcEndpointServicePayerResponsibilityError,
>,
> {
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 ModifyVpcEndpointServicePayerResponsibilityInput
.
source§impl ModifyVpcEndpointServicePayerResponsibilityInput
impl ModifyVpcEndpointServicePayerResponsibilityInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
sourcepub fn service_id(&self) -> Option<&str>
pub fn service_id(&self) -> Option<&str>
The ID of the service.
sourcepub fn payer_responsibility(&self) -> Option<&PayerResponsibility>
pub fn payer_responsibility(&self) -> Option<&PayerResponsibility>
The entity that is responsible for the endpoint costs. The default is the endpoint owner. If you set the payer responsibility to the service owner, you cannot set it back to the endpoint owner.
Trait Implementations§
source§impl Clone for ModifyVpcEndpointServicePayerResponsibilityInput
impl Clone for ModifyVpcEndpointServicePayerResponsibilityInput
source§fn clone(&self) -> ModifyVpcEndpointServicePayerResponsibilityInput
fn clone(&self) -> ModifyVpcEndpointServicePayerResponsibilityInput
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