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

Description

Assigns a Grafana Enterprise license to a workspace. Upgrading to Grafana Enterprise incurs additional fees. For more information, see Upgrade a workspace to Grafana Enterprise.

Synopsis

Creating a Request

data AssociateLicense Source #

See: newAssociateLicense smart constructor.

Constructors

AssociateLicense' 

Fields

Instances

Instances details
Eq AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Read AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Show AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Generic AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Associated Types

type Rep AssociateLicense :: Type -> Type #

NFData AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Methods

rnf :: AssociateLicense -> () #

Hashable AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

ToJSON AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

AWSRequest AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Associated Types

type AWSResponse AssociateLicense #

ToHeaders AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

ToPath AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

ToQuery AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

type Rep AssociateLicense Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

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

Defined in Amazonka.Grafana.AssociateLicense

newAssociateLicense Source #

Create a value of AssociateLicense 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:licenseType:AssociateLicense', associateLicense_licenseType - The type of license to associate with the workspace.

$sel:workspaceId:AssociateLicense', associateLicense_workspaceId - The ID of the workspace to associate the license with.

Request Lenses

associateLicense_licenseType :: Lens' AssociateLicense LicenseType Source #

The type of license to associate with the workspace.

associateLicense_workspaceId :: Lens' AssociateLicense Text Source #

The ID of the workspace to associate the license with.

Destructuring the Response

data AssociateLicenseResponse Source #

See: newAssociateLicenseResponse smart constructor.

Constructors

AssociateLicenseResponse' 

Fields

Instances

Instances details
Eq AssociateLicenseResponse Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Show AssociateLicenseResponse Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Generic AssociateLicenseResponse Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

Associated Types

type Rep AssociateLicenseResponse :: Type -> Type #

NFData AssociateLicenseResponse Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

type Rep AssociateLicenseResponse Source # 
Instance details

Defined in Amazonka.Grafana.AssociateLicense

type Rep AssociateLicenseResponse = D1 ('MetaData "AssociateLicenseResponse" "Amazonka.Grafana.AssociateLicense" "libZSservicesZSamazonka-grafanaZSamazonka-grafana" 'False) (C1 ('MetaCons "AssociateLicenseResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceDescription)))

newAssociateLicenseResponse Source #

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

$sel:workspace:AssociateLicenseResponse', associateLicenseResponse_workspace - A structure containing data about the workspace.

Response Lenses