1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteChapCredentials`](crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`target_arn(impl ::std::convert::Into<String>)`](crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder::target_arn) / [`set_target_arn(Option<String>)`](crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder::set_target_arn): <p>The Amazon Resource Name (ARN) of the iSCSI volume target. Use the <code>DescribeStorediSCSIVolumes</code> operation to return to retrieve the TargetARN for specified VolumeARN.</p>
    ///   - [`initiator_name(impl ::std::convert::Into<String>)`](crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder::initiator_name) / [`set_initiator_name(Option<String>)`](crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder::set_initiator_name): <p>The iSCSI initiator that connects to the target.</p>
    /// - On success, responds with [`DeleteChapCredentialsOutput`](crate::operation::delete_chap_credentials::DeleteChapCredentialsOutput) with field(s):
    ///   - [`target_arn(Option<String>)`](crate::operation::delete_chap_credentials::DeleteChapCredentialsOutput::target_arn): <p>The Amazon Resource Name (ARN) of the target.</p>
    ///   - [`initiator_name(Option<String>)`](crate::operation::delete_chap_credentials::DeleteChapCredentialsOutput::initiator_name): <p>The iSCSI initiator that connects to the target.</p>
    /// - On failure, responds with [`SdkError<DeleteChapCredentialsError>`](crate::operation::delete_chap_credentials::DeleteChapCredentialsError)
    pub fn delete_chap_credentials(
        &self,
    ) -> crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder
    {
        crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}