Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_failureException :: Lens' DescribeContributorInsightsResponse (Maybe FailureException)
- describeContributorInsightsResponse_contributorInsightsStatus :: Lens' DescribeContributorInsightsResponse (Maybe ContributorInsightsStatus)
- describeContributorInsightsResponse_lastUpdateDateTime :: Lens' DescribeContributorInsightsResponse (Maybe UTCTime)
- describeContributorInsightsResponse_tableName :: Lens' DescribeContributorInsightsResponse (Maybe Text)
- describeContributorInsightsResponse_indexName :: Lens' DescribeContributorInsightsResponse (Maybe Text)
- describeContributorInsightsResponse_httpStatus :: Lens' DescribeContributorInsightsResponse Int
Creating a Request
data DescribeContributorInsights Source #
See: newDescribeContributorInsights
smart constructor.
Instances
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:
$sel:indexName:DescribeContributorInsights'
, describeContributorInsights_indexName
- The name of the global secondary index to describe, if applicable.
$sel:tableName: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.
DescribeContributorInsightsResponse' | |
|
Instances
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 Alpine rules.
$sel:failureException:DescribeContributorInsightsResponse'
, describeContributorInsightsResponse_failureException
- Returns information about the last failure that 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.
$sel:contributorInsightsStatus:DescribeContributorInsightsResponse'
, describeContributorInsightsResponse_contributorInsightsStatus
- Current Status contributor insights.
$sel:lastUpdateDateTime:DescribeContributorInsightsResponse'
, describeContributorInsightsResponse_lastUpdateDateTime
- Timestamp of the last time the status was changed.
$sel:tableName:DescribeContributorInsights'
, describeContributorInsightsResponse_tableName
- The name of the table being described.
$sel:indexName:DescribeContributorInsights'
, describeContributorInsightsResponse_indexName
- The name of the global secondary index 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 Alpine rules.
describeContributorInsightsResponse_failureException :: Lens' DescribeContributorInsightsResponse (Maybe FailureException) Source #
Returns information about the last failure that 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_contributorInsightsStatus :: Lens' DescribeContributorInsightsResponse (Maybe ContributorInsightsStatus) Source #
Current Status contributor insights.
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_indexName :: Lens' DescribeContributorInsightsResponse (Maybe Text) Source #
The name of the global secondary index being described.
describeContributorInsightsResponse_httpStatus :: Lens' DescribeContributorInsightsResponse Int Source #
The response's http status code.