pub struct DeleteCatalogFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteCatalog.
Removes the specified catalog from the Glue Data Catalog.
After completing this operation, you no longer have access to the databases, tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted catalog. Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service.
To ensure the immediate deletion of all related resources before calling the DeleteCatalog operation, use DeleteTableVersion (or BatchDeleteTableVersion), DeletePartition (or BatchDeletePartition), DeleteTable (or BatchDeleteTable), DeleteUserDefinedFunction and DeleteDatabase to delete any resources that belong to the catalog.
Implementations§
Source§impl DeleteCatalogFluentBuilder
impl DeleteCatalogFluentBuilder
Sourcepub fn as_input(&self) -> &DeleteCatalogInputBuilder
pub fn as_input(&self) -> &DeleteCatalogInputBuilder
Access the DeleteCatalog as a reference.
Sourcepub async fn send(
self,
) -> Result<DeleteCatalogOutput, SdkError<DeleteCatalogError, HttpResponse>>
pub async fn send( self, ) -> Result<DeleteCatalogOutput, SdkError<DeleteCatalogError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Sourcepub fn customize(
self,
) -> CustomizableOperation<DeleteCatalogOutput, DeleteCatalogError, Self>
pub fn customize( self, ) -> CustomizableOperation<DeleteCatalogOutput, DeleteCatalogError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
Sourcepub fn catalog_id(self, input: impl Into<String>) -> Self
pub fn catalog_id(self, input: impl Into<String>) -> Self
The ID of the catalog.
Sourcepub fn set_catalog_id(self, input: Option<String>) -> Self
pub fn set_catalog_id(self, input: Option<String>) -> Self
The ID of the catalog.
Sourcepub fn get_catalog_id(&self) -> &Option<String>
pub fn get_catalog_id(&self) -> &Option<String>
The ID of the catalog.
Trait Implementations§
Source§impl Clone for DeleteCatalogFluentBuilder
impl Clone for DeleteCatalogFluentBuilder
Source§fn clone(&self) -> DeleteCatalogFluentBuilder
fn clone(&self) -> DeleteCatalogFluentBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for DeleteCatalogFluentBuilder
impl !RefUnwindSafe for DeleteCatalogFluentBuilder
impl Send for DeleteCatalogFluentBuilder
impl Sync for DeleteCatalogFluentBuilder
impl Unpin for DeleteCatalogFluentBuilder
impl UnsafeUnpin for DeleteCatalogFluentBuilder
impl !UnwindSafe for DeleteCatalogFluentBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more