Struct aws_sdk_codeartifact::operation::delete_package_group::builders::DeletePackageGroupFluentBuilder
source · pub struct DeletePackageGroupFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to DeletePackageGroup
.
Deletes a package group. Deleting a package group does not delete packages or package versions associated with the package group. When a package group is deleted, the direct child package groups will become children of the package group's direct parent package group. Therefore, if any of the child groups are inheriting any settings from the parent, those settings could change.
Implementations§
source§impl DeletePackageGroupFluentBuilder
impl DeletePackageGroupFluentBuilder
sourcepub fn as_input(&self) -> &DeletePackageGroupInputBuilder
pub fn as_input(&self) -> &DeletePackageGroupInputBuilder
Access the DeletePackageGroup as a reference.
sourcepub async fn send(
self,
) -> Result<DeletePackageGroupOutput, SdkError<DeletePackageGroupError, HttpResponse>>
pub async fn send( self, ) -> Result<DeletePackageGroupOutput, SdkError<DeletePackageGroupError, 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<DeletePackageGroupOutput, DeletePackageGroupError, Self>
pub fn customize( self, ) -> CustomizableOperation<DeletePackageGroupOutput, DeletePackageGroupError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The domain that contains the package group to be deleted.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The domain that contains the package group to be deleted.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The domain that contains the package group to be deleted.
sourcepub fn domain_owner(self, input: impl Into<String>) -> Self
pub fn domain_owner(self, input: impl Into<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn set_domain_owner(self, input: Option<String>) -> Self
pub fn set_domain_owner(self, input: Option<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn get_domain_owner(&self) -> &Option<String>
pub fn get_domain_owner(&self) -> &Option<String>
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn package_group(self, input: impl Into<String>) -> Self
pub fn package_group(self, input: impl Into<String>) -> Self
The pattern of the package group to be deleted.
sourcepub fn set_package_group(self, input: Option<String>) -> Self
pub fn set_package_group(self, input: Option<String>) -> Self
The pattern of the package group to be deleted.
sourcepub fn get_package_group(&self) -> &Option<String>
pub fn get_package_group(&self) -> &Option<String>
The pattern of the package group to be deleted.
Trait Implementations§
source§impl Clone for DeletePackageGroupFluentBuilder
impl Clone for DeletePackageGroupFluentBuilder
source§fn clone(&self) -> DeletePackageGroupFluentBuilder
fn clone(&self) -> DeletePackageGroupFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DeletePackageGroupFluentBuilder
impl !RefUnwindSafe for DeletePackageGroupFluentBuilder
impl Send for DeletePackageGroupFluentBuilder
impl Sync for DeletePackageGroupFluentBuilder
impl Unpin for DeletePackageGroupFluentBuilder
impl !UnwindSafe for DeletePackageGroupFluentBuilder
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> 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