amazonka-amp-2.0: Amazon Prometheus Service 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.AMP.DescribeWorkspace

Description

Describes an existing AMP workspace.

Synopsis

Creating a Request

data DescribeWorkspace Source #

Represents the input of a DescribeWorkspace operation.

See: newDescribeWorkspace smart constructor.

Constructors

DescribeWorkspace' 

Fields

Instances

Instances details
ToHeaders DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

ToPath DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

ToQuery DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

AWSRequest DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Associated Types

type AWSResponse DescribeWorkspace #

Generic DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Associated Types

type Rep DescribeWorkspace :: Type -> Type #

Read DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Show DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

NFData DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Methods

rnf :: DescribeWorkspace -> () #

Eq DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Hashable DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

type AWSResponse DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

type Rep DescribeWorkspace Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

type Rep DescribeWorkspace = D1 ('MetaData "DescribeWorkspace" "Amazonka.AMP.DescribeWorkspace" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "DescribeWorkspace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeWorkspace Source #

Create a value of DescribeWorkspace 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:

DescribeWorkspace, describeWorkspace_workspaceId - The ID of the workspace to describe.

Request Lenses

describeWorkspace_workspaceId :: Lens' DescribeWorkspace Text Source #

The ID of the workspace to describe.

Destructuring the Response

data DescribeWorkspaceResponse Source #

Represents the output of a DescribeWorkspace operation.

See: newDescribeWorkspaceResponse smart constructor.

Constructors

DescribeWorkspaceResponse' 

Fields

Instances

Instances details
Generic DescribeWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Associated Types

type Rep DescribeWorkspaceResponse :: Type -> Type #

Read DescribeWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Show DescribeWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

NFData DescribeWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

Eq DescribeWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

type Rep DescribeWorkspaceResponse Source # 
Instance details

Defined in Amazonka.AMP.DescribeWorkspace

type Rep DescribeWorkspaceResponse = D1 ('MetaData "DescribeWorkspaceResponse" "Amazonka.AMP.DescribeWorkspace" "amazonka-amp-2.0-5Nt9wsU74T2I91dslthaby" 'False) (C1 ('MetaCons "DescribeWorkspaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceDescription)))

newDescribeWorkspaceResponse Source #

Create a value of DescribeWorkspaceResponse 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:httpStatus:DescribeWorkspaceResponse', describeWorkspaceResponse_httpStatus - The response's http status code.

DescribeWorkspaceResponse, describeWorkspaceResponse_workspace - The properties of the selected workspace.

Response Lenses