amazonka-resource-explorer-v2-2.0: Amazon Resource Explorer 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.ResourceExplorer2.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2022-07-28 of the Amazon Resource Explorer SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

The credentials that you used to call this operation don't have the minimum required permissions.

_ConflictException :: AsError a => Fold a ServiceError Source #

You tried to create a new view or index when one already exists, and you either didn't specify or specified a different idempotency token as the original request.

_InternalServerException :: AsError a => Fold a ServiceError Source #

The request failed because of internal service error. Try your request again later.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

The request failed because it exceeds a service quota.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.

_UnauthorizedException :: AsError a => Fold a ServiceError Source #

The principal making the request isn't permitted to perform the operation.

_ValidationException :: AsError a => Fold a ServiceError Source #

You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.

IndexState

newtype IndexState Source #

Constructors

IndexState' 

Fields

Instances

Instances details
FromJSON IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

FromJSONKey IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToJSON IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToJSONKey IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToByteString IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToHeader IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToLog IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToQuery IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

FromText IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToText IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Methods

toText :: IndexState -> Text #

FromXML IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

ToXML IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Methods

toXML :: IndexState -> XML #

Generic IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Associated Types

type Rep IndexState :: Type -> Type #

Read IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Show IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

NFData IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Methods

rnf :: IndexState -> () #

Eq IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Ord IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

Hashable IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

type Rep IndexState Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexState

