amazonka-config-2.0: Amazon Config 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.Config.Types.StoredQueryMetadata

Description

 
Synopsis

Documentation

data StoredQueryMetadata Source #

Returns details of a specific query.

See: newStoredQueryMetadata smart constructor.

Constructors

StoredQueryMetadata' 

Fields

  • description :: Maybe Text

    A unique description for the query.

  • queryId :: Text

    The ID of the query.

  • queryArn :: Text

    Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.

  • queryName :: Text

    The name of the query.

Instances

Instances details
FromJSON StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

Generic StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

Associated Types

type Rep StoredQueryMetadata :: Type -> Type #

Read StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

Show StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

NFData StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

Methods

rnf :: StoredQueryMetadata -> () #

Eq StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

Hashable StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

type Rep StoredQueryMetadata Source # 
Instance details

Defined in Amazonka.Config.Types.StoredQueryMetadata

type Rep StoredQueryMetadata = D1 ('MetaData "StoredQueryMetadata" "Amazonka.Config.Types.StoredQueryMetadata" "amazonka-config-2.0-7GF0fBbVw65uROwJwpcE3" 'False) (C1 ('MetaCons "StoredQueryMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "queryArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "queryName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStoredQueryMetadata Source #

Create a value of StoredQueryMetadata 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:description:StoredQueryMetadata', storedQueryMetadata_description - A unique description for the query.

$sel:queryId:StoredQueryMetadata', storedQueryMetadata_queryId - The ID of the query.

$sel:queryArn:StoredQueryMetadata', storedQueryMetadata_queryArn - Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.

$sel:queryName:StoredQueryMetadata', storedQueryMetadata_queryName - The name of the query.

storedQueryMetadata_queryArn :: Lens' StoredQueryMetadata Text Source #

Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.