aws_sdk_storagegateway/client/retrieve_tape_recovery_point.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 [`RetrieveTapeRecoveryPoint`](crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`tape_arn(impl Into<String>)`](crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder::tape_arn) / [`set_tape_arn(Option<String>)`](crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder::set_tape_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.</p><br>
7 /// - [`gateway_arn(impl Into<String>)`](crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
8 /// - On success, responds with [`RetrieveTapeRecoveryPointOutput`](crate::operation::retrieve_tape_recovery_point::RetrieveTapeRecoveryPointOutput) with field(s):
9 /// - [`tape_arn(Option<String>)`](crate::operation::retrieve_tape_recovery_point::RetrieveTapeRecoveryPointOutput::tape_arn): <p>The Amazon Resource Name (ARN) of the virtual tape for which the recovery point was retrieved.</p>
10 /// - On failure, responds with [`SdkError<RetrieveTapeRecoveryPointError>`](crate::operation::retrieve_tape_recovery_point::RetrieveTapeRecoveryPointError)
11 pub fn retrieve_tape_recovery_point(&self) -> crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder {
12 crate::operation::retrieve_tape_recovery_point::builders::RetrieveTapeRecoveryPointFluentBuilder::new(self.handle.clone())
13 }
14}