type Rep IndexState = D1 ('MetaData "IndexState" "Amazonka.ResourceExplorer2.Types.IndexState" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'True) (C1 ('MetaCons "IndexState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIndexState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

IndexType

newtype IndexType Source #

Constructors

IndexType' 

Fields

Bundled Patterns

pattern IndexType_AGGREGATOR :: IndexType 
pattern IndexType_LOCAL :: IndexType 

Instances

Instances details
FromJSON IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

FromJSONKey IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToJSON IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToJSONKey IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToByteString IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Methods

toBS :: IndexType -> ByteString #

ToHeader IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToLog IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToQuery IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

FromText IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToText IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Methods

toText :: IndexType -> Text #

FromXML IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

ToXML IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Methods

toXML :: IndexType -> XML #

Generic IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Associated Types

type Rep IndexType :: Type -> Type #

Read IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Show IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

NFData IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Methods

rnf :: IndexType -> () #

Eq IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Ord IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

Hashable IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

type Rep IndexType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IndexType

type Rep IndexType = D1 ('MetaData "IndexType" "Amazonka.ResourceExplorer2.Types.IndexType" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'True) (C1 ('MetaCons "IndexType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromIndexType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BatchGetViewError

data BatchGetViewError Source #

A collection of error messages for any views that Amazon Web Services Resource Explorer couldn't retrieve details.

See: newBatchGetViewError smart constructor.

Constructors

BatchGetViewError' 

Fields

Instances

Instances details
FromJSON BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

Generic BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

Associated Types

type Rep BatchGetViewError :: Type -> Type #

Read BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

Show BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

NFData BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

Methods

rnf :: BatchGetViewError -> () #

Eq BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

Hashable BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

type Rep BatchGetViewError Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.BatchGetViewError

type Rep BatchGetViewError = D1 ('MetaData "BatchGetViewError" "Amazonka.ResourceExplorer2.Types.BatchGetViewError" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "BatchGetViewError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "viewArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newBatchGetViewError Source #

Create a value of BatchGetViewError 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:errorMessage:BatchGetViewError', batchGetViewError_errorMessage - The description of the error for the specified view.

$sel:viewArn:BatchGetViewError', batchGetViewError_viewArn - The Amazon resource name (ARN) of the view for which Resource Explorer failed to retrieve details.

batchGetViewError_errorMessage :: Lens' BatchGetViewError Text Source #

The description of the error for the specified view.

batchGetViewError_viewArn :: Lens' BatchGetViewError Text Source #

The Amazon resource name (ARN) of the view for which Resource Explorer failed to retrieve details.

Document

data Document Source #

See: newDocument smart constructor.

Constructors

Document' 

Instances

Instances details
FromJSON Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

Generic Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

Associated Types

type Rep Document :: Type -> Type #

Methods

from :: Document -> Rep Document x #

to :: Rep Document x -> Document #

Read Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

Show Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

NFData Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

Methods

rnf :: Document -> () #

Eq Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

Hashable Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

Methods

hashWithSalt :: Int -> Document -> Int #

hash :: Document -> Int #

type Rep Document Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Document

type Rep Document = D1 ('MetaData "Document" "Amazonka.ResourceExplorer2.Types.Document" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "Document'" 'PrefixI 'False) (U1 :: Type -> Type))

newDocument :: Document Source #

Create a value of Document with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

IncludedProperty

data IncludedProperty Source #

Information about an additional property that describes a resource, that you can optionally include in the view. This lets you view that property in search results, and filter your search results based on the value of the property.

See: newIncludedProperty smart constructor.

Constructors

IncludedProperty' 

Fields

  • name :: Text

    The name of the property that is included in this view.

    You can specify the following property names for this field:

    • Tags

Instances

Instances details
FromJSON IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

ToJSON IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

Generic IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

Associated Types

type Rep IncludedProperty :: Type -> Type #

Read IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

Show IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

NFData IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

Methods

rnf :: IncludedProperty -> () #

Eq IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

Hashable IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

type Rep IncludedProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.IncludedProperty

type Rep IncludedProperty = D1 ('MetaData "IncludedProperty" "Amazonka.ResourceExplorer2.Types.IncludedProperty" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "IncludedProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newIncludedProperty Source #

Create a value of IncludedProperty 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:name:IncludedProperty', includedProperty_name - The name of the property that is included in this view.

You can specify the following property names for this field:

  • Tags

includedProperty_name :: Lens' IncludedProperty Text Source #

The name of the property that is included in this view.

You can specify the following property names for this field:

  • Tags

Index

data Index Source #

An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers. Creating an index in an Amazon Web Services Region turns on Resource Explorer and lets it discover your resources.

By default, an index is local, meaning that it contains information about resources in only the same Region as the index. However, you can promote the index of one Region in the account by calling UpdateIndexType to convert it into an aggregator index. The aggregator index receives a replicated copy of the index information from all other Regions where Resource Explorer is turned on. This allows search operations in that Region to return results from all Regions in the account.

See: newIndex smart constructor.

Constructors

Index' 

Fields

  • arn :: Maybe Text

    The Amazon resource name (ARN) of the index.

  • region :: Maybe Text

    The Amazon Web Services Region in which the index exists.

  • type' :: Maybe IndexType

    The type of index. It can be one of the following values:

    • LOCAL – The index contains information about resources from only the same Amazon Web Services Region.
    • AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

Instances

Instances details
FromJSON Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Generic Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Associated Types

type Rep Index :: Type -> Type #

Methods

from :: Index -> Rep Index x #

to :: Rep Index x -> Index #

Read Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Show Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

NFData Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Methods

rnf :: Index -> () #

Eq Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Methods

(==) :: Index -> Index -> Bool #

(/=) :: Index -> Index -> Bool #

Hashable Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

Methods

hashWithSalt :: Int -> Index -> Int #

hash :: Index -> Int #

type Rep Index Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Index

type Rep Index = D1 ('MetaData "Index" "Amazonka.ResourceExplorer2.Types.Index" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "Index'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IndexType)))))

newIndex :: Index Source #

Create a value of Index 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:arn:Index', index_arn - The Amazon resource name (ARN) of the index.

$sel:region:Index', index_region - The Amazon Web Services Region in which the index exists.

$sel:type':Index', index_type - The type of index. It can be one of the following values:

  • LOCAL – The index contains information about resources from only the same Amazon Web Services Region.
  • AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

index_region :: Lens' Index (Maybe Text) Source #

The Amazon Web Services Region in which the index exists.

index_type :: Lens' Index (Maybe IndexType) Source #

The type of index. It can be one of the following values:

  • LOCAL – The index contains information about resources from only the same Amazon Web Services Region.
  • AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on.

Resource

data Resource Source #

A resource in Amazon Web Services that Amazon Web Services Resource Explorer has discovered, and for which it has stored information in the index of the Amazon Web Services Region that contains the resource.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
FromJSON Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Read Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

NFData Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Methods

rnf :: Resource -> () #

Eq Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Hashable Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

type Rep Resource Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.ResourceExplorer2.Types.Resource" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastReportedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "owningAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceProperty])) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newResource :: Resource Source #

Create a value of Resource 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:arn:Resource', resource_arn - The Amazon resource name (ARN) of the resource.

Resource, resource_lastReportedAt - The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

$sel:owningAccountId:Resource', resource_owningAccountId - The Amazon Web Services account that owns the resource.

$sel:properties:Resource', resource_properties - A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

$sel:region:Resource', resource_region - The Amazon Web Services Region in which the resource was created and exists.

$sel:resourceType:Resource', resource_resourceType - The type of the resource.

$sel:service:Resource', resource_service - The Amazon Web Service that owns the resource and is responsible for creating and updating it.

resource_lastReportedAt :: Lens' Resource (Maybe UTCTime) Source #

The date and time that Resource Explorer last queried this resource and updated the index with the latest information about the resource.

resource_owningAccountId :: Lens' Resource (Maybe Text) Source #

The Amazon Web Services account that owns the resource.

resource_properties :: Lens' Resource (Maybe [ResourceProperty]) Source #

A structure with additional type-specific details about the resource. These properties can be added by turning on integration between Resource Explorer and other Amazon Web Services services.

