aws_sdk_storagegateway/client/delete_chap_credentials.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteChapCredentials`](crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`target_arn(impl 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):<br>required: **true**<br><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><br>
7 /// - [`initiator_name(impl 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):<br>required: **true**<br><p>The iSCSI initiator that connects to the target.</p><br>
8 /// - On success, responds with [`DeleteChapCredentialsOutput`](crate::operation::delete_chap_credentials::DeleteChapCredentialsOutput) with field(s):
9 /// - [`target_arn(Option<String>)`](crate::operation::delete_chap_credentials::DeleteChapCredentialsOutput::target_arn): <p>The Amazon Resource Name (ARN) of the target.</p>
10 /// - [`initiator_name(Option<String>)`](crate::operation::delete_chap_credentials::DeleteChapCredentialsOutput::initiator_name): <p>The iSCSI initiator that connects to the target.</p>
11 /// - On failure, responds with [`SdkError<DeleteChapCredentialsError>`](crate::operation::delete_chap_credentials::DeleteChapCredentialsError)
12 pub fn delete_chap_credentials(&self) -> crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder {
13 crate::operation::delete_chap_credentials::builders::DeleteChapCredentialsFluentBuilder::new(self.handle.clone())
14 }
15}