amazonka-dynamodb-2.0: Amazon DynamoDB 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.DynamoDB.DescribeContributorInsights

Description

Returns information about contributor insights, for a given table or global secondary index.

Synopsis

Creating a Request

data DescribeContributorInsights Source #

See: newDescribeContributorInsights smart constructor.

Constructors

DescribeContributorInsights' 

Fields

Instances

Instances details
ToJSON DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

ToHeaders DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

ToPath DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

ToQuery DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

AWSRequest DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Generic DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Associated Types

type Rep DescribeContributorInsights :: Type -> Type #

Read DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Show DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

NFData DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Eq DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Hashable DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

type AWSResponse DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

type Rep DescribeContributorInsights Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

type Rep DescribeContributorInsights = D1 ('MetaData "DescribeContributorInsights" "Amazonka.DynamoDB.DescribeContributorInsights" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "DescribeContributorInsights'" 'PrefixI 'True) (S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeContributorInsights Source #

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

DescribeContributorInsights, describeContributorInsights_indexName - The name of the global secondary index to describe, if applicable.

DescribeContributorInsights, describeContributorInsights_tableName - The name of the table to describe.

Request Lenses

describeContributorInsights_indexName :: Lens' DescribeContributorInsights (Maybe Text) Source #

The name of the global secondary index to describe, if applicable.

Destructuring the Response

data DescribeContributorInsightsResponse Source #

Constructors

DescribeContributorInsightsResponse' 

Fields

  • contributorInsightsRuleList :: Maybe [Text]

    List of names of the associated contributor insights rules.

  • contributorInsightsStatus :: Maybe ContributorInsightsStatus

    Current status of contributor insights.

  • failureException :: Maybe FailureException

    Returns information about the last failure that was encountered.

    The most common exceptions for a FAILED status are:

    • LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.
    • AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.
    • AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.
    • InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.
  • indexName :: Maybe Text

    The name of the global secondary index being described.

  • lastUpdateDateTime :: Maybe POSIX

    Timestamp of the last time the status was changed.

  • tableName :: Maybe Text

    The name of the table being described.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeContributorInsightsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Read DescribeContributorInsightsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Show DescribeContributorInsightsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

NFData DescribeContributorInsightsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

Eq DescribeContributorInsightsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

type Rep DescribeContributorInsightsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.DescribeContributorInsights

type Rep DescribeContributorInsightsResponse = D1 ('MetaData "DescribeContributorInsightsResponse" "Amazonka.DynamoDB.DescribeContributorInsights" "amazonka-dynamodb-2.0-GNxlseyeFiu302JKQwQrUS" 'False) (C1 ('MetaCons "DescribeContributorInsightsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contributorInsightsRuleList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "contributorInsightsStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContributorInsightsStatus)) :*: S1 ('MetaSel ('Just "failureException") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FailureException)))) :*: ((S1 ('MetaSel ('Just "indexName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdateDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDescribeContributorInsightsResponse Source #

Create a value of DescribeContributorInsightsResponse 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:contributorInsightsRuleList:DescribeContributorInsightsResponse', describeContributorInsightsResponse_contributorInsightsRuleList - List of names of the associated contributor insights rules.

DescribeContributorInsightsResponse, describeContributorInsightsResponse_contributorInsightsStatus - Current status of contributor insights.

$sel:failureException:DescribeContributorInsightsResponse', describeContributorInsightsResponse_failureException - Returns information about the last failure that was encountered.

The most common exceptions for a FAILED status are:

  • LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.
  • AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.
  • AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.
  • InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.

DescribeContributorInsights, describeContributorInsightsResponse_indexName - The name of the global secondary index being described.

DescribeContributorInsightsResponse, describeContributorInsightsResponse_lastUpdateDateTime - Timestamp of the last time the status was changed.

DescribeContributorInsights, describeContributorInsightsResponse_tableName - The name of the table being described.

$sel:httpStatus:DescribeContributorInsightsResponse', describeContributorInsightsResponse_httpStatus - The response's http status code.

Response Lenses

describeContributorInsightsResponse_failureException :: Lens' DescribeContributorInsightsResponse (Maybe FailureException) Source #

Returns information about the last failure that was encountered.

The most common exceptions for a FAILED status are:

  • LimitExceededException - Per-account Amazon CloudWatch Contributor Insights rule limit reached. Please disable Contributor Insights for other tables/indexes OR disable Contributor Insights rules before retrying.
  • AccessDeniedException - Amazon CloudWatch Contributor Insights rules cannot be modified due to insufficient permissions.
  • AccessDeniedException - Failed to create service-linked role for Contributor Insights due to insufficient permissions.
  • InternalServerError - Failed to create Amazon CloudWatch Contributor Insights rules. Please retry request.