Struct aws_sdk_amp::operation::put_rule_groups_namespace::builders::PutRuleGroupsNamespaceFluentBuilder
source · pub struct PutRuleGroupsNamespaceFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to PutRuleGroupsNamespace.
Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces.
Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use CreateRuleGroupsNamespace.
You can't use this operation to add tags to an existing rule groups namespace. Instead, use TagResource.
Implementations§
source§impl PutRuleGroupsNamespaceFluentBuilder
impl PutRuleGroupsNamespaceFluentBuilder
sourcepub fn as_input(&self) -> &PutRuleGroupsNamespaceInputBuilder
pub fn as_input(&self) -> &PutRuleGroupsNamespaceInputBuilder
Access the PutRuleGroupsNamespace as a reference.
sourcepub async fn send(
self
) -> Result<PutRuleGroupsNamespaceOutput, SdkError<PutRuleGroupsNamespaceError, HttpResponse>>
pub async fn send( self ) -> Result<PutRuleGroupsNamespaceOutput, SdkError<PutRuleGroupsNamespaceError, 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<PutRuleGroupsNamespaceOutput, PutRuleGroupsNamespaceError, Self>
pub fn customize( self ) -> CustomizableOperation<PutRuleGroupsNamespaceOutput, PutRuleGroupsNamespaceError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn workspace_id(self, input: impl Into<String>) -> Self
pub fn workspace_id(self, input: impl Into<String>) -> Self
The ID of the workspace where you are updating the rule groups namespace.
sourcepub fn set_workspace_id(self, input: Option<String>) -> Self
pub fn set_workspace_id(self, input: Option<String>) -> Self
The ID of the workspace where you are updating the rule groups namespace.
sourcepub fn get_workspace_id(&self) -> &Option<String>
pub fn get_workspace_id(&self) -> &Option<String>
The ID of the workspace where you are updating the rule groups namespace.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the rule groups namespace that you are updating.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the rule groups namespace that you are updating.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the rule groups namespace that you are updating.
sourcepub fn data(self, input: Blob) -> Self
pub fn data(self, input: Blob) -> Self
The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
sourcepub fn set_data(self, input: Option<Blob>) -> Self
pub fn set_data(self, input: Option<Blob>) -> Self
The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
sourcepub fn get_data(&self) -> &Option<Blob>
pub fn get_data(&self) -> &Option<Blob>
The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups file.
For details about the rule groups namespace structure, see RuleGroupsNamespaceData.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
Trait Implementations§
source§impl Clone for PutRuleGroupsNamespaceFluentBuilder
impl Clone for PutRuleGroupsNamespaceFluentBuilder
source§fn clone(&self) -> PutRuleGroupsNamespaceFluentBuilder
fn clone(&self) -> PutRuleGroupsNamespaceFluentBuilder
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 PutRuleGroupsNamespaceFluentBuilder
impl !RefUnwindSafe for PutRuleGroupsNamespaceFluentBuilder
impl Send for PutRuleGroupsNamespaceFluentBuilder
impl Sync for PutRuleGroupsNamespaceFluentBuilder
impl Unpin for PutRuleGroupsNamespaceFluentBuilder
impl !UnwindSafe for PutRuleGroupsNamespaceFluentBuilder
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