Struct aws_sdk_ssoadmin::operation::delete_account_assignment::builders::DeleteAccountAssignmentInputBuilder
source · #[non_exhaustive]pub struct DeleteAccountAssignmentInputBuilder { /* private fields */ }
Expand description
A builder for DeleteAccountAssignmentInput
.
Implementations§
source§impl DeleteAccountAssignmentInputBuilder
impl DeleteAccountAssignmentInputBuilder
sourcepub fn instance_arn(self, input: impl Into<String>) -> Self
pub fn instance_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
This field is required.sourcepub fn set_instance_arn(self, input: Option<String>) -> Self
pub fn set_instance_arn(self, input: Option<String>) -> Self
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn get_instance_arn(&self) -> &Option<String>
pub fn get_instance_arn(&self) -> &Option<String>
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
sourcepub fn target_id(self, input: impl Into<String>) -> Self
pub fn target_id(self, input: impl Into<String>) -> Self
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
This field is required.sourcepub fn set_target_id(self, input: Option<String>) -> Self
pub fn set_target_id(self, input: Option<String>) -> Self
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn get_target_id(&self) -> &Option<String>
pub fn get_target_id(&self) -> &Option<String>
TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
sourcepub fn target_type(self, input: TargetType) -> Self
pub fn target_type(self, input: TargetType) -> Self
The entity type for which the assignment will be deleted.
This field is required.sourcepub fn set_target_type(self, input: Option<TargetType>) -> Self
pub fn set_target_type(self, input: Option<TargetType>) -> Self
The entity type for which the assignment will be deleted.
sourcepub fn get_target_type(&self) -> &Option<TargetType>
pub fn get_target_type(&self) -> &Option<TargetType>
The entity type for which the assignment will be deleted.
sourcepub fn permission_set_arn(self, input: impl Into<String>) -> Self
pub fn permission_set_arn(self, input: impl Into<String>) -> Self
The ARN of the permission set that will be used to remove access.
This field is required.sourcepub fn set_permission_set_arn(self, input: Option<String>) -> Self
pub fn set_permission_set_arn(self, input: Option<String>) -> Self
The ARN of the permission set that will be used to remove access.
sourcepub fn get_permission_set_arn(&self) -> &Option<String>
pub fn get_permission_set_arn(&self) -> &Option<String>
The ARN of the permission set that will be used to remove access.
sourcepub fn principal_type(self, input: PrincipalType) -> Self
pub fn principal_type(self, input: PrincipalType) -> Self
The entity type for which the assignment will be deleted.
This field is required.sourcepub fn set_principal_type(self, input: Option<PrincipalType>) -> Self
pub fn set_principal_type(self, input: Option<PrincipalType>) -> Self
The entity type for which the assignment will be deleted.
sourcepub fn get_principal_type(&self) -> &Option<PrincipalType>
pub fn get_principal_type(&self) -> &Option<PrincipalType>
The entity type for which the assignment will be deleted.
sourcepub fn principal_id(self, input: impl Into<String>) -> Self
pub fn principal_id(self, input: impl Into<String>) -> Self
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
This field is required.sourcepub fn set_principal_id(self, input: Option<String>) -> Self
pub fn set_principal_id(self, input: Option<String>) -> Self
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn get_principal_id(&self) -> &Option<String>
pub fn get_principal_id(&self) -> &Option<String>
An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
sourcepub fn build(self) -> Result<DeleteAccountAssignmentInput, BuildError>
pub fn build(self) -> Result<DeleteAccountAssignmentInput, BuildError>
Consumes the builder and constructs a DeleteAccountAssignmentInput
.
source§impl DeleteAccountAssignmentInputBuilder
impl DeleteAccountAssignmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteAccountAssignmentOutput, SdkError<DeleteAccountAssignmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteAccountAssignmentOutput, SdkError<DeleteAccountAssignmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteAccountAssignmentInputBuilder
impl Clone for DeleteAccountAssignmentInputBuilder
source§fn clone(&self) -> DeleteAccountAssignmentInputBuilder
fn clone(&self) -> DeleteAccountAssignmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteAccountAssignmentInputBuilder
impl Default for DeleteAccountAssignmentInputBuilder
source§fn default() -> DeleteAccountAssignmentInputBuilder
fn default() -> DeleteAccountAssignmentInputBuilder
source§impl PartialEq for DeleteAccountAssignmentInputBuilder
impl PartialEq for DeleteAccountAssignmentInputBuilder
source§fn eq(&self, other: &DeleteAccountAssignmentInputBuilder) -> bool
fn eq(&self, other: &DeleteAccountAssignmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.