libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging
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.ResourceGroupsTagging.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_InvalidParameterException :: AsError a => Getting (First ServiceError) 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 AWS Organizations User Guide.

_ConstraintViolationException :: AsError a => Getting (First ServiceError) 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 AWS Organizations User Guide.
  • You must enable the tag policies service principal (tagpolicies.tag.amazonaws.com) to integrate with AWS Organizations For information, see EnableAWSServiceAccess.
  • You must have a tag policy attached to the organization root, an OU, or an account.

_ThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_PaginationTokenExpiredException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

GroupByAttribute

newtype GroupByAttribute Source #

Instances

Instances details
Eq GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Ord GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Read GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Show 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 #

NFData GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

Methods

rnf :: GroupByAttribute -> () #

Hashable 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

FromJSON GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

FromJSONKey GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToLog GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToHeader GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

ToQuery 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

ToByteString 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

type Rep GroupByAttribute Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.GroupByAttribute

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

ResourceErrorCode

newtype ResourceErrorCode Source #

Instances

Instances details
Eq ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Ord ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Read ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Show 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 #

NFData ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

Methods

rnf :: ResourceErrorCode -> () #

Hashable 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

FromJSON ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

FromJSONKey ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToLog ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToHeader ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

ToQuery 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

ToByteString 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

type Rep ResourceErrorCode Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceErrorCode

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

TargetIdType

newtype TargetIdType Source #

Constructors

TargetIdType' 

Instances

Instances details
Eq TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Ord TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Read TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Show TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Generic TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Associated Types

type Rep TargetIdType :: Type -> Type #

NFData TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

Methods

rnf :: TargetIdType -> () #

Hashable 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

FromJSON TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

FromJSONKey TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToLog TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToHeader TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

ToQuery TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

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 #

ToByteString 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 #

type Rep TargetIdType Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TargetIdType

type Rep TargetIdType = D1 ('MetaData "TargetIdType" "Amazonka.ResourceGroupsTagging.Types.TargetIdType" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" '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
Eq ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Read ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Show 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 #

NFData ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

Methods

rnf :: ComplianceDetails -> () #

Hashable ComplianceDetails Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ComplianceDetails

FromJSON 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" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" 'False) (C1 ('MetaCons "ComplianceDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "keysWithNoncompliantValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "complianceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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: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:complianceStatus:ComplianceDetails', complianceDetails_complianceStatus - Whether a resource is compliant with the effective tag policy.

$sel:noncompliantKeys:ComplianceDetails', complianceDetails_noncompliantKeys - These tag keys on the resource are noncompliant 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_complianceStatus :: Lens' ComplianceDetails (Maybe Bool) Source #

Whether a resource is compliant with the effective tag policy.

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 AWS service that hosts the resource that the ARN key represents.

The following are common error codes that you might receive from other AWS services:

  • InternalServiceException – This can mean that the Resource Groups Tagging API didn't receive a response from another AWS service. It can also mean the 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 calling tagging operations in the AWS service that contains the resource. For example, to use the Resource Groups Tagging API to tag a CloudWatch alarm resource, you need permission to call TagResources and TagResource in the CloudWatch API.

For more information on errors that are generated from other AWS 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 AWS 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
Eq FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Read FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Show 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 #

NFData FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

Methods

rnf :: FailureInfo -> () #

Hashable FailureInfo Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.FailureInfo

FromJSON 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" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" '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 AWS 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 AWS 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
Eq ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Read ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Show 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 #

NFData ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

Methods

rnf :: ResourceTagMapping -> () #

Hashable ResourceTagMapping Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.ResourceTagMapping

FromJSON 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" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" '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 AWS 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 AWS resources.

Summary

data Summary Source #

A count of noncompliant resources.

See: newSummary smart constructor.

Constructors

Summary' 

Fields

Instances

Instances details
Eq Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Methods

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

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

Read Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Show 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 #

NFData Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Methods

rnf :: Summary -> () #

Hashable Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

Methods

hashWithSalt :: Int -> Summary -> Int #

hash :: Summary -> Int #

FromJSON Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

type Rep Summary Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Summary

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

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: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 AWS Organizations ListRoots API.

$sel:lastUpdated:Summary', summary_lastUpdated - The timestamp that shows when this summary was generated in this Region.

$sel:resourceType:Summary', summary_resourceType - The AWS resource type.

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

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

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

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 AWS Organizations ListRoots API.

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

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

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

The AWS resource type.

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

The count of noncompliant resources.

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

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

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

The AWS Region that the summary applies to.

Tag

data Tag Source #

The metadata that you apply to AWS 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 AWS Resources in the AWS 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
Eq Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

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

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

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

FromJSON Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.ResourceGroupsTagging.Types.Tag" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" '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

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

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

Instances

Instances details
Eq TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Read TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Show 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 #

NFData TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

Methods

rnf :: TagFilter -> () #

Hashable TagFilter Source # 
Instance details

Defined in Amazonka.ResourceGroupsTagging.Types.TagFilter

ToJSON 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" "libZSservicesZSamazonka-resourcegroupstaggingZSamazonka-resourcegroupstagging" 'False) (C1 ('MetaCons "TagFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "key") '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: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.

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

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.

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.