libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSOAdmin.ListAccountAssignments

Description

Lists the assignee of the specified Amazon Web Services 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
Eq ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Read ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Show ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Generic ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Associated Types

type Rep ListAccountAssignments :: Type -> Type #

NFData ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Methods

rnf :: ListAccountAssignments -> () #

Hashable ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

ToJSON 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 #

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

type Rep ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

type Rep ListAccountAssignments = D1 ('MetaData "ListAccountAssignments" "Amazonka.SSOAdmin.ListAccountAssignments" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "ListAccountAssignments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (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)))))
type AWSResponse ListAccountAssignments Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

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:nextToken: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.

$sel:maxResults:ListAccountAssignments', listAccountAssignments_maxResults - The maximum number of results to display for the assignment.

$sel:instanceArn:ListAccountAssignments', listAccountAssignments_instanceArn - The ARN of the SSO 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.

$sel:accountId:ListAccountAssignments', listAccountAssignments_accountId - The identifier of the Amazon Web Services account from which to list the assignments.

$sel:permissionSetArn:ListAccountAssignments', listAccountAssignments_permissionSetArn - The ARN of the permission set from which to list assignments.

Request Lenses

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_maxResults :: Lens' ListAccountAssignments (Maybe Natural) Source #

The maximum number of results to display for the assignment.

listAccountAssignments_instanceArn :: Lens' ListAccountAssignments Text Source #

The ARN of the SSO 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.

listAccountAssignments_accountId :: Lens' ListAccountAssignments Text Source #

The identifier of the Amazon Web Services 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
Eq ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Read ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Show ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Generic ListAccountAssignmentsResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListAccountAssignments

Associated Types

type Rep ListAccountAssignmentsResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" '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 Amazon Web Services account and permission set.

$sel:nextToken: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 Amazon Web Services 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.