#[non_exhaustive]pub struct DeletePermissionInputBuilder { /* private fields */ }Expand description
A builder for DeletePermissionInput.
Implementations§
source§impl DeletePermissionInputBuilder
impl DeletePermissionInputBuilder
sourcepub fn permission_arn(self, input: impl Into<String>) -> Self
pub fn permission_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to delete.
This field is required.sourcepub fn set_permission_arn(self, input: Option<String>) -> Self
pub fn set_permission_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to delete.
sourcepub fn get_permission_arn(&self) -> &Option<String>
pub fn get_permission_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) of the customer managed permission that you want to delete.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.
sourcepub fn build(self) -> Result<DeletePermissionInput, BuildError>
pub fn build(self) -> Result<DeletePermissionInput, BuildError>
Consumes the builder and constructs a DeletePermissionInput.
source§impl DeletePermissionInputBuilder
impl DeletePermissionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeletePermissionOutput, SdkError<DeletePermissionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeletePermissionOutput, SdkError<DeletePermissionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeletePermissionInputBuilder
impl Clone for DeletePermissionInputBuilder
source§fn clone(&self) -> DeletePermissionInputBuilder
fn clone(&self) -> DeletePermissionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeletePermissionInputBuilder
impl Debug for DeletePermissionInputBuilder
source§impl Default for DeletePermissionInputBuilder
impl Default for DeletePermissionInputBuilder
source§fn default() -> DeletePermissionInputBuilder
fn default() -> DeletePermissionInputBuilder
source§impl PartialEq for DeletePermissionInputBuilder
impl PartialEq for DeletePermissionInputBuilder
source§fn eq(&self, other: &DeletePermissionInputBuilder) -> bool
fn eq(&self, other: &DeletePermissionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.