Skip to content

Commit

Permalink
Regenerating amazonka-config from latest service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Nov 29, 2016
1 parent 388099f commit 84dda25
Show file tree
Hide file tree
Showing 19 changed files with 155 additions and 40 deletions.
6 changes: 5 additions & 1 deletion amazonka-config/gen/Network/AWS/Config/DeleteConfigRule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'deleteConfigRule' smart constructor.
-- |
--
--
--
-- /See:/ 'deleteConfigRule' smart constructor.
newtype DeleteConfigRule = DeleteConfigRule'
{ _dcrConfigRuleName :: Text
} deriving (Eq,Read,Show,Data,Typeable,Generic)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'deleteEvaluationResults' smart constructor.
-- |
--
--
--
-- /See:/ 'deleteEvaluationResults' smart constructor.
newtype DeleteEvaluationResults = DeleteEvaluationResults'
{ _derConfigRuleName :: Text
} deriving (Eq,Read,Show,Data,Typeable,Generic)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@
-- Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.
--
--
-- * Notification of starting the delivery. * Notification of delivery completed, if the delivery was successfully completed. * Notification of delivery failure, if the delivery failed to complete.
-- * Notification of starting the delivery.
--
-- * Notification of delivery completed, if the delivery was successfully completed.
--
-- * Notification of delivery failure, if the delivery failed to complete.
--
--
--
module Network.AWS.Config.DeliverConfigSnapshot
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
--
-- If AWS Config has no current evaluation results for the rule, it returns @INSUFFICIENT_DATA@ . This result might indicate one of the following conditions:
--
-- * AWS Config has never invoked an evaluation for the rule. To check whether it has, use the @DescribeConfigRuleEvaluationStatus@ action to get the @LastSuccessfulInvocationTime@ and @LastFailedInvocationTime@ . * The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the @config:PutEvaluations@ permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the @config:PutEvaluations@ permission. * The rule's AWS Lambda function has returned @NOT_APPLICABLE@ for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
-- * AWS Config has never invoked an evaluation for the rule. To check whether it has, use the @DescribeConfigRuleEvaluationStatus@ action to get the @LastSuccessfulInvocationTime@ and @LastFailedInvocationTime@ .
--
-- * The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the @config:PutEvaluations@ permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the @config:PutEvaluations@ permission.
--
-- * The rule's AWS Lambda function has returned @NOT_APPLICABLE@ for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
--
--
--
module Network.AWS.Config.DescribeComplianceByConfigRule
(
Expand Down Expand Up @@ -53,7 +59,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'describeComplianceByConfigRule' smart constructor.
-- |
--
--
--
-- /See:/ 'describeComplianceByConfigRule' smart constructor.
data DescribeComplianceByConfigRule = DescribeComplianceByConfigRule'
{ _dcbcrConfigRuleNames :: !(Maybe [Text])
, _dcbcrComplianceTypes :: !(Maybe [ComplianceType])
Expand Down Expand Up @@ -132,7 +142,11 @@ instance ToPath DescribeComplianceByConfigRule where
instance ToQuery DescribeComplianceByConfigRule where
toQuery = const mempty

-- | /See:/ 'describeComplianceByConfigRuleResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'describeComplianceByConfigRuleResponse' smart constructor.
data DescribeComplianceByConfigRuleResponse = DescribeComplianceByConfigRuleResponse'
{ _dcbcrrsComplianceByConfigRules :: !(Maybe [ComplianceByConfigRule])
, _dcbcrrsNextToken :: !(Maybe Text)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
--
-- If AWS Config has no current evaluation results for the resource, it returns @INSUFFICIENT_DATA@ . This result might indicate one of the following conditions about the rules that evaluate the resource:
--
-- * AWS Config has never invoked an evaluation for the rule. To check whether it has, use the @DescribeConfigRuleEvaluationStatus@ action to get the @LastSuccessfulInvocationTime@ and @LastFailedInvocationTime@ . * The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the @config:PutEvaluations@ permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the @config:PutEvaluations@ permission. * The rule's AWS Lambda function has returned @NOT_APPLICABLE@ for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
-- * AWS Config has never invoked an evaluation for the rule. To check whether it has, use the @DescribeConfigRuleEvaluationStatus@ action to get the @LastSuccessfulInvocationTime@ and @LastFailedInvocationTime@ .
--
-- * The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the @config:PutEvaluations@ permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the @config:PutEvaluations@ permission.
--
-- * The rule's AWS Lambda function has returned @NOT_APPLICABLE@ for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
--
--
--
module Network.AWS.Config.DescribeComplianceByResource
(
Expand Down Expand Up @@ -55,7 +61,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'describeComplianceByResource' smart constructor.
-- |
--
--
--
-- /See:/ 'describeComplianceByResource' smart constructor.
data DescribeComplianceByResource = DescribeComplianceByResource'
{ _dcbrResourceId :: !(Maybe Text)
, _dcbrResourceType :: !(Maybe Text)
Expand Down Expand Up @@ -151,7 +161,11 @@ instance ToPath DescribeComplianceByResource where
instance ToQuery DescribeComplianceByResource where
toQuery = const mempty

-- | /See:/ 'describeComplianceByResourceResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'describeComplianceByResourceResponse' smart constructor.
data DescribeComplianceByResourceResponse = DescribeComplianceByResourceResponse'
{ _dcbrrsComplianceByResources :: !(Maybe [ComplianceByResource])
, _dcbrrsNextToken :: !(Maybe Text)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'describeConfigRuleEvaluationStatus' smart constructor.
-- |
--
--
--
-- /See:/ 'describeConfigRuleEvaluationStatus' smart constructor.
newtype DescribeConfigRuleEvaluationStatus = DescribeConfigRuleEvaluationStatus'
{ _dcresConfigRuleNames :: Maybe [Text]
} deriving (Eq,Read,Show,Data,Typeable,Generic)
Expand Down Expand Up @@ -107,7 +111,11 @@ instance ToQuery DescribeConfigRuleEvaluationStatus
where
toQuery = const mempty

-- | /See:/ 'describeConfigRuleEvaluationStatusResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'describeConfigRuleEvaluationStatusResponse' smart constructor.
data DescribeConfigRuleEvaluationStatusResponse = DescribeConfigRuleEvaluationStatusResponse'
{ _dcresrsConfigRulesEvaluationStatus :: !(Maybe [ConfigRuleEvaluationStatus])
, _dcresrsResponseStatus :: !Int
Expand Down
12 changes: 10 additions & 2 deletions amazonka-config/gen/Network/AWS/Config/DescribeConfigRules.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'describeConfigRules' smart constructor.
-- |
--
--
--
-- /See:/ 'describeConfigRules' smart constructor.
data DescribeConfigRules = DescribeConfigRules'
{ _dcrConfigRuleNames :: !(Maybe [Text])
, _dcrNextToken :: !(Maybe Text)
Expand Down Expand Up @@ -114,7 +118,11 @@ instance ToPath DescribeConfigRules where
instance ToQuery DescribeConfigRules where
toQuery = const mempty

-- | /See:/ 'describeConfigRulesResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'describeConfigRulesResponse' smart constructor.
data DescribeConfigRulesResponse = DescribeConfigRulesResponse'
{ _dcrrsConfigRules :: !(Maybe [ConfigRule])
, _dcrrsNextToken :: !(Maybe Text)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Returns the name of one or more specified configuration recorders. If the recorder name is not specified, this action returns the names of all the configuration recorders associated with the account.
-- Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account.
--
--
module Network.AWS.Config.DescribeConfigurationRecorders
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'getComplianceDetailsByConfigRule' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceDetailsByConfigRule' smart constructor.
data GetComplianceDetailsByConfigRule = GetComplianceDetailsByConfigRule'
{ _gcdbcrComplianceTypes :: !(Maybe [ComplianceType])
, _gcdbcrNextToken :: !(Maybe Text)
Expand Down Expand Up @@ -140,7 +144,11 @@ instance ToQuery GetComplianceDetailsByConfigRule
where
toQuery = const mempty

-- | /See:/ 'getComplianceDetailsByConfigRuleResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceDetailsByConfigRuleResponse' smart constructor.
data GetComplianceDetailsByConfigRuleResponse = GetComplianceDetailsByConfigRuleResponse'
{ _gcdbcrrsEvaluationResults :: !(Maybe [EvaluationResult])
, _gcdbcrrsNextToken :: !(Maybe Text)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'getComplianceDetailsByResource' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceDetailsByResource' smart constructor.
data GetComplianceDetailsByResource = GetComplianceDetailsByResource'
{ _gcdbrComplianceTypes :: !(Maybe [ComplianceType])
, _gcdbrNextToken :: !(Maybe Text)
Expand Down Expand Up @@ -138,7 +142,11 @@ instance ToPath GetComplianceDetailsByResource where
instance ToQuery GetComplianceDetailsByResource where
toQuery = const mempty

-- | /See:/ 'getComplianceDetailsByResourceResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceDetailsByResourceResponse' smart constructor.
data GetComplianceDetailsByResourceResponse = GetComplianceDetailsByResourceResponse'
{ _gcdbrrsEvaluationResults :: !(Maybe [EvaluationResult])
, _gcdbrrsNextToken :: !(Maybe Text)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ instance ToQuery GetComplianceSummaryByConfigRule
where
toQuery = const mempty

-- | /See:/ 'getComplianceSummaryByConfigRuleResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceSummaryByConfigRuleResponse' smart constructor.
data GetComplianceSummaryByConfigRuleResponse = GetComplianceSummaryByConfigRuleResponse'
{ _gcsbcrrsComplianceSummary :: !(Maybe ComplianceSummary)
, _gcsbcrrsResponseStatus :: !Int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'getComplianceSummaryByResourceType' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceSummaryByResourceType' smart constructor.
newtype GetComplianceSummaryByResourceType = GetComplianceSummaryByResourceType'
{ _gcsbrtResourceTypes :: Maybe [Text]
} deriving (Eq,Read,Show,Data,Typeable,Generic)
Expand Down Expand Up @@ -108,7 +112,11 @@ instance ToQuery GetComplianceSummaryByResourceType
where
toQuery = const mempty

-- | /See:/ 'getComplianceSummaryByResourceTypeResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'getComplianceSummaryByResourceTypeResponse' smart constructor.
data GetComplianceSummaryByResourceTypeResponse = GetComplianceSummaryByResourceTypeResponse'
{ _gcsbrtrsComplianceSummariesByResourceType :: !(Maybe [ComplianceSummaryByResourceType])
, _gcsbrtrsResponseStatus :: !Int
Expand Down
12 changes: 10 additions & 2 deletions amazonka-config/gen/Network/AWS/Config/ListDiscoveredResources.hs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'listDiscoveredResources' smart constructor.
-- |
--
--
--
-- /See:/ 'listDiscoveredResources' smart constructor.
data ListDiscoveredResources = ListDiscoveredResources'
{ _ldrResourceIds :: !(Maybe [Text])
, _ldrResourceName :: !(Maybe Text)
Expand Down Expand Up @@ -158,7 +162,11 @@ instance ToPath ListDiscoveredResources where
instance ToQuery ListDiscoveredResources where
toQuery = const mempty

-- | /See:/ 'listDiscoveredResourcesResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'listDiscoveredResourcesResponse' smart constructor.
data ListDiscoveredResourcesResponse = ListDiscoveredResourcesResponse'
{ _ldrrsNextToken :: !(Maybe Text)
, _ldrrsResourceIdentifiers :: !(Maybe [ResourceIdentifier])
Expand Down
10 changes: 6 additions & 4 deletions amazonka-config/gen/Network/AWS/Config/PutConfigRule.hs
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@
--
-- For any new rule that you add, specify the @ConfigRuleName@ in the @ConfigRule@ object. Do not specify the @ConfigRuleArn@ or the @ConfigRuleId@ . These values are generated by AWS Config for new rules.
--
-- If you are updating a rule that you have added previously, specify the rule's @ConfigRuleName@ , @ConfigRuleId@ , or @ConfigRuleArn@ in the @ConfigRule@ data type that you use in this request.
-- If you are updating a rule that you added previously, you can specify the rule by @ConfigRuleName@ , @ConfigRuleId@ , or @ConfigRuleArn@ in the @ConfigRule@ data type that you use in this request.
--
-- The maximum number of rules that AWS Config supports is 25.
--
-- For more information about developing and using AWS Config rules, see <http://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html Evaluating AWS Resource Configurations with AWS Config> in the /AWS Config Developer Guide/ .
--
--
--
module Network.AWS.Config.PutConfigRule
(
-- * Creating a Request
Expand All @@ -57,7 +55,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'putConfigRule' smart constructor.
-- |
--
--
--
-- /See:/ 'putConfigRule' smart constructor.
newtype PutConfigRule = PutConfigRule'
{ _pcrConfigRule :: ConfigRule
} deriving (Eq,Read,Show,Data,Typeable,Generic)
Expand Down
12 changes: 10 additions & 2 deletions amazonka-config/gen/Network/AWS/Config/PutEvaluations.hs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'putEvaluations' smart constructor.
-- |
--
--
--
-- /See:/ 'putEvaluations' smart constructor.
data PutEvaluations = PutEvaluations'
{ _peEvaluations :: !(Maybe [Evaluation])
, _peResultToken :: !Text
Expand Down Expand Up @@ -111,7 +115,11 @@ instance ToPath PutEvaluations where
instance ToQuery PutEvaluations where
toQuery = const mempty

-- | /See:/ 'putEvaluationsResponse' smart constructor.
-- |
--
--
--
-- /See:/ 'putEvaluationsResponse' smart constructor.
data PutEvaluationsResponse = PutEvaluationsResponse'
{ _persFailedEvaluations :: !(Maybe [Evaluation])
, _persResponseStatus :: !Int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ import Network.AWS.Prelude
import Network.AWS.Request
import Network.AWS.Response

-- | /See:/ 'startConfigRulesEvaluation' smart constructor.
-- |
--
--
--
-- /See:/ 'startConfigRulesEvaluation' smart constructor.
newtype StartConfigRulesEvaluation = StartConfigRulesEvaluation'
{ _screConfigRuleNames :: Maybe (List1 Text)
} deriving (Eq,Read,Show,Data,Typeable,Generic)
Expand Down
6 changes: 5 additions & 1 deletion amazonka-config/gen/Network/AWS/Config/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,11 @@ _NoSuchConfigRuleException =
-- | Indicates one of the following errors:
--
--
-- * The rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action. * The AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
-- * The rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.
--
-- * The AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
--
--
--
_InsufficientPermissionsException :: AsError a => Getting (First ServiceError) a ServiceError
_InsufficientPermissionsException =
Expand Down
Loading

0 comments on commit 84dda25

Please sign in to comment.