resource_region :: Lens' Resource (Maybe Text) Source #

The Amazon Web Services Region in which the resource was created and exists.

resource_resourceType :: Lens' Resource (Maybe Text) Source #

The type of the resource.

resource_service :: Lens' Resource (Maybe Text) Source #

The Amazon Web Service that owns the resource and is responsible for creating and updating it.

ResourceCount

data ResourceCount Source #

Information about the number of results that match the query. At this time, Amazon Web Services Resource Explorer doesn't count more than 1,000 matches for any query. This structure provides information about whether the query exceeded this limit.

This field is included in every page when you paginate the results.

See: newResourceCount smart constructor.

Constructors

ResourceCount' 

Fields

  • complete :: Maybe Bool

    Indicates whether the TotalResources value represents an exhaustive count of search results.

    • If True, it indicates that the search was exhaustive. Every resource that matches the query was counted.
    • If False, then the search reached the limit of 1,000 matching results, and stopped counting.
  • totalResources :: Maybe Integer

    The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.

Instances

Instances details
FromJSON ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

Generic ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

Associated Types

type Rep ResourceCount :: Type -> Type #

Read ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

Show ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

NFData ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

Methods

rnf :: ResourceCount -> () #

Eq ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

Hashable ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

type Rep ResourceCount Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceCount

