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.ListAccountAssignments

Description

Lists the assignee of the specified AWS account with the specified permission set.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAccountAssignments Source #

See: newListAccountAssignments smart constructor.

Constructors

ListAccountAssignments' 

Fields

Instances

Instances details
ToJSON ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

ToHeaders ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

ToPath ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

ToQuery ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

AWSPager ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

AWSRequest ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Associated Types

type AWSResponse ListAccountAssignments #

Generic ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Associated Types

type Rep ListAccountAssignments :: Type -> Type #

Read ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Show ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

NFData ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Methods

rnf :: ListAccountAssignments -> () #

Eq ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Hashable ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

type AWSResponse ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

type Rep ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

type Rep ListAccountAssignments = D1 ('MetaData "ListAccountAssignments" "Amazonka.SSOAdmin.ListAccountAssignments" "amazonka-sso-admin-2.0-HhKPJAnDdA18B4mnMjNqZF" 'False) (C1 ('MetaCons "ListAccountAssignments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "permissionSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListAccountAssignments Source #

Create a value of ListAccountAssignments 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:maxResults:ListAccountAssignments', listAccountAssignments_maxResults - The maximum number of results to display for the assignment.

ListAccountAssignments, listAccountAssignments_nextToken - The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

ListAccountAssignments, listAccountAssignments_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.

ListAccountAssignments, listAccountAssignments_accountId - The identifier of the AWS account from which to list the assignments.

ListAccountAssignments, listAccountAssignments_permissionSetArn - The ARN of the permission set from which to list assignments.

Request Lenses

listAccountAssignments_maxResults :: Lens' ListAccountAssignments (Maybe Natural) Source #

The maximum number of results to display for the assignment.

listAccountAssignments_nextToken :: Lens' ListAccountAssignments (Maybe Text) Source #

The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

listAccountAssignments_instanceArn :: Lens' ListAccountAssignments 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.

listAccountAssignments_accountId :: Lens' ListAccountAssignments Text Source #

The identifier of the AWS account from which to list the assignments.

listAccountAssignments_permissionSetArn :: Lens' ListAccountAssignments Text Source #

The ARN of the permission set from which to list assignments.

Destructuring the Response

data ListAccountAssignmentsResponse Source #

See: newListAccountAssignmentsResponse smart constructor.

Constructors

ListAccountAssignmentsResponse' 

Fields

Instances

Instances details
Generic ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Associated Types

type Rep ListAccountAssignmentsResponse :: Type -> Type #

Read ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Show ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

NFData ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Eq ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

type Rep ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

type Rep ListAccountAssignmentsResponse = D1 ('MetaData "ListAccountAssignmentsResponse" "Amazonka.SSOAdmin.ListAccountAssignments" "amazonka-sso-admin-2.0-HhKPJAnDdA18B4mnMjNqZF" 'False) (C1 ('MetaCons "ListAccountAssignmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountAssignments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AccountAssignment])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAccountAssignmentsResponse Source #

Create a value of ListAccountAssignmentsResponse 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:accountAssignments:ListAccountAssignmentsResponse', listAccountAssignmentsResponse_accountAssignments - The list of assignments that match the input AWS account and permission set.

ListAccountAssignments, listAccountAssignmentsResponse_nextToken - The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.

$sel:httpStatus:ListAccountAssignmentsResponse', listAccountAssignmentsResponse_httpStatus - The response's http status code.

Response Lenses

listAccountAssignmentsResponse_accountAssignments :: Lens' ListAccountAssignmentsResponse (Maybe [AccountAssignment]) Source #

The list of assignments that match the input AWS account and permission set.

listAccountAssignmentsResponse_nextToken :: Lens' ListAccountAssignmentsResponse (Maybe Text) Source #

The pagination token for the list API. Initially the value is null. Use the output of previous API calls to make subsequent calls.