amazonka-resourcegroupstagging-2.0: Amazon Resource Groups Tagging API 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.ResourceGroupsTagging.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-01-26 of the Amazon Resource Groups Tagging API SDK configuration.

Errors

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

The target of the operation is currently being modified by a different request. Try again later.

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

The request was denied because performing this operation violates a constraint.

Some of the reasons in the following list might not apply to this specific operation.

  • You must meet the prerequisites for using tag policies. For information, see Prerequisites and Permissions for Using Tag Policies in the Organizations User Guide.
  • You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) to integrate with Organizations For information, see EnableAWSServiceAccess.
  • You must have a tag policy attached to the organization root, an OU, or an account.

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

The request processing failed because of an unknown error, exception, or failure. You can retry the request.

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

This error indicates one of the following:

  • A parameter is missing.
  • A malformed string was supplied for the request parameter.
  • An out-of-range value was supplied for the request parameter.
  • The target ID is invalid, unsupported, or doesn't exist.
  • You can't access the Amazon S3 bucket for report storage. For more information, see Additional Requirements for Organization-wide Tag Compliance Reports in the Organizations User Guide.

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

A PaginationToken is valid for a maximum of 15 minutes. Your request was denied because the specified PaginationToken has expired.

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

The request was denied to limit the frequency of submitted requests.

GroupByAttribute

newtype GroupByAttribute Source #

Instances

Instances details
FromJSON GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

FromJSONKey GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToJSON GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToJSONKey GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToByteString GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToHeader GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToLog GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToQuery GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

FromText GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToText GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

FromXML GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToXML GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Generic GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Associated Types

type Rep GroupByAttribute :: Type -> Type #

Read GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Show GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

NFData GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Methods

rnf :: GroupByAttribute -> () #

Eq GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Ord GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Hashable GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

type Rep GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

