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

Description

Lists the SSO 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

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

  • maxResults :: Maybe Natural

    The maximum number of results to display for the instance.

Instances

Instances details
Eq ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Read ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Show ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Generic ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Associated Types

type Rep ListInstances :: Type -> Type #

NFData ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Methods

rnf :: ListInstances -> () #

Hashable ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

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

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

type Rep ListInstances Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

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

Defined in Amazonka.SSOAdmin.ListInstances

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

$sel:maxResults:ListInstances', listInstances_maxResults - The maximum number of results to display for the instance.

Request Lenses

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.

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

The maximum number of results to display for the instance.

Destructuring the Response

data ListInstancesResponse Source #

See: newListInstancesResponse smart constructor.

Constructors

ListInstancesResponse' 

Fields

Instances

Instances details
Eq ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Read ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Show ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Generic ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Associated Types

type Rep ListInstancesResponse :: Type -> Type #

NFData ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

Methods

rnf :: ListInstancesResponse -> () #

type Rep ListInstancesResponse Source # 
Instance details

Defined in Amazonka.SSOAdmin.ListInstances

type Rep ListInstancesResponse = D1 ('MetaData "ListInstancesResponse" "Amazonka.SSOAdmin.ListInstances" "libZSservicesZSamazonka-sso-adminZSamazonka-sso-admin" 'False) (C1 ('MetaCons "ListInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceMetadata])) :*: 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:nextToken: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:instances:ListInstancesResponse', listInstancesResponse_instances - Lists the SSO instances that the caller has access to.

$sel:httpStatus:ListInstancesResponse', listInstancesResponse_httpStatus - The response's http status code.

Response Lenses

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.

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

Lists the SSO instances that the caller has access to.