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

Description

Lists the IAM Identity Center instances that the caller has access to.

This operation returns paginated results.

Synopsis

Creating a Request

data ListInstances Source #

See: newListInstances smart constructor.

Constructors

ListInstances' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of results to display for the instance.

  • nextToken :: Maybe Text

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

Instances

Instances details
ToJSON ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

ToHeaders ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

ToPath ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

ToQuery ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

AWSPager ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

AWSRequest ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Associated Types

type AWSResponse ListInstances #

Generic ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Associated Types

type Rep ListInstances :: Type -> Type #

Read ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Show ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

NFData ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Methods

rnf :: ListInstances -> () #

Eq ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Hashable ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

type AWSResponse ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

type Rep ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

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

newListInstances :: ListInstances Source #

Create a value of ListInstances 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:ListInstances', listInstances_maxResults - The maximum number of results to display for the instance.

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

Request Lenses

listInstances_maxResults :: Lens' ListInstances (Maybe Natural) Source #

The maximum number of results to display for the instance.

listInstances_nextToken :: Lens' ListInstances (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.

Destructuring the Response

data ListInstancesResponse Source #

See: newListInstancesResponse smart constructor.

Constructors

ListInstancesResponse' 

Fields

  • instances :: Maybe [InstanceMetadata]

    Lists the IAM Identity Center instances that the caller has access to.

  • nextToken :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Associated Types

type Rep ListInstancesResponse :: Type -> Type #

Read ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Show ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

NFData ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Methods

rnf :: ListInstancesResponse -> () #

Eq ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

type Rep ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

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

newListInstancesResponse Source #

Create a value of ListInstancesResponse 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:instances:ListInstancesResponse', listInstancesResponse_instances - Lists the IAM Identity Center instances that the caller has access to.

ListInstances, listInstancesResponse_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:ListInstancesResponse', listInstancesResponse_httpStatus - The response's http status code.

Response Lenses

listInstancesResponse_instances :: Lens' ListInstancesResponse (Maybe [InstanceMetadata]) Source #

Lists the IAM Identity Center instances that the caller has access to.

listInstancesResponse_nextToken :: Lens' ListInstancesResponse (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.