amazonka-sso-admin-2.0: Amazon Single Sign-On Admin SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SSOAdmin.DeleteAccountAssignment

Description

Deletes a principal's access from a specified AWS account using a specified permission set.

After a successful response, call DescribeAccountAssignmentCreationStatus to describe the status of an assignment deletion request.

Synopsis

Creating a Request

data DeleteAccountAssignment Source #

See: newDeleteAccountAssignment smart constructor.

Constructors

DeleteAccountAssignment' 

Fields

Instances

Instances details
ToJSON DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

ToHeaders DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

ToPath DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

ToQuery DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

AWSRequest DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Generic DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Associated Types

type Rep DeleteAccountAssignment :: Type -> Type #

Read DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Show DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

NFData DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Methods

rnf :: DeleteAccountAssignment -> () #

Eq DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Hashable DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

type AWSResponse DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

type Rep DeleteAccountAssignment Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

type Rep DeleteAccountAssignment = D1 ('MetaData "DeleteAccountAssignment" "Amazonka.SSOAdmin.DeleteAccountAssignment" "amazonka-sso-admin-2.0-HhKPJAnDdA18B4mnMjNqZF" 'False) (C1 ('MetaCons "DeleteAccountAssignment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TargetType))) :*: (S1 ('MetaSel ('Just "permissionSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "principalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PrincipalType) :*: S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newDeleteAccountAssignment Source #

Create a value of DeleteAccountAssignment with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteAccountAssignment, deleteAccountAssignment_instanceArn - 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 AWS Service Namespaces in the AWS General Reference.

DeleteAccountAssignment, deleteAccountAssignment_targetId - TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

DeleteAccountAssignment, deleteAccountAssignment_targetType - The entity type for which the assignment will be deleted.

DeleteAccountAssignment, deleteAccountAssignment_permissionSetArn - The ARN of the permission set that will be used to remove access.

DeleteAccountAssignment, deleteAccountAssignment_principalType - The entity type for which the assignment will be deleted.

DeleteAccountAssignment, deleteAccountAssignment_principalId - 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.

Request Lenses

deleteAccountAssignment_instanceArn :: Lens' DeleteAccountAssignment Text Source #

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 AWS Service Namespaces in the AWS General Reference.

deleteAccountAssignment_targetId :: Lens' DeleteAccountAssignment Text Source #

TargetID is an AWS account identifier, typically a 10-12 digit string (For example, 123456789012).

deleteAccountAssignment_targetType :: Lens' DeleteAccountAssignment TargetType Source #

The entity type for which the assignment will be deleted.

deleteAccountAssignment_permissionSetArn :: Lens' DeleteAccountAssignment Text Source #

The ARN of the permission set that will be used to remove access.

deleteAccountAssignment_principalType :: Lens' DeleteAccountAssignment PrincipalType Source #

The entity type for which the assignment will be deleted.

deleteAccountAssignment_principalId :: Lens' DeleteAccountAssignment Text Source #

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.

Destructuring the Response

data DeleteAccountAssignmentResponse Source #

See: newDeleteAccountAssignmentResponse smart constructor.

Constructors

DeleteAccountAssignmentResponse' 

Fields

Instances

Instances details
Generic DeleteAccountAssignmentResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Associated Types

type Rep DeleteAccountAssignmentResponse :: Type -> Type #

Read DeleteAccountAssignmentResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Show DeleteAccountAssignmentResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

NFData DeleteAccountAssignmentResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

Eq DeleteAccountAssignmentResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

type Rep DeleteAccountAssignmentResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.DeleteAccountAssignment

type Rep DeleteAccountAssignmentResponse = D1 ('MetaData "DeleteAccountAssignmentResponse" "Amazonka.SSOAdmin.DeleteAccountAssignment" "amazonka-sso-admin-2.0-HhKPJAnDdA18B4mnMjNqZF" 'False) (C1 ('MetaCons "DeleteAccountAssignmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountAssignmentDeletionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccountAssignmentOperationStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAccountAssignmentResponse Source #

Create a value of DeleteAccountAssignmentResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountAssignmentDeletionStatus:DeleteAccountAssignmentResponse', deleteAccountAssignmentResponse_accountAssignmentDeletionStatus - The status object for the account assignment deletion operation.

$sel:httpStatus:DeleteAccountAssignmentResponse', deleteAccountAssignmentResponse_httpStatus - The response's http status code.

Response Lenses