type Rep ResourceCount = D1 ('MetaData "ResourceCount" "Amazonka.ResourceExplorer2.Types.ResourceCount" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "ResourceCount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "complete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "totalResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newResourceCount :: ResourceCount Source #

Create a value of ResourceCount 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:complete:ResourceCount', resourceCount_complete - Indicates whether the TotalResources value represents an exhaustive count of search results.

  • If True, it indicates that the search was exhaustive. Every resource that matches the query was counted.
  • If False, then the search reached the limit of 1,000 matching results, and stopped counting.

$sel:totalResources:ResourceCount', resourceCount_totalResources - The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.

resourceCount_complete :: Lens' ResourceCount (Maybe Bool) Source #

Indicates whether the TotalResources value represents an exhaustive count of search results.

  • If True, it indicates that the search was exhaustive. Every resource that matches the query was counted.
  • If False, then the search reached the limit of 1,000 matching results, and stopped counting.

resourceCount_totalResources :: Lens' ResourceCount (Maybe Integer) Source #

The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.

ResourceProperty

data ResourceProperty Source #

A structure that describes a property of a resource.

See: newResourceProperty smart constructor.

Constructors

ResourceProperty' 

Fields

  • data' :: Maybe Document

    Details about this property. The content of this field is a JSON object that varies based on the resource type.

  • lastReportedAt :: Maybe ISO8601

    The date and time that the information about this resource property was last updated.

  • name :: Maybe Text

    The name of this property of the resource.

Instances

Instances details
FromJSON ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Generic ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Associated Types

type Rep ResourceProperty :: Type -> Type #

Read ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Show ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

NFData ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Methods

rnf :: ResourceProperty -> () #

Eq ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

Hashable ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

type Rep ResourceProperty Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.ResourceProperty

type Rep ResourceProperty = D1 ('MetaData "ResourceProperty" "Amazonka.ResourceExplorer2.Types.ResourceProperty" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "ResourceProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Document)) :*: (S1 ('MetaSel ('Just "lastReportedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResourceProperty :: ResourceProperty Source #

Create a value of ResourceProperty 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:data':ResourceProperty', resourceProperty_data - Details about this property. The content of this field is a JSON object that varies based on the resource type.

$sel:lastReportedAt:ResourceProperty', resourceProperty_lastReportedAt - The date and time that the information about this resource property was last updated.

$sel:name:ResourceProperty', resourceProperty_name - The name of this property of the resource.

resourceProperty_data :: Lens' ResourceProperty (Maybe Document) Source #

Details about this property. The content of this field is a JSON object that varies based on the resource type.

resourceProperty_lastReportedAt :: Lens' ResourceProperty (Maybe UTCTime) Source #

The date and time that the information about this resource property was last updated.

resourceProperty_name :: Lens' ResourceProperty (Maybe Text) Source #

The name of this property of the resource.

SearchFilter

data SearchFilter Source #

A search filter defines which resources can be part of a search query result set.

See: newSearchFilter smart constructor.

Constructors

SearchFilter' 

Fields

  • filterString :: Text

    The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. For more details, see Search query syntax.

Instances

Instances details
FromJSON SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

ToJSON SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

Generic SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

Associated Types

type Rep SearchFilter :: Type -> Type #

Show SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

NFData SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

Methods

rnf :: SearchFilter -> () #

Eq SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

Hashable SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

type Rep SearchFilter Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SearchFilter

type Rep SearchFilter = D1 ('MetaData "SearchFilter" "Amazonka.ResourceExplorer2.Types.SearchFilter" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "SearchFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "filterString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newSearchFilter Source #

Create a value of SearchFilter 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:filterString:SearchFilter', searchFilter_filterString - The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. For more details, see Search query syntax.

searchFilter_filterString :: Lens' SearchFilter Text Source #

The string that contains the search keywords, prefixes, and operators to control the results that can be returned by a Search operation. For more details, see Search query syntax.

SupportedResourceType

data SupportedResourceType Source #

A structure that describes a resource type supported by Amazon Web Services Resource Explorer.

See: newSupportedResourceType smart constructor.

Constructors

SupportedResourceType' 

Fields

  • resourceType :: Maybe Text

    The unique identifier of the resource type.

  • service :: Maybe Text

    The Amazon Web Service that is associated with the resource type. This is the primary service that lets you create and interact with resources of this type.

Instances

Instances details
FromJSON SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

Generic SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

Associated Types

type Rep SupportedResourceType :: Type -> Type #

Read SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

Show SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

NFData SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

Methods

rnf :: SupportedResourceType -> () #

Eq SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

Hashable SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

type Rep SupportedResourceType Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.SupportedResourceType

type Rep SupportedResourceType = D1 ('MetaData "SupportedResourceType" "Amazonka.ResourceExplorer2.Types.SupportedResourceType" "amazonka-resource-explorer-v2-2.0-DYDynTzMYCcKX3QLWjH6Yt" 'False) (C1 ('MetaCons "SupportedResourceType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSupportedResourceType :: SupportedResourceType Source #

Create a value of SupportedResourceType 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:resourceType:SupportedResourceType', supportedResourceType_resourceType - The unique identifier of the resource type.

$sel:service:SupportedResourceType', supportedResourceType_service - The Amazon Web Service that is associated with the resource type. This is the primary service that lets you create and interact with resources of this type.

supportedResourceType_resourceType :: Lens' SupportedResourceType (Maybe Text) Source #

The unique identifier of the resource type.

supportedResourceType_service :: Lens' SupportedResourceType (Maybe Text) Source #

The Amazon Web Service that is associated with the resource type. This is the primary service that lets you create and interact with resources of this type.

View

data View Source #

A view is a structure that defines a set of filters that provide a view into the information in the Amazon Web Services Resource Explorer index. The filters specify which information from the index is visible to the users of the view. For example, you can specify filters that include only resources that are tagged with the key "ENV" and the value "DEVELOPMENT" in the results returned by this view. You could also create a second view that includes only resources that are tagged with "ENV" and "PRODUCTION".

See: newView smart constructor.

Constructors

View' 

Fields

Instances

Instances details
FromJSON View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

Generic View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

Associated Types

type Rep View :: Type -> Type #

Methods

from :: View -> Rep View x #

to :: Rep View x -> View #

Show View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

Methods

showsPrec :: Int -> View -> ShowS #

show :: View -> String #

showList :: [View] -> ShowS #

NFData View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

Methods

rnf :: View -> () #

Eq View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

Methods

(==) :: View -> View -> Bool #

(/=) :: View -> View -> Bool #

Hashable View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

Methods

hashWithSalt :: Int -> View -> Int #

hash :: View -> Int #

type Rep View Source # 
Instance details

Defined in Amazonka.ResourceExplorer2.Types.View

newView :: View Source #

Create a value of View 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:filters:View', view_filters - An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.

$sel:includedProperties:View', view_includedProperties - A structure that contains additional information about the view.

$sel:lastUpdatedAt:View', view_lastUpdatedAt - The date and time when this view was last modified.

$sel:owner:View', view_owner - The Amazon Web Services account that owns this view.

$sel:scope:View', view_scope - An Amazon resource name (ARN) of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.

If not specified, the value defaults to the Amazon Web Services account used to call this operation.

$sel:viewArn:View', view_viewArn - The Amazon resource name (ARN) of the view.

view_filters :: Lens' View (Maybe SearchFilter) Source #

An array of SearchFilter objects that specify which resources can be included in the results of queries made using this view.

view_includedProperties :: Lens' View (Maybe [IncludedProperty]) Source #

A structure that contains additional information about the view.

view_lastUpdatedAt :: Lens' View (Maybe UTCTime) Source #

The date and time when this view was last modified.

view_owner :: Lens' View (Maybe Text) Source #

The Amazon Web Services account that owns this view.

view_scope :: Lens' View (Maybe Text) Source #

An Amazon resource name (ARN) of an Amazon Web Services account, an organization, or an organizational unit (OU) that specifies whether this view includes resources from only the specified Amazon Web Services account, all accounts in the specified organization, or all accounts in the specified OU.

If not specified, the value defaults to the Amazon Web Services account used to call this operation.