| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDB.DescribeContributorInsights
Description
Returns information about contributor insights, for a given table or global secondary index.
Synopsis
- data DescribeContributorInsights = DescribeContributorInsights' {}
- newDescribeContributorInsights :: Text -> DescribeContributorInsights
- describeContributorInsights_indexName :: Lens' DescribeContributorInsights (Maybe Text)
- describeContributorInsights_tableName :: Lens' DescribeContributorInsights Text
- data DescribeContributorInsightsResponse = DescribeContributorInsightsResponse' {}
- newDescribeContributorInsightsResponse :: Int -> DescribeContributorInsightsResponse
- describeContributorInsightsResponse_contributorInsightsRuleList :: Lens' DescribeContributorInsightsResponse (Maybe [Text])
- describeContributorInsightsResponse_contributorInsightsStatus :: Lens' DescribeContributorInsightsResponse (Maybe ContributorInsightsStatus)
- describeContributorInsightsResponse_failureException :: Lens' DescribeContributorInsightsResponse (Maybe FailureException)
- describeContributorInsightsResponse_indexName :: Lens' DescribeContributorInsightsResponse (Maybe Text)
- describeContributorInsightsResponse_lastUpdateDateTime :: Lens' DescribeContributorInsightsResponse (Maybe UTCTime)
- describeContributorInsightsResponse_tableName :: Lens' DescribeContributorInsightsResponse (Maybe Text)
- describeContributorInsightsResponse_httpStatus :: Lens' DescribeContributorInsightsResponse Int
Creating a Request
data DescribeContributorInsights Source #
See: newDescribeContributorInsights smart constructor.
Constructors
| DescribeContributorInsights' | |
Instances
newDescribeContributorInsights Source #
Arguments
| :: Text | |
| -> DescribeContributorInsights |
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.
describeContributorInsights_tableName :: Lens' DescribeContributorInsights Text Source #
The name of the table to describe.
Destructuring the Response
data DescribeContributorInsightsResponse Source #
See: newDescribeContributorInsightsResponse smart constructor.
Constructors
| DescribeContributorInsightsResponse' | |
Fields
| |
Instances
newDescribeContributorInsightsResponse Source #
Arguments
| :: Int | |
| -> DescribeContributorInsightsResponse |
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_contributorInsightsRuleList :: Lens' DescribeContributorInsightsResponse (Maybe [Text]) Source #
List of names of the associated contributor insights rules.
describeContributorInsightsResponse_contributorInsightsStatus :: Lens' DescribeContributorInsightsResponse (Maybe ContributorInsightsStatus) Source #
Current status of contributor insights.
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.
describeContributorInsightsResponse_indexName :: Lens' DescribeContributorInsightsResponse (Maybe Text) Source #
The name of the global secondary index being described.
describeContributorInsightsResponse_lastUpdateDateTime :: Lens' DescribeContributorInsightsResponse (Maybe UTCTime) Source #
Timestamp of the last time the status was changed.
describeContributorInsightsResponse_tableName :: Lens' DescribeContributorInsightsResponse (Maybe Text) Source #
The name of the table being described.
describeContributorInsightsResponse_httpStatus :: Lens' DescribeContributorInsightsResponse Int Source #
The response's http status code.