libZSservicesZSamazonka-grafanaZSamazonka-grafana
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.Grafana.ListWorkspaces

Description

Returns a list of Amazon Managed Grafana workspaces in the account, with some information about each workspace. For more complete information about one workspace, use DescribeWorkspace.

This operation returns paginated results.

Synopsis

Creating a Request

data ListWorkspaces Source #

See: newListWorkspaces smart constructor.

Constructors

ListWorkspaces' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of workspaces to return. (You receive this token from a previous ListWorkspaces operation.)

  • maxResults :: Maybe Natural

    The maximum number of workspaces to include in the results.

Instances

Instances details
Eq ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Read ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Show ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Generic ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Associated Types

type Rep ListWorkspaces :: Type -> Type #

NFData ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Methods

rnf :: ListWorkspaces -> () #

Hashable ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

AWSPager ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

AWSRequest ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Associated Types

type AWSResponse ListWorkspaces #

ToHeaders ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

ToPath ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

ToQuery ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

type Rep ListWorkspaces Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

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

Defined in Amazonka.Grafana.ListWorkspaces

newListWorkspaces :: ListWorkspaces Source #

Create a value of ListWorkspaces 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:ListWorkspaces', listWorkspaces_nextToken - The token for the next set of workspaces to return. (You receive this token from a previous ListWorkspaces operation.)

$sel:maxResults:ListWorkspaces', listWorkspaces_maxResults - The maximum number of workspaces to include in the results.

Request Lenses

listWorkspaces_nextToken :: Lens' ListWorkspaces (Maybe Text) Source #

The token for the next set of workspaces to return. (You receive this token from a previous ListWorkspaces operation.)

listWorkspaces_maxResults :: Lens' ListWorkspaces (Maybe Natural) Source #

The maximum number of workspaces to include in the results.

Destructuring the Response

data ListWorkspacesResponse Source #

See: newListWorkspacesResponse smart constructor.

Constructors

ListWorkspacesResponse' 

Fields

Instances

Instances details
Eq ListWorkspacesResponse Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Show ListWorkspacesResponse Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Generic ListWorkspacesResponse Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Associated Types

type Rep ListWorkspacesResponse :: Type -> Type #

NFData ListWorkspacesResponse Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

Methods

rnf :: ListWorkspacesResponse -> () #

type Rep ListWorkspacesResponse Source # 
Instance details

Defined in Amazonka.Grafana.ListWorkspaces

type Rep ListWorkspacesResponse = D1 ('MetaData "ListWorkspacesResponse" "Amazonka.Grafana.ListWorkspaces" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "ListWorkspacesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "workspaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceSummary]))))

newListWorkspacesResponse Source #

Create a value of ListWorkspacesResponse 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:ListWorkspaces', listWorkspacesResponse_nextToken - The token to use when requesting the next set of workspaces.

$sel:httpStatus:ListWorkspacesResponse', listWorkspacesResponse_httpStatus - The response's http status code.

$sel:workspaces:ListWorkspacesResponse', listWorkspacesResponse_workspaces - An array of structures that contain some information about the workspaces in the account.

Response Lenses

listWorkspacesResponse_nextToken :: Lens' ListWorkspacesResponse (Maybe Text) Source #

The token to use when requesting the next set of workspaces.

listWorkspacesResponse_workspaces :: Lens' ListWorkspacesResponse [WorkspaceSummary] Source #

An array of structures that contain some information about the workspaces in the account.