type Rep GroupByAttribute = D1 ('MetaData "GroupByAttribute" "Amazonka.ResourceGroupsTagging.Types.GroupByAttribute" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'True) (C1 ('MetaCons "GroupByAttribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromGroupByAttribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ResourceErrorCode

newtype ResourceErrorCode Source #

Instances

Instances details
FromJSON ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

FromJSONKey ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToJSON ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToJSONKey ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToByteString ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToHeader ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToLog ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToQuery ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

FromText ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToText ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

FromXML ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToXML ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Generic ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Associated Types

type Rep ResourceErrorCode :: Type -> Type #

Read ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Show ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

NFData ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Methods

rnf :: ResourceErrorCode -> () #

Eq ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Ord ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Hashable ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

type Rep ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

type Rep ResourceErrorCode = D1 ('MetaData "ResourceErrorCode" "Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'True) (C1 ('MetaCons "ResourceErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TargetIdType

newtype TargetIdType Source #

Constructors

TargetIdType' 

Instances

Instances details
FromJSON TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

FromJSONKey TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToJSON TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToJSONKey TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToByteString TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToHeader TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToLog TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToQuery TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

FromText TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToText TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Methods

toText :: TargetIdType -> Text #

FromXML TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToXML TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Methods

toXML :: TargetIdType -> XML #

Generic TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Associated Types

type Rep TargetIdType :: Type -> Type #

Read TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Show TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

NFData TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Methods

rnf :: TargetIdType -> () #

Eq TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Ord TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Hashable TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

type Rep TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

type Rep TargetIdType = D1 ('MetaData "TargetIdType" "Amazonka.ResourceGroupsTagging.Types.TargetIdType" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'True) (C1 ('MetaCons "TargetIdType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTargetIdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ComplianceDetails

data ComplianceDetails Source #

Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.

See: newComplianceDetails smart constructor.

Constructors

ComplianceDetails' 

Fields

Instances

Instances details
FromJSON ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Generic ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Associated Types

type Rep ComplianceDetails :: Type -> Type #

Read ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Show ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

NFData ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Methods

rnf :: ComplianceDetails -> () #

Eq ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Hashable ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

type Rep ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

type Rep ComplianceDetails = D1 ('MetaData "ComplianceDetails" "Amazonka.ResourceGroupsTagging.Types.ComplianceDetails" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "ComplianceDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "complianceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "keysWithNoncompliantValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "noncompliantKeys") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newComplianceDetails :: ComplianceDetails Source #

Create a value of ComplianceDetails 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:complianceStatus:ComplianceDetails', complianceDetails_complianceStatus - Whether a resource is compliant with the effective tag policy.

$sel:keysWithNoncompliantValues:ComplianceDetails', complianceDetails_keysWithNoncompliantValues - These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.

$sel:noncompliantKeys:ComplianceDetails', complianceDetails_noncompliantKeys - These tag keys on the resource are noncompliant with the effective tag policy.

complianceDetails_complianceStatus :: Lens' ComplianceDetails (Maybe Bool) Source #

Whether a resource is compliant with the effective tag policy.

complianceDetails_keysWithNoncompliantValues :: Lens' ComplianceDetails (Maybe [Text]) Source #

These are keys defined in the effective policy that are on the resource with either incorrect case treatment or noncompliant values.

complianceDetails_noncompliantKeys :: Lens' ComplianceDetails (Maybe [Text]) Source #

These tag keys on the resource are noncompliant with the effective tag policy.

FailureInfo

data FailureInfo Source #

Information about the errors that are returned for each failed resource. This information can include InternalServiceException and InvalidParameterException errors. It can also include any valid error code returned by the Amazon Web Services service that hosts the resource that the ARN key represents.

The following are common error codes that you might receive from other Amazon Web Services services:

  • InternalServiceException – This can mean that the Resource Groups Tagging API didn't receive a response from another Amazon Web Services service. It can also mean that the resource type in the request is not supported by the Resource Groups Tagging API. In these cases, it's safe to retry the request and then call GetResources to verify the changes.
  • AccessDeniedException – This can mean that you need permission to call the tagging operations in the Amazon Web Services service that contains the resource. For example, to use the Resource Groups Tagging API to tag a Amazon CloudWatch alarm resource, you need permission to call both TagResources and TagResource in the CloudWatch API.

For more information on errors that are generated from other Amazon Web Services services, see the documentation for that service.

See: newFailureInfo smart constructor.

Constructors

FailureInfo' 

Fields

  • errorCode :: Maybe ResourceErrorCode

    The code of the common error. Valid values include InternalServiceException, InvalidParameterException, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.

  • errorMessage :: Maybe Text

    The message of the common error.

  • statusCode :: Maybe Int

    The HTTP status code of the common error.

Instances

Instances details
FromJSON FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Generic FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Associated Types

type Rep FailureInfo :: Type -> Type #

Read FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Show FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

NFData FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Methods

rnf :: FailureInfo -> () #

Eq FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Hashable FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

type Rep FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

type Rep FailureInfo = D1 ('MetaData "FailureInfo" "Amazonka.ResourceGroupsTagging.Types.FailureInfo" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "FailureInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newFailureInfo :: FailureInfo Source #

Create a value of FailureInfo 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:errorCode:FailureInfo', failureInfo_errorCode - The code of the common error. Valid values include InternalServiceException, InvalidParameterException, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.

$sel:errorMessage:FailureInfo', failureInfo_errorMessage - The message of the common error.

$sel:statusCode:FailureInfo', failureInfo_statusCode - The HTTP status code of the common error.

failureInfo_errorCode :: Lens' FailureInfo (Maybe ResourceErrorCode) Source #

The code of the common error. Valid values include InternalServiceException, InvalidParameterException, and any valid error code returned by the Amazon Web Services service that hosts the resource that you want to tag.

failureInfo_errorMessage :: Lens' FailureInfo (Maybe Text) Source #

The message of the common error.

failureInfo_statusCode :: Lens' FailureInfo (Maybe Int) Source #

The HTTP status code of the common error.

ResourceTagMapping

data ResourceTagMapping Source #

A list of resource ARNs and the tags (keys and values) that are associated with each.

See: newResourceTagMapping smart constructor.

Constructors

ResourceTagMapping' 

Fields

Instances

Instances details
FromJSON ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Generic ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Associated Types

type Rep ResourceTagMapping :: Type -> Type #

Read ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Show ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

NFData ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Methods

rnf :: ResourceTagMapping -> () #

Eq ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Hashable ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

type Rep ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

type Rep ResourceTagMapping = D1 ('MetaData "ResourceTagMapping" "Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "ResourceTagMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "complianceDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ComplianceDetails)) :*: (S1 ('MetaSel ('Just "resourceARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))))

newResourceTagMapping :: ResourceTagMapping Source #

Create a value of ResourceTagMapping 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:complianceDetails:ResourceTagMapping', resourceTagMapping_complianceDetails - Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.

$sel:resourceARN:ResourceTagMapping', resourceTagMapping_resourceARN - The ARN of the resource.

$sel:tags:ResourceTagMapping', resourceTagMapping_tags - The tags that have been applied to one or more Amazon Web Services resources.

resourceTagMapping_complianceDetails :: Lens' ResourceTagMapping (Maybe ComplianceDetails) Source #

Information that shows whether a resource is compliant with the effective tag policy, including details on any noncompliant tag keys.

resourceTagMapping_tags :: Lens' ResourceTagMapping (Maybe [Tag]) Source #

The tags that have been applied to one or more Amazon Web Services resources.

Summary

data Summary Source #

A count of noncompliant resources.

See: newSummary smart constructor.

Constructors

Summary' 

Fields

Instances

Instances details
FromJSON Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Generic Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Associated Types

type Rep Summary :: Type -> Type #

Methods

from :: Summary -> Rep Summary x #

to :: Rep Summary x -> Summary #

Read Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Show Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

NFData Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Methods

rnf :: Summary -> () #

Eq Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Methods

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

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

Hashable Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Methods

hashWithSalt :: Int -> Summary -> Int #

hash :: Summary -> Int #

type Rep Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

type Rep Summary = D1 ('MetaData "Summary" "Amazonka.ResourceGroupsTagging.Types.Summary" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "Summary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "nonCompliantResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "region") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetIdType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetIdType))))))

newSummary :: Summary Source #

Create a value of Summary 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:lastUpdated:Summary', summary_lastUpdated - The timestamp that shows when this summary was generated in this Region.

$sel:nonCompliantResources:Summary', summary_nonCompliantResources - The count of noncompliant resources.

$sel:region:Summary', summary_region - The Amazon Web Services Region that the summary applies to.

$sel:resourceType:Summary', summary_resourceType - The Amazon Web Services resource type.

$sel:targetId:Summary', summary_targetId - The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the Organizations ListRoots API.

$sel:targetIdType:Summary', summary_targetIdType - Whether the target is an account, an OU, or the organization root.

summary_lastUpdated :: Lens' Summary (Maybe Text) Source #

The timestamp that shows when this summary was generated in this Region.

summary_nonCompliantResources :: Lens' Summary (Maybe Integer) Source #

The count of noncompliant resources.

summary_region :: Lens' Summary (Maybe Text) Source #

The Amazon Web Services Region that the summary applies to.

summary_resourceType :: Lens' Summary (Maybe Text) Source #

The Amazon Web Services resource type.

summary_targetId :: Lens' Summary (Maybe Text) Source #

The account identifier or the root identifier of the organization. If you don't know the root ID, you can call the Organizations ListRoots API.

summary_targetIdType :: Lens' Summary (Maybe TargetIdType) Source #

Whether the target is an account, an OU, or the organization root.

Tag

data Tag Source #

The metadata that you apply to Amazon Web Services resources to help you categorize and organize them. Each tag consists of a key and a value, both of which you define. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

  • value :: Text

    One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ResourceGroupsTagging.Types.Tag" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

$sel:value:Tag', tag_value - One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

tag_key :: Lens' Tag Text Source #

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

tag_value :: Lens' Tag Text Source #

One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

TagFilter

data TagFilter Source #

A list of tags (keys and values) that are used to specify the associated resources.

See: newTagFilter smart constructor.

Constructors

TagFilter' 

Fields

  • key :: Maybe Text

    One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

  • values :: Maybe [Text]

    One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

Instances

Instances details
ToJSON TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Generic TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Associated Types

type Rep TagFilter :: Type -> Type #

Read TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Show TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

NFData TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Methods

rnf :: TagFilter -> () #

Eq TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Hashable TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

type Rep TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

type Rep TagFilter = D1 ('MetaData "TagFilter" "Amazonka.ResourceGroupsTagging.Types.TagFilter" "amazonka-resourcegroupstagging-2.0-BMdZcHlIh2ABktMFQEVTUn" 'False) (C1 ('MetaCons "TagFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

newTagFilter :: TagFilter Source #

Create a value of TagFilter 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:key:TagFilter', tagFilter_key - One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

$sel:values:TagFilter', tagFilter_values - One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.

tagFilter_key :: Lens' TagFilter (Maybe Text) Source #

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

tagFilter_values :: Lens' TagFilter (Maybe [Text]) Source #

One part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). The value can be empty or null.