aws-sdk-ec2 1.236.0

AWS SDK for Amazon Elastic Compute Cloud
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ModifyVpcEndpointPayerResponsibility`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::set_dry_run):<br>required: **false**<br><p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
    ///   - [`service_id(impl Into<String>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::service_id) / [`set_service_id(Option<String>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::set_service_id):<br>required: **false**<br><p>The ID of the VPC endpoint service.</p><br>
    ///   - [`vpc_endpoint_id(impl Into<String>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::vpc_endpoint_id) / [`set_vpc_endpoint_id(Option<String>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::set_vpc_endpoint_id):<br>required: **true**<br><p>The ID of the VPC endpoint.</p><br>
    ///   - [`payer_responsibility(PayerResponsibilityType)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::payer_responsibility) / [`set_payer_responsibility(Option<PayerResponsibilityType>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::set_payer_responsibility):<br>required: **true**<br><p>The Amazon Web Services account to which the usage of VPC endpoint is charged.</p><br>
    ///   - [`scope(PayerResponsibilityScope)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::scope) / [`set_scope(Option<PayerResponsibilityScope>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::set_scope):<br>required: **true**<br><p>The scope of usage/charges for which the billing account is being modified.</p><br>
    /// - On success, responds with [`ModifyVpcEndpointPayerResponsibilityOutput`](crate::operation::modify_vpc_endpoint_payer_responsibility::ModifyVpcEndpointPayerResponsibilityOutput) with field(s):
    ///   - [`vpc_endpoint_id(Option<String>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::ModifyVpcEndpointPayerResponsibilityOutput::vpc_endpoint_id): <p>The ID of the VPC endpoint.</p>
    ///   - [`payer_responsibilities(Option<Vec::<PayerResponsibilityEntry>>)`](crate::operation::modify_vpc_endpoint_payer_responsibility::ModifyVpcEndpointPayerResponsibilityOutput::payer_responsibilities): <p>The payer responsibility settings for the VPC endpoint.</p>
    /// - On failure, responds with [`SdkError<ModifyVpcEndpointPayerResponsibilityError>`](crate::operation::modify_vpc_endpoint_payer_responsibility::ModifyVpcEndpointPayerResponsibilityError)
    pub fn modify_vpc_endpoint_payer_responsibility(
        &self,
    ) -> crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder {
        crate::operation::modify_vpc_endpoint_payer_responsibility::builders::ModifyVpcEndpointPayerResponsibilityFluentBuilder::new(
            self.handle.clone(),
        )
    }
}