amazonka-grafana-2.0: Amazon Managed Grafana 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.Grafana.DeleteWorkspaceApiKey

Description

Deletes a Grafana API key for the workspace.

Synopsis

Creating a Request

data DeleteWorkspaceApiKey Source #

See: newDeleteWorkspaceApiKey smart constructor.

Constructors

DeleteWorkspaceApiKey' 

Fields

Instances

Instances details
ToHeaders DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

ToPath DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

ToQuery DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

AWSRequest DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Associated Types

type AWSResponse DeleteWorkspaceApiKey #

Generic DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Associated Types

type Rep DeleteWorkspaceApiKey :: Type -> Type #

Read DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Show DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

NFData DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Methods

rnf :: DeleteWorkspaceApiKey -> () #

Eq DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Hashable DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

type AWSResponse DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

type Rep DeleteWorkspaceApiKey Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

type Rep DeleteWorkspaceApiKey = D1 ('MetaData "DeleteWorkspaceApiKey" "Amazonka.Grafana.DeleteWorkspaceApiKey" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" 'False) (C1 ('MetaCons "DeleteWorkspaceApiKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteWorkspaceApiKey Source #

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

DeleteWorkspaceApiKey, deleteWorkspaceApiKey_keyName - The name of the API key to delete.

DeleteWorkspaceApiKey, deleteWorkspaceApiKey_workspaceId - The ID of the workspace to delete.

Request Lenses

Destructuring the Response

data DeleteWorkspaceApiKeyResponse Source #

See: newDeleteWorkspaceApiKeyResponse smart constructor.

Constructors

DeleteWorkspaceApiKeyResponse' 

Fields

Instances

Instances details
Generic DeleteWorkspaceApiKeyResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Associated Types

type Rep DeleteWorkspaceApiKeyResponse :: Type -> Type #

Read DeleteWorkspaceApiKeyResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Show DeleteWorkspaceApiKeyResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

NFData DeleteWorkspaceApiKeyResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

Eq DeleteWorkspaceApiKeyResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

type Rep DeleteWorkspaceApiKeyResponse Source # 
Instance details

Defined in Amazonka.Grafana.DeleteWorkspaceApiKey

type Rep DeleteWorkspaceApiKeyResponse = D1 ('MetaData "DeleteWorkspaceApiKeyResponse" "Amazonka.Grafana.DeleteWorkspaceApiKey" "amazonka-grafana-2.0-1hXXW2cgZWZJGJ3AoD5xOB" 'False) (C1 ('MetaCons "DeleteWorkspaceApiKeyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteWorkspaceApiKeyResponse Source #

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

DeleteWorkspaceApiKey, deleteWorkspaceApiKeyResponse_keyName - The name of the key that was deleted.

DeleteWorkspaceApiKey, deleteWorkspaceApiKeyResponse_workspaceId - The ID of the workspace where the key was deleted.

Response Lenses

deleteWorkspaceApiKeyResponse_workspaceId :: Lens' DeleteWorkspaceApiKeyResponse Text Source #

The ID of the workspace where the key was deleted.