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 more