aws_sdk_sagemaker/client/
delete_partner_app.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 [`DeletePartnerApp`](crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`arn(impl Into<String>)`](crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder::set_arn):<br>required: **true**<br><p>The ARN of the SageMaker Partner AI App to delete.</p><br>
7    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique token that guarantees that the call to this API is idempotent.</p><br>
8    /// - On success, responds with [`DeletePartnerAppOutput`](crate::operation::delete_partner_app::DeletePartnerAppOutput) with field(s):
9    ///   - [`arn(Option<String>)`](crate::operation::delete_partner_app::DeletePartnerAppOutput::arn): <p>The ARN of the SageMaker Partner AI App that was deleted.</p>
10    /// - On failure, responds with [`SdkError<DeletePartnerAppError>`](crate::operation::delete_partner_app::DeletePartnerAppError)
11    pub fn delete_partner_app(&self) -> crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder {
12        crate::operation::delete_partner_app::builders::DeletePartnerAppFluentBuilder::new(self.handle.clone())
13    